view src/parpg/gui/__init__.py @ 25:aa3d837024a3

Scrolling by keyboard is now possible. * Patch by DomtronVox. * Added scrolling with the arrow keys. * Added a slider bar in the settings menu to allow players to set the scrolling speed. * Fixed an error that occurred when the ok button in settings was pressed. * There is some kind of focus issue where opening the settings menu in-game causes scrolling to be disabled. Workaround is to change the scroll speed setting whenever you open the settings menu.
author DomtronVox
date Fri, 17 Jun 2011 14:49:48 -1000
parents d60f1dab8469
children
line wrap: on
line source

from fife.extensions import pychan

from .inventorygui import EquipmentSlot, InventoryGrid
from .spinners import Spinner, IntSpinner
from .tabwidget import TabWidget

pychan.registerWidget(EquipmentSlot)
pychan.registerWidget(InventoryGrid)
pychan.registerWidget(Spinner)
pychan.registerWidget(IntSpinner)
pychan.registerWidget(TabWidget)