|
ubit
|
Public Types | |
| typedef UElem &(UElem::* | SetModeFunc) (bool) |
Public Types inherited from ubit::UOn | |
| enum | Callback { DESTRUCT_CB = 1<<12, CONTAINER_CB = 1<<13, CHANGE_CB = 1<<14, CHILD_CHANGE_CB = 1<<15, VIEW_PAINT_CB = 1<<16, VIEW_CHANGE_CB = 1<<17, SHOW_HIDE_CB = 1<<18, MOUSE_CB = 1<<19, MOUSE_CROSS_CB = 1<<20, MOUSE_DRAG_CB = 1<<21, MOUSE_MOVE_CB = 1<<22, KEY_CB = 1<<23, DND_CB = 1<<24, MESSAGE_CB = 1<<25, WIN_STATE_CB = 1<<27, SYSWM_CB = 1<<28, USER_EVENT_CB = 1<<29, CALLBACKS } |
| enum | IState { ANY = -1, IDLE = 0, DISABLED, ENTERED, ARMED, ACTIONED, DRAGGED, DROP_ENTERED, ACTION_COUNT } |
Public Member Functions | |
| UOn2 (int id, long callback_mask, int state, SetModeFunc) | |
Public Member Functions inherited from ubit::UOn | |
| UOn (int id, long callback_mask, int istate=-1) | |
| virtual int | getID () const |
| < creates a callback condition. More... | |
| virtual bool | operator== (const UCond &) const |
| virtual bool | operator!= (const UCond &) const |
| virtual const UCond * | matches (const UCond &) const |
| virtual bool | verifies (const UUpdateContext &, const UElem &) const |
| virtual UOn * | toOn () |
| virtual const UOn * | toOn () const |
Protected Member Functions | |
| virtual void | setParentModes (UElem &parent) const |
Protected Attributes | |
| SetModeFunc | set_mode_func |
Protected Attributes inherited from ubit::UOn | |
| long | callback_mask |
| int | istate |
Additional Inherited Members | |
Public Attributes inherited from ubit::UOn | |
| const int | ID |
Static Public Attributes inherited from ubit::UOn | |
| static UOn | idle |
| no event condition. More... | |
| static UOn | action |
| detects that a high-level "action" was performed on a widget. More... | |
| static UOn & | arm |
| static UOn & | disarm |
| detects that a widget was "armed" or "disarmed". More... | |
| static UOn & | select |
| static UOn & | deselect |
| detects that a widget was "selected" or "deselected". More... | |
| static UOn | enter |
| static UOn | leave |
| detects that the mouse entered or left a widget. More... | |
| static UOn | click |
| static UOn | doubleClick |
| detects that the mouse was clicked or double-clicked on a widget. More... | |
| static UOn | mpress |
| static UOn | mrelease |
| static UOn | mdrag |
| static UOn | mmove |
| detects that the mouse was pressed, released, dragged or moved. More... | |
| static UOn | wheel |
| detects that the wheel was moved while the mouse was over a widget. More... | |
| static UOn | kpress |
| static UOn | krelease |
| fire callbacks when a key is pressed or released. More... | |
| static UOn | ktype |
| fire callbacks when a text is entered by pressing a key. More... | |
| static UOn & | dragStart |
| static UOn & | dragDone |
| static UOn & | dropEnter |
| static UOn & | dropLeave |
| static UOn & | dropDone |
| detects drag and drop events occuring on a widget. More... | |
| static UOn | show |
| static UOn | hide |
| detect that a widget was shown or hidden. More... | |
| static UOn | close |
| fires callbacks when a window (or a menu) is closed by the window manager ( More... | |
| static UOn | paint |
| detect that a widget was repainted. More... | |
| static UOn | resize |
| static UOn | motion |
| detect that a widget was resized or moved. More... | |
| static UOn | addChild |
| static UOn | removeChild |
| fire callbacks when a child is added to / removed from an object. More... | |
| static UOn | destruct |
| detects when an object is being destructed. | |
| static UOn | winState |
| fires callbacks when a window state is changed. More... | |
| static UOn | sysWM |
| fires callbacks when a platform-dependent window manager event is received. More... | |
| static UOn | change |
| fires callbacks when the value of an object is changed. More... | |
| static UOn | propChange |
| static UOn | dataChange |
| static UOn | strChange |
| static UOn | userEvent |
| < child change conditions. More... | |
1.8.12