2009-02-12, 01:44 PM
Following on from this thread I thought I would break off the OSD discussion...
---------------------------------------------------------------- ----------------------------------------------------------------
Looking at the resources supplied by Hairy and playing with the OSD I'd like to propose that we split the layout (XML) and appearance (images) by having two SkinPlugin entries related to OSD:
Resources\Layout\OSD\
A range of skin.xml file which defines the layout of the OSD and references the external OSD images listed below (currently only one layout option but this may change in the future, eg bigger osd text, minimal OSD etc...).
Resources\Graphics\OSD\
Set's of images and icons which make up the graphical part of the OSD.
If you guys agree...
The work required is to add the control icons (pbaspectbtn.png - pbupchbtn.png) to the current "OSD\External Graphics\" sets, refactor the resources to show OSD in Graphics and Layout correctly and then update the SkinPluginConfig.xml and preview skin files to match. (not much work)
Hairy Wrote:I wasn't exactly sure how to format this, here's how I presently have it. 2 sub folders - Internal Graphics and External Graphics. Internal Graphics folder has 2 files - Blue.xml and Black.xml and uses GB to generate the OSD graphics. External Graphics folder has 2 folders - Blue and Black, each contain the skin.xml and the 6 separate png's that make up the OSD (the plugin could then load the graphics based on the colour chosen)Remembering the CS principle of separating layout from appearance (not to mention the flexabilty offered by using images instead of GB-PVR draw tags), I think that External Graphics is the only way to go.
---------------------------------------------------------------- ----------------------------------------------------------------
Looking at the resources supplied by Hairy and playing with the OSD I'd like to propose that we split the layout (XML) and appearance (images) by having two SkinPlugin entries related to OSD:
Resources\Layout\OSD\
A range of skin.xml file which defines the layout of the OSD and references the external OSD images listed below (currently only one layout option but this may change in the future, eg bigger osd text, minimal OSD etc...).
Resources\Graphics\OSD\
Set's of images and icons which make up the graphical part of the OSD.
Code:
[B]Community Skin OSD items[/B]
ChannelNumber.png
Controls.png
ShowInfo.png
StatusInfo.png
Timeline.png
Vol.png
[B]The rest of the OSD items (hardcoded in GB-PVR)[/B]
pbaspectbtn.png
pbclosebtn.png
pbdownchbtn.png
pbdvdangle.png
pbdvdexit.png
pbdvdlang.png
pbdvdmenu.png
pbdvdsub.png
pbexitbtn.png
pbffbtn.png
pbmenubtn.png
pbnextchbtn.png
pbpausebtn.png
pbplaybtn.png
pbprevchbtn.png
pbrecbtn.png
pbrwbtn.png
pbsbbtn.png
pbsfbtn.png
pbsubbtn.png
pbsubtv.png
pbttxtbtn.png
pbupchbtn.png
The work required is to add the control icons (pbaspectbtn.png - pbupchbtn.png) to the current "OSD\External Graphics\" sets, refactor the resources to show OSD in Graphics and Layout correctly and then update the SkinPluginConfig.xml and preview skin files to match. (not much work)
My Projects
Programs Plugin [SIZE=2](retired) | Volume OSD Plugin (retired) | Documentation Wiki (retired)[/SIZE]
Programs Plugin [SIZE=2](retired) | Volume OSD Plugin (retired) | Documentation Wiki (retired)[/SIZE]