[previous] [up] [next]     [contents] [index]
Next: Child Classes Up: Overview Previous: other

Geometry Management Toolbox

The geometry management classes provide a way to design windows and dialogs that can run on all of the various platforms supported by MrEd without the problems introduced by different graphical representations of the objects. The basic functionality of the objects is the same as offered by the core toolbox, but sizing and placement of the various controls are handled automatically.

This is accomplished by creating containers, which can contain other objects and have the ability to move and resize their children based on various constraints, such as the size of the frame and the minimum size of the button. This requires building a tree out of all of the objects in a frame and providing these objects with the ability to communicate size, position, and various other properties among one another.





PLT