#include <generic_layout.hpp>
Inheritance diagram for GenericLayout:

Public Member Functions | |
| virtual void | setWindow (TopWindow *pWindow) |
| Attach the layout to a window. | |
| virtual TopWindow * | getWindow () const |
| Get the associated window, if any. | |
| virtual void | onControlCapture (const CtrlGeneric &rCtrl) |
| Called by a control which wants to capture the mouse. | |
| virtual void | onControlRelease (const CtrlGeneric &rCtrl) |
| Called by a control which wants to release the mouse. | |
| virtual void | refreshAll () |
| Refresh the window. | |
| virtual void | refreshRect (int x, int y, int width, int height) |
| Refresh a rectangular portion of the window. | |
| virtual OSGraphics * | getImage () const |
| Get the image of the layout. | |
| virtual int | getLeft () const |
| Get the position of the layout (relative to the screen). | |
| virtual int | getWidth () const |
| Get the size of the layout. | |
| virtual int | getMinWidth () const |
| Get the minimum and maximum size of the layout. | |
| virtual void | resize (int width, int height) |
| Resize the layout. | |
| virtual void | addControl (CtrlGeneric *pControl, const Position &rPosition, int layer) |
| virtual const list< LayeredControl > & | getControlList () const |
| Get the list of the controls in this layout, by layer order. | |
| virtual void | onControlUpdate (const CtrlGeneric &rCtrl, int width, int height, int xOffSet, int yOffSet) |
| virtual const list< Anchor * > & | getAnchorList () const |
| Get the list of the anchors of this layout. | |
| virtual void | addAnchor (Anchor *pAnchor) |
| Add an anchor to this layout. | |
Definition at line 54 of file generic_layout.hpp.
|
||||||||||||||||
|
Add a control in the layout at the given position, and the optional given layer Definition at line 83 of file generic_layout.cpp. References SkinObject::getIntf(), Position::getLeft(), and Position::getTop(). |
|
||||||||||||||||||||||||
|
Called by a control when its image has changed The arguments indicate the size of the rectangle to refresh, and the offset (from the control position) of this rectangle. Use a negative width or height to refresh the layout completely Definition at line 124 of file generic_layout.cpp. References Position::getLeft(), CtrlGeneric::getPosition(), Position::getTop(), refreshAll(), and refreshRect(). Referenced by CtrlGeneric::notifyLayout(). |
1.4.2