2008-02-07, 01:10 AM
Ok, so now we have the textstyles that are unique to the CommunitySkin.
What we do, is provide the opportunity to have a different color for Selected, Normal, and SelectedInactive text. This allows for more flexibility with buttons and list items being able to stand out with a different size, color, or font.
You see above that I also specifically give a size instead of using the default size set in "DefaultTextStyle". Sometimes users wish to have buttons larger, as commented above, text under icons usually needs to be smaller.
I think that explains what the goal is for the text. We have 3 styles for buttons, 3 styles for list items, and 3 styles for icons. I tend to use "GeneralTextTitleStyle" for popup titles.
Next up is something also unique to the CommunitySkin's baseskin.xml file.."Placements".
Code:
[COLOR="SeaGreen"]<!--CommunitySkin Addons-->
<!-- Button text styles --> <!--I prefer these names (Fatman_do)-->[/COLOR]
<TextStyle name="ButtonTextNormal" color="Normal" size="14" />
<TextStyle name="ButtonTextSelected" color="Selected" size="14" />
<TextStyle name="ButtonTextSelectedInactive" color="SelectedInactive" size="14" />
<TextStyle name="GeneralTextTitleStyle" color="Header" size="16"/> [color=SeaGreen]<!--Used like GeneralTextHeaderStyle, but with a larger font-->[/color]
[COLOR="SeaGreen"]<!-- List text styles-->
<!--Icon Selectable text-->[/COLOR]
<TextStyle name="IconNormal" color="Normal" size="10" /> <!--Text under icons usually need to be smaller-->
<TextStyle name="IconSelected" color="Selected" size="10" />
<TextStyle name="IconSelectedInactive" color="SelectedInactive" size="10" />
[color=SeaGreen]<!--List Selectable text-->[/color]
<TextStyle name="ListNormal" color="Normal" />
<TextStyle name="ListSelected" color="Selected" />
<TextStyle name="ListSelectedInactive" color="SelectedInactive" />
What we do, is provide the opportunity to have a different color for Selected, Normal, and SelectedInactive text. This allows for more flexibility with buttons and list items being able to stand out with a different size, color, or font.
You see above that I also specifically give a size instead of using the default size set in "DefaultTextStyle". Sometimes users wish to have buttons larger, as commented above, text under icons usually needs to be smaller.
I think that explains what the goal is for the text. We have 3 styles for buttons, 3 styles for list items, and 3 styles for icons. I tend to use "GeneralTextTitleStyle" for popup titles.
Next up is something also unique to the CommunitySkin's baseskin.xml file.."Placements".
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]
[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]
[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]