|
ubit
|
specifies how to update UElem, UBox, UWin objects and subclasses. More...
#include <uupdate.hpp>
Classes | |
| struct | ScrollMove |
| struct | StrData |
Public Types | |
| enum | { PAINT = 1<<0, LAYOUT = 1<<1, LAYOUT_PAINT = (LAYOUT | PAINT), HIDDEN_OBJECTS = 1<<3, SHOW = 1<<6, HIDE = 1<<7, ADJUST_WIN_SIZE = 1<<8 } |
| enum | { ADD_REMOVE = 1<<11, STR_DATA = 1<<12, MOVE = 1<<14 } |
Public Member Functions | |
| UUpdate (unsigned int mode_mask=LAYOUT|PAINT) | |
| creates an object that specifies how to update UElem(s) and subclasses. More... | |
| UUpdate (const UUpdate &) | |
| UUpdate & | operator= (const UUpdate &) |
| bool | operator== (const UUpdate &) |
| void | addModes (unsigned int m) |
| long | getModes () const |
| returns the current mode mask. | |
| bool | isHiddenObjectsMode () const |
| if true, hidden objects (which are normally ignored) will be updated. | |
| void | setPaintData (const UData *) |
| [impl] set the data to be painted. | |
| void | setPaintStr (const UStr *, int strpos1, int strpos2) |
| [impl] set the string to be painted. | |
| void | setMove (float delta_x, float delta_y, bool x_percent, bool y_percent) |
| [impl] used to move objects. | |
Static Public Attributes | |
| static const UUpdate | paint |
| paint only: prefined constant for UUpdate(PAINT); | |
| static const UUpdate | layoutAndPaint |
| layout then paint: prefined constant for UUpdate(LAYOUT|PAINT); | |
Friends | |
| class | UElem |
| class | UBox |
| class | UWin |
| class | UView |
| class | UAppliImpl |
| class | UpdateRequest |
specifies how to update UElem, UBox, UWin objects and subclasses.
See also: UElem::update(), UBox::update(), UWin::update().
| anonymous enum |
creates an object that specifies how to update UElem(s) and subclasses.
This object is given as an argument to UElem::update(), UBox::update(), UWin::update() 'mode_mask' is a OREd combination of the constants defined in the UUpdate enum example:
;
UBox* box = ...;
box->update(UUpdate upd(UUpdate::LAYOUT | UUpdate::PAINT));
1.8.12