source: branches/active/character_customization/game/fonts/oldtypewriter.fontdef @ 833

Revision 785, 423 bytes checked in by technomage, 9 years ago (diff)

Patch by Technomage

  • Mostly finished the character creation GUI in gui/character_screen.xml - still needs a few cosmetic touch-ups and it hasn't been tested with stats, traits, and skills lists yet;
  • Added a new CharacterCreationView? class in parpg/gui/charactercreationview.py which should be used by the CharacterCreationController? to display the character creation GUI. It is mostly a skeleton at this point, however, and it hasn't been integrated with the controller yet;
  • Fixed a few graphical glitches in the Spinner widget in parpg/gui/spinners.py that caused the text field to be positioned incorrectly;
  • Added a few new properties to the Spinner widget, including background_color, min_size and max_size, which override the inherited properties. Spinner widgets that uses these properties should now behave in a much more intuitive way;
  • Re-sized the gui/notebook/notebook_background.png background image to 800x600 to accommodate tab-buttons on the edges of the notebook;
  • Added a new widget, TabWidget?, which consists of a view that has tabs which can switch between the various views. Views in a TabWidget? can be added in XML as child tags whose name attribute ends up as the tab text;
  • Added two new size fonts to fonts/oldtypewriter.fontdef, 9 pt and 10 pt;
Line 
1[Font/OldTypewriter]
2
3type: truetype
4source: fonts/oldtypewriter.ttf
5size: 12
6antialias: 1
7color: 0,0,0
8
9[Font/OldTypewriter_8]
10
11type: truetype
12source: fonts/oldtypewriter.ttf
13size: 8
14antialias: 1
15color: 0,0,0
16
17[Font/OldTypewriter_9]
18
19type: truetype
20source: fonts/oldtypewriter.ttf
21size: 9
22antialias: 1
23color: 0,0,0
24
25[Font/OldTypewriter_10]
26
27type: truetype
28source: fonts/oldtypewriter.ttf
29size: 10
30antialias: 1
31color: 0,0,0
Note: See TracBrowser for help on using the repository browser.