View Single Post
Old 12-30-2007, 10:29 PM   #6
god_of_cpu
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Vehicle: 2003/Infiniti/G35 Sport Coupe
Posts: 2,957
My Photos: ()
Quote: Originally Posted by marchello2000 View Post
I had a few questions:
  1. Can I, and if so how, modify the modules that show up in module switcher
  2. How to select a specific font in the script, i.e. IFont to RenderString
  3. How do I package the skin together with the calendar scripted module I made?

Thanks and Happy New Year!

Mark

See this for chainging the list of primary modules
http://www.mp3car.com/wiki/index.php...ure_/_Keyboard

Fonts work kind of wierd in StreetDeck mostly for performance reasons. There are only so many fonts available and basically 2 for each size, a bold one and a normal one. However, some sizes also have special fonts, like the bold 150 font does this outerglow thing, some have borders and some don't and these can vary by skin too. There's no way to select with font type you get directly, you basically select the size of font you want, actually you don't even do that, you just tell it what size in pixels you want to render to and it will automatically select the font size that fits best to fill the pixel height you wanted . Also, RenderString does not currently support selecting bold fonts so it will always select the non-bold font of that height.

You can't package them together, there is no package mechanism for this. You could create a special update package (sdu) that woudl install both of them, but it wouldn't register the addin or select the skin.
__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.
god_of_cpu is offline   Reply With Quote