ubit
Public Types | Public Attributes | List of all members
ubit::UElem::Modes Struct Reference

Public Types

enum  { CATCH_MOUSE_MASK = 1<<0, CATCH_MOUSE_MOVE_MASK = 1<<1, CATCH_WHEEL_MASK = 1<<2, CATCH_KEY_MASK = 1<<3 }
 

Public Attributes

unsigned IS_SHOWABLE:1
 can be shown if parents are shown (see isShowable() and isShown())
 
unsigned IS_BROWSABLE:1
 can browse (as for lists and menus)
 
unsigned IS_CROSSABLE:1
 detects (and shows) UOn::enter and UOn::leave conditions
 
unsigned IS_ARMABLE:1
 can be armed
 
unsigned IS_AUTO_REPEAT:1
 auto-repeats UOn::arm while armed
 
unsigned IS_DRAGGABLE:1
 can be dragged (with button 1 or button2)
 
unsigned IS_DROPPABLE:1
 can be dropped
 
unsigned IS_SELECTABLE:1
 can be selected (as for a checkbox)
 
unsigned IS_SELECTED:1
 this object is currently selected.
 
unsigned IS_TEXT_SELECTABLE:1
 can select included text
 
unsigned IS_TEXT_EDITABLE:1
 can edit included text (ie. the group contains a UEdit brick)
 
unsigned IS_WIDTH_UNRESIZABLE:1
 
unsigned IS_HEIGHT_UNRESIZABLE:1
 
unsigned IS_FLOATING:1
 has a UPos attr in floating mode.
 
unsigned IS_VERTICAL:1
 has a vertical orientation (see HAS_ORIENT).
 
unsigned HAS_ORIENT:1
 
unsigned HAS_CURSOR:1
 has a cursor attr.
 
unsigned HAS_LAYOUT:1
 has a layout attr.
 
unsigned HAS_TIP:1
 has a tool tip.
 
unsigned DONT_CLOSE_MENUS:1
 
unsigned OBSERVE_EVENTS:1
 
unsigned IGNORE_EVENTS:1
 this object ignores events.
 
unsigned CATCH_EVENTS:4
 this object can catch mouse events.
 

The documentation for this struct was generated from the following file: