source: branches/active/character_customization/game/parpg/gui/__init__.py @ 833

Revision 785, 337 bytes checked in by technomage, 8 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;
  • Property svn:eol-style set to native
Line 
1from fife.extensions import pychan
2from .inventorygui import EquipmentSlot, InventoryGrid
3from .spinners import Spinner, IntSpinner
4from .tabwidget import TabWidget
5
6pychan.registerWidget(EquipmentSlot)
7pychan.registerWidget(InventoryGrid)
8pychan.registerWidget(Spinner)
9pychan.registerWidget(IntSpinner)
10pychan.registerWidget(TabWidget)
Note: See TracBrowser for help on using the repository browser.