here is the next patchset for OcempGUI.
The most notably change is a full z-axis support through different layers
in the Renderer class. Although it is not perfect for now, it seems to
work quite well for most cases. The layers hold three items, a separate
widget list, an own EventManager for that layer and an indexing list for
the mnemonic and keyboard access. Event are sent to the last active
layer first and then sent to the other ones in reverse layer order
(highest layer depth first).
Several update issues from the last patch have been fixed and Containers
as well as Bins should update themselves correctly now.
The Window class has been changed in its event handling, but is still
far away from being perfect. Windows still cause some problems, when it
comes to correct updates of underlyling/intersecting widgets, which
hopefully will be fixed soon.
Unfortunately several widgets are still broken, although some first
attempts of redesigning them were made:
StatusBar, ScrolledWindow, ScrolledList, ListViewPort, FileList, FileDialog
The changes within the BaseWidget, which were introduced by the last
patchset cause OcempGUI to depend on pygame > 1.7.1 from now on, as the
pygame.Rect class does not export its attributes clearly in earlier
versions, which in turn prevents the BaseWidget.initclass() method from
exposing the pygame.Rect attributes.
Those are the most important changes within that patchset. It should
apply cleanly against the latest CVS version. Alternatively you can
download a copy of my local development branch.
The patch is available from:
A completely patched package can be downloaded from: