Warning, file /include/root/WidgetMessageTypes.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef ROOT_WidgetMessageTypes
0012 #define ROOT_WidgetMessageTypes
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027 #include "RtypesCore.h"
0028
0029
0030 enum EWidgetMessageTypes {
0031 kC_COMMAND = 1,
0032 kCM_MENU = 1,
0033 kCM_MENUSELECT = 2,
0034 kCM_BUTTON = 3,
0035 kCM_CHECKBUTTON = 4,
0036 kCM_RADIOBUTTON = 5,
0037 kCM_LISTBOX = 6,
0038 kCM_COMBOBOX = 7,
0039 kCM_TAB = 8,
0040 kC_HSCROLL = 2,
0041 kC_VSCROLL = 3,
0042 kSB_LINEUP = 1,
0043 kSB_LINEDOWN = 2,
0044 kSB_PAGEUP = 3,
0045 kSB_PAGEDOWN = 4,
0046 kSB_SLIDERTRACK = 5,
0047 kSB_SLIDERPOS = 6,
0048 kC_TEXTENTRY = 4,
0049 kTE_TEXTCHANGED = 1,
0050 kTE_ENTER = 2,
0051 kTE_TAB = 3,
0052 kTE_KEY = 4,
0053 kC_CONTAINER = 5,
0054 kCT_ITEMCLICK = 1,
0055 kCT_ITEMDBLCLICK = 2,
0056 kCT_SELCHANGED = 3,
0057 kCT_KEY = 4,
0058 kC_HSLIDER = 6,
0059 kC_VSLIDER = 7,
0060 kSL_POS = 1,
0061 kSL_TRACK = 2,
0062 kSL_PRESS = 3,
0063 kSL_RELEASE = 4,
0064 kSL_POINTER = 5,
0065 kC_LISTTREE = 8,
0066 kC_TEXTVIEW = 9,
0067 kTXT_ISMARKED = 1,
0068 kTXT_DATACHANGE = 2,
0069 kTXT_CLICK2 = 3,
0070 kTXT_CLICK3 = 4,
0071 kTXT_F3 = 5,
0072 kTXT_OPEN = 6,
0073 kTXT_CLOSE = 7,
0074 kTXT_SAVE = 8,
0075 kC_COLORSEL = 10,
0076 kCOL_CLICK = 1,
0077 kCOL_SELCHANGED = 2,
0078 kC_PATTERNSEL = 11,
0079 kPAT_CLICK = 1,
0080 kPAT_SELCHANGED = 2,
0081 kC_MARKERSEL = 12,
0082 kMAR_CLICK = 1,
0083 kMAR_SELCHANGED = 2,
0084 kC_POPUP = 13,
0085 kPOP_HIDE = 1,
0086 kC_DOCK = 14,
0087 kDOCK_DOCK = 1,
0088 kDOCK_UNDOCK = 2,
0089 kDOCK_SHOW = 3,
0090 kDOCK_HIDE = 4,
0091 kC_MDI = 15,
0092 kMDI_CURRENT = 1,
0093 kMDI_CREATE = 2,
0094 kMDI_CLOSE = 4,
0095 kMDI_RESTORE = 8,
0096 kMDI_MOVE = 16,
0097 kMDI_SIZE = 32,
0098 kMDI_MINIMIZE = 64,
0099 kMDI_MAXIMIZE = 128,
0100 kMDI_HELP = 256,
0101 kMDI_MENU = 512,
0102 kC_USER = 1001,
0103 kC_MSGMAX = 10000
0104 };
0105
0106
0107
0108 inline Int_t MK_MSG(EWidgetMessageTypes msg, EWidgetMessageTypes submsg)
0109 { return (msg << 8) + submsg; }
0110 inline Int_t GET_MSG(Long_t val) { return Int_t(val >> 8); }
0111 inline Int_t GET_SUBMSG(Long_t val) { return Int_t(val & 255); }
0112
0113 #endif