home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Plugin Icon in Configuration Dialog
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="k3ks" data-source="post: 734835" data-attributes="member: 105714"><p>Hi,</p><p>I'm fairly new to MP plugin development and I just want to try out some things before I start to get real. I've been trying to add an icon for my plugin that is shown in the plugin-tab of MP Configuration. I assumed it should be something like this:</p><p></p><p>namespace MediaPortal.Plugins.MyPlugin.MainGUI</p><p>{</p><p> [PluginIcons("MediaPortal.Plugins.MyPlugin.Resources.Images.myPlugin.png",</p><p> "MediaPortal.Plugins.MyPlugin.Resources.Images.myPlugin_fade.png")]</p><p> public class MainWindow : GUIWindow, ISetupForm</p><p> {</p><p> ...</p><p></p><p>I've included the resources in the right places, no compiling errors but the icon just doesn't show up. What do I have to do? Is this even the right way?</p><p></p><p>Thanks for your help</p><p></p><p>k3ks</p></blockquote><p></p>
[QUOTE="k3ks, post: 734835, member: 105714"] Hi, I'm fairly new to MP plugin development and I just want to try out some things before I start to get real. I've been trying to add an icon for my plugin that is shown in the plugin-tab of MP Configuration. I assumed it should be something like this: namespace MediaPortal.Plugins.MyPlugin.MainGUI { [PluginIcons("MediaPortal.Plugins.MyPlugin.Resources.Images.myPlugin.png", "MediaPortal.Plugins.MyPlugin.Resources.Images.myPlugin_fade.png")] public class MainWindow : GUIWindow, ISetupForm { ... I've included the resources in the right places, no compiling errors but the icon just doesn't show up. What do I have to do? Is this even the right way? Thanks for your help k3ks [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Plugin Icon in Configuration Dialog
Contact us
RSS
Top
Bottom