#include <umode.hpp>
Inheritance diagram for UMode:
Public Types | |
enum | BMODES { CAN_DEL = 1<<0, UCONST = 1<<1, DESTRUCTING = 1<<2, DESTRUCTED = 1<<3, DONT_PROPAGATE = CAN_DEL | DESTRUCTED | DESTRUCTING | UCONST, NO_AUTO_UPDATE = 1<<4, IN_TEXTSEL = 1<<5, IS_VERTICAL = 1<<6, IGNORE_EVENTS = 1<<9, DESTRUCT_CB = 1<<10, CHANGE_CB = 1<<11, CONTAINER_CB = 1<<12, CHILD_CHANGE_CB = 1<<13, VIEW_PAINT_CB = 1<<15, VIEW_CHANGE_CB = 1<<16, KEY_CB = 1<<17, MOUSE_CB = 1<<18, MOUSE_CLICK_CB = 1<<19, MOUSE_CROSS_CB = 1<<20, MOUSE_DRAG_CB = 1<<21, MOUSE_MOVE_CB = 1<<22, UMESSAGE_CB = 1<<27, PRE_CHILD_EVENT_CB = 1<<28, RAW_EVENT_CB = 1<<29, NOTIFY_EVENT_CB = 1<<30, CALLBACKS } |
enum | CMODES { GROUP = 1<<0, BOX = 1<<1, SOFTWIN = 1<<2, HARDWIN = 1<<3, INCRUST = 1<<4, FLOATING = 1<<5, MENU = 1<<6, FAKE_PARENT = 1<<7, BORDER_LIST = 1<<8, SOFTWIN_LIST = 1<<9, CAN_SHOW = 1<<10, DOUBLE_BUFFER = 1<<11, MODAL = 1<<12, SELECTED = 1<<13, CAN_SELECT = 1<<14, CAN_SELECT_CHILDREN = 1<<15, CAN_SELECT_TEXT = 1<<16, CAN_EDIT_TEXT = 1<<17, CAN_BROWSE_CHILDREN = 1<<19, CAN_DRAG1 = 1<<20, CAN_DRAG2 = 1<<21, CAN_DROP = 1<<22, CAN_ARM = 1<<23, ACTION_HIGHLIGHT = 1<<24, ENTER_HIGHLIGHT = 1<<25, HAS_RENDERER = 1<<26, HAS_CURSOR = 1<<27, HAS_CLOSE_MENU_MODE = 1<<28, CLOSE_MENU_MODE = 1<<29, WIN_MAPPED = 1<<30, WIN_AUTO_OPEN_MODE = 1<<31 } |
Public Member Functions | |
UMode (u_modes bmodes, u_modes cmodes, bool on_off) | |
UMode (u_modes bmodes=0) | |
virtual void | setParentModes (UCtrl *parent) const |
virtual void | addingTo (class ULink *selflink, UGroup *parent) |
virtual void | removingFrom (class ULink *selflink, UGroup *parent) |
NOTE that this function require a specific destructor. | |
Static Public Attributes | |
UMode | selected |
selects the parents (if applicable, see: isSelectable()) | |
UMode | unselected |
unselects the parents (if applicable, see: isSelectable()) | |
UMode | canSelect |
parents can be selected (see isSelectable()) | |
UMode | canArm |
parents can be armed | |
UMode | enterHighlight |
parents are highlighted when entered | |
UMode | enterHighborder |
parents are highlighted when entered | |
UMode | actionHighlight |
parents are highlighted when activated | |
UMode | actionHighborder |
parents are highlighted when activated | |
UMode | canDrag1 |
parents can start a drag and drop action with button 1 | |
UMode | canDrag2 |
parents can start a drag and drop action with button 2 (or equivalent) | |
UMode | canDrop |
parents can receive a drag and drop action | |
UMode | ignoreEvents |
parents will ignore events | |
Protected Attributes | |
u_modes | cmodes |
u_modes | bmask |
u_modes | cmask |
this class is implementation dependant. only its static fields should be used by clients.
|
|
|
|
... inutile pour les UCONST!!!; Reimplemented from UBrick. Reimplemented in UViewStyle. |