- November 28, 2011
- 190
- 244
- 59
- Home Country
- Italy
- Thread starter
- Moderator
- #221
So is there a way to determine the string that plugins require the .png files to be named like ?
...in wiki pages for plugins developers I've found this:
69 ''' If the plugin should have it's own button on the main menu of MediaPortal then it
70 ''' should return true to this method, otherwise if it should not be on home
71 ''' it should return false
72 ''' </summary>
73 ''' <param name="strButtonText">text the button should have</param>
74 ''' <param name="strButtonImage">image for the button, or empty for default</param>
75 ''' <param name="strButtonImageFocus">image for the button, or empty for default</param>
76 ''' <param name="strPictureImage">subpicture for the button or empty for none</param>
77 ''' <returns>true : plugin needs it's own button on home
78 ''' false : plugin does not need it's own button on home</returns>
79 Public Function GetHome(ByRef strButtonText As String, _
80 ByRef strButtonImage As String, _
81 ByRef strButtonImageFocus As String, _
82 ByRef strPictureImage As String) As Boolean
83 strButtonText = String.Empty
84 strButtonImage = String.Empty
85 strButtonImageFocus = String.Empty
86 strPictureImage = String.Empty
87 Return false
70 ''' should return true to this method, otherwise if it should not be on home
71 ''' it should return false
72 ''' </summary>
73 ''' <param name="strButtonText">text the button should have</param>
74 ''' <param name="strButtonImage">image for the button, or empty for default</param>
75 ''' <param name="strButtonImageFocus">image for the button, or empty for default</param>
76 ''' <param name="strPictureImage">subpicture for the button or empty for none</param>
77 ''' <returns>true : plugin needs it's own button on home
78 ''' false : plugin does not need it's own button on home</returns>
79 Public Function GetHome(ByRef strButtonText As String, _
80 ByRef strButtonImage As String, _
81 ByRef strButtonImageFocus As String, _
82 ByRef strPictureImage As String) As Boolean
83 strButtonText = String.Empty
84 strButtonImage = String.Empty
85 strButtonImageFocus = String.Empty
86 strPictureImage = String.Empty
87 Return false
Cheers