Add an itMenu item type.
No item should be uncategorized.
author |
ib |
date |
Fri, 01 Apr 2011 22:21:42 +0000 |
parents |
0b17f6bed6fc |
children |
930338bde973 |
files |
gui/app.h gui/skin/skin.c |
diffstat |
2 files changed, 2 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/gui/app.h Fri Apr 01 22:16:32 2011 +0000
+++ b/gui/app.h Fri Apr 01 22:21:42 2011 +0000
@@ -119,6 +119,7 @@
#define itDLabel 105
#define itBase 106
#define itPotmeter 107
+#define itMenu 108
#define itPLMButton (itNone - 1)
#define itPRMButton (itNone - 2)
--- a/gui/skin/skin.c Fri Apr 01 22:16:32 2011 +0000
+++ b/gui/skin/skin.c Fri Apr 01 22:21:42 2011 +0000
@@ -505,6 +505,7 @@
if (!item)
return 1;
+ item->type = itMenu;
item->x = x;
item->y = y;
item->width = w;