Bill Baxter wrote:
>
> So it sounds like you really only have a stack of 1-3
items. Have you
> found a need for more than that? Or is it just a case
of "only 3 cases
> matter in software: 0,1, and infinity". Just
curious. Because I
> could imagine maybe having more modes stack up if you
treat a modifier
> as triggering an overlay mode. For instance the base
draw tool is one
> GUIMode, but holding down SHIFT creates another
mini-overlay mode that
> does only straight-line drawing. Seems like that may
be overkill, though.
As per taskmaster pattern we code our tasks as automats. One
can have
single BIG automat or use stack to split it to small ones.
For complex
tasks we use dialogs in addition to canvas. Dialog is used
by users to
manage subtasks.
Niki Spahiev
------------------------------------------------------------
---------
To unsubscribe, e-mail: wxPython-dev-unsubscribe lists.wxwidgets.org
For additional commands, e-mail: wxPython-dev-help lists.wxwidgets.org
|