Searches

Help

#1 Higher-level constructs

I think it'd be neat for pyUI to offer higher-level
constructs specifically targetted at pygame games.
That is, a menu page structure and configuration
screen helpers.

The menu page helper base class would allow a
programmer to extend the base class with a set of
do_action methods. There'd be a class mapping
attribute which maps labels to actions.

The config helper class would be able to render and
control widgets for common configuration tasks like
strings, booleans, keyboard config, values through
sliders, ... and all it needs is to be passed a
structure defining the config, and it does the rest.