Guiliani  Version 2.6 revision 7293 (documentation build 12)
GUIControlResource.h File Reference

Helper Macros in Guiliani More...

#include <limits.h>

Go to the source code of this file.

Macros

#define CONTROL_TABLE
 ControlClassIDs.
 
#define ENTRY(controld_id, control_classname)   -1
 Helper Macros in Guiliani
 
#define ENTRY(controld_id, control_classname)   controld_id,
 Helper Macros in Guiliani
 
#define ENTRY_ENUM(a)   -1
 Helper Macros in Guiliani
 
#define ENTRY_ENUM(a)   a,
 Helper Macros in Guiliani
 

Typedefs

typedef int static_assert_something[(DUMMY_CONTROL==0) ? 1 :-1]
 Will throw compile error negative subscript if DUMMY_CONTROL is NOT 0!
 

Enumerations

enum  ControlClassID_t {
  CTRL_START_TAG = ciCalculatedCTRLStartTag -1 , GUI_UNUSED16 , GUI_UNUSED15 , GUI_UNUSED14 ,
  GUI_UNUSED13 , GUI_UNUSED12 , GUI_UNUSED11 , GUI_UNUSED10 ,
  GUI_UNUSED9 , GUI_UNUSED8 , GUI_UNUSED7 , GUI_UNUSED6 ,
  GUI_UNUSED5 , GUI_UNUSED4 , GUI_UNUSED3 , GUI_UNUSED2 ,
  GUI_UNUSED1 , GUI_ONSCREEN_KEYBOARD , GUI_RADIALSLIDER , GUI_RADIALPROGRESSBAR ,
  GUI_TABCLIENTAREA , GUI_GRAPH , GUI_LAYERCONTAINER , GUI_VIDEO ,
  GUI_PAGECONTAINER , GUI_WHEELCONTAINER , GUI_GROUPCONTAINER , GUI_RANGESLIDER ,
  GUI_CLOCK , GUI_CALENDAR , GUI_SEGMENTBAR , GUI_KNOB ,
  GUI_FRAGMENTCONTAINER , GUI_CHART , GUI_TABITEM , GUI_SPLITCONTAINER ,
  GUI_TABCONTAINER , GUI_PRIMITIVE_BUTTON , GUI_WHEEL , GUI_TOUCHSCROLLVIEW ,
  GUI_SCROLLING_TEXTFIELD , GUI_IMAGE_STACK , GUI_EDITABLE_TEXT_CONTAINER , GUI_MULTILINEEDIT ,
  GUI_TEXTFIELD , GUI_CAROUSEL , GUI_ANIMATEDIMAGE , GUI_INPUTFIELD ,
  GUI_MENUITEM , GUI_MENUITEMSEPARATOR , GUI_MENU , GUI_MENU_BAR ,
  GUI_LISTBOX , GUI_LISTITEM , GUI_COMBOBOXHEADER , GUI_COMBOBOX ,
  GUI_TABLEVIEW , GUI_CENTERFOCUSCONTAINER , GUI_SCROLLVIEW , GUI_EDIT ,
  GUI_BLENDBUTTON , GUI_EXPANDINGCOMPOSITE , GUI_CHECKBOX , GUI_RADIOBUTTONGROUP ,
  GUI_SHAPE , GUI_OBJECT , GUI_COMPOSITEOBJECT , GUI_BUTTON ,
  GUI_BASEBUTTON , GUI_IMAGE , GUI_BASESLIDER , GUI_SLIDER ,
  GUI_BASERADIOBUTTON , GUI_RADIOBUTTON , GUI_BASETEXTFIELD , GUI_GAUGE ,
  GUI_GEOMETRYOBJECT , GUI_BASECHECKBOX , GUI_PLOT , GUI_BASEINPUTFIELD ,
  GUI_BASEMESSAGEBOX , GUI_CIRCULARSLIDER , GUI_KEYBOARD , GUI_SCROLLBAR ,
  GUI_REPOSITION_COMPOSITE_OBJECT , GUI_ICONBUTTON , GUI_PROGRESSBAR , DUMMY_CONTROL ,
  GUILIANI_INTERNAL_CONTROL = INT_MAX
}
 List of control class ids.
 

Variables

const int ciCalculatedCTRLStartTag = -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
 preprocessor generates for all entries of CONTROL_TABLE: -1 -1 -1..., resulting in a mathematical expression, that will be evaluated to -1*(Number of entries of IMAGE_TABLE
 

Detailed Description