Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1 Higher-level constructs

open
nobody
None
5
2001-12-02
2001-12-02
Richard Jones
No

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.

Saves reimplementing the wheel every time...

Discussion

  • Richard Jones
    Richard Jones
    2002-01-12

    Logged In: YES
    user_id=6405

    I forgot to mention - this functionality would mirror that
    available through cmd.py...