LEFT | RIGHT |
1 /* | 1 /* |
2 * ***** BEGIN GPL LICENSE BLOCK ***** | 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or | 4 * This program is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU General Public License | 5 * modify it under the terms of the GNU General Public License |
6 * as published by the Free Software Foundation; either version 2 | 6 * as published by the Free Software Foundation; either version 2 |
7 * of the License, or (at your option) any later version. | 7 * of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 } eButPointerType; | 212 } eButPointerType; |
213 | 213 |
214 /* requires (but->poin != NULL) */ | 214 /* requires (but->poin != NULL) */ |
215 #define UI_BUT_POIN_TYPES (UI_BUT_POIN_FLOAT | UI_BUT_POIN_SHORT | UI_BUT_POIN_C
HAR) | 215 #define UI_BUT_POIN_TYPES (UI_BUT_POIN_FLOAT | UI_BUT_POIN_SHORT | UI_BUT_POIN_C
HAR) |
216 | 216 |
217 /* assigned to but->type, OR'd with the flags above when passing args */ | 217 /* assigned to but->type, OR'd with the flags above when passing args */ |
218 typedef enum { | 218 typedef enum { |
219 BUT = (1 << 9), | 219 BUT = (1 << 9), |
220 ROW = (2 << 9), | 220 ROW = (2 << 9), |
221 TOG = (3 << 9), | 221 TOG = (3 << 9), |
222 NUM = (5 << 9), | |
223 TEX = (6 << 9), | |
224 #define TOGBUT (37<<9) | 222 #define TOGBUT (37<<9) |
225 #define OPTION (38<<9) | 223 #define OPTION (38<<9) |
226 #define OPTIONN (39<<9) | 224 #define OPTIONN (39<<9) |
227 /* buttons with value >= SEARCH_MENU don't get undo pushes */ | 225 /* buttons with value >= SEARCH_MENU don't get undo pushes */ |
228 #define SEARCH_MENU (40<<9) | 226 #define SEARCH_MENU (40<<9) |
229 #define BUT_EXTRA (41<<9) | 227 #define BUT_EXTRA (41<<9) |
230 #define HSVCIRCLE (42<<9) | 228 #define HSVCIRCLE (42<<9) |
231 #define LISTBOX (43<<9) | 229 #define LISTBOX (43<<9) |
232 #define LISTROW (44<<9) | 230 #define LISTROW (44<<9) |
233 #define HOTKEYEVT (45<<9) | 231 #define HOTKEYEVT (45<<9) |
234 #define BUT_IMAGE (46<<9) | 232 #define BUT_IMAGE (46<<9) |
235 #define HISTOGRAM (47<<9) | 233 #define HISTOGRAM (47<<9) |
236 #define WAVEFORM (48<<9) | 234 #define WAVEFORM (48<<9) |
237 #define VECTORSCOPE (49<<9) | 235 #define VECTORSCOPE (49<<9) |
238 #define PROGRESSBAR (50<<9) | 236 #define PROGRESSBAR (50<<9) |
239 | 237 |
240 #define BUTTYPE (63<<9) | 238 #define BUTTYPE (63<<9) |
241 | 239 |
LEFT | RIGHT |