2007-07-08, 12:22 AM
When I've got some more time available, I'll post more info for you guys on developing 1.x plugins, some tutorials etc, but in the mean time I wanted to get you some samples to look at.
For those that have developed plugins in the past, 1.x plugin is basically the same in that it implements the old IMenuTask interface, but in addition it also implements the new IUiTask interface. This IUiTask interface has a new method called GetRenderList() which is used to get a list of images and their location on the screen that make up the picture.
There some new base classes and control that really help simplify plugin development. These base classes are used in the first two samples below, and make it easy to do plugins that have buttons + list (for example Video Library, Recordings etc), or buttons + data (for example Weather plugin etc).
See attached
1) simple Hello World plugin, using the BaseButtonListUiTask base to show a list of button on the left, list view on the right, much like the Video Library, Recording screen etc.
2) Weather plugin skeleton. This was a skeleton I supplied to Jeff, gives the basic layout of the weather plugin... a few buttons on the left, data one the right, simple popup.
3) DVD Ripper plugin. This was a fully functioning DVD Ripper plugin using the new GUI.
4) Tile plugin, showing some advanced animation techniques, similar to those seen in Vista MCE.
EDIT: attachments removed, but you can access them here: http://gbpvr.com/pmwiki/pmwiki.php/Devel...odeSamples
For those that have developed plugins in the past, 1.x plugin is basically the same in that it implements the old IMenuTask interface, but in addition it also implements the new IUiTask interface. This IUiTask interface has a new method called GetRenderList() which is used to get a list of images and their location on the screen that make up the picture.
There some new base classes and control that really help simplify plugin development. These base classes are used in the first two samples below, and make it easy to do plugins that have buttons + list (for example Video Library, Recordings etc), or buttons + data (for example Weather plugin etc).
See attached
1) simple Hello World plugin, using the BaseButtonListUiTask base to show a list of button on the left, list view on the right, much like the Video Library, Recording screen etc.
2) Weather plugin skeleton. This was a skeleton I supplied to Jeff, gives the basic layout of the weather plugin... a few buttons on the left, data one the right, simple popup.
3) DVD Ripper plugin. This was a fully functioning DVD Ripper plugin using the new GUI.
4) Tile plugin, showing some advanced animation techniques, similar to those seen in Vista MCE.
EDIT: attachments removed, but you can access them here: http://gbpvr.com/pmwiki/pmwiki.php/Devel...odeSamples