ui/ui/toolkit.h

branch
newapi
changeset 394
bedd499b640d
parent 388
473c03f85197
child 404
384f6d1f5784
equal deleted inserted replaced
393:3099bf907e21 394:bedd499b640d
189 typedef struct UiTabbedPane UiTabbedPane; 189 typedef struct UiTabbedPane UiTabbedPane;
190 190
191 typedef enum UiTri UiTri; 191 typedef enum UiTri UiTri;
192 typedef enum UiLabelType UiLabelType; 192 typedef enum UiLabelType UiLabelType;
193 193
194 typedef enum UiDnDAction UiDnDAction;
195
194 enum UiMouseEventType { UI_PRESS = 0, UI_PRESS2 }; 196 enum UiMouseEventType { UI_PRESS = 0, UI_PRESS2 };
195 197
196 enum UiLabelType { UI_LABEL_DEFAULT, UI_LABEL_TEXT, UI_LABEL_ICON, UI_LABEL_TEXT_ICON }; 198 enum UiLabelType { UI_LABEL_DEFAULT, UI_LABEL_TEXT, UI_LABEL_ICON, UI_LABEL_TEXT_ICON };
197 199
198 200 enum UiDnDAction { UI_DND_ACTION_NONE, UI_DND_ACTION_COPY, UI_DND_ACTION_MOVE, UI_DND_ACTION_LINK, UI_DND_ACTION_CUSTOM };
199 201
200 typedef void(*ui_callback)(UiEvent*, void*); /* event, user data */ 202 typedef void(*ui_callback)(UiEvent*, void*); /* event, user data */
201 203
202 typedef void*(*ui_getvaluefunc)(void*, int); 204 typedef void*(*ui_getvaluefunc)(void*, int);
203 205

mercurial