summaryrefslogtreecommitdiff
path: root/includes/interface.h
diff options
context:
space:
mode:
authorcracker64 <cracker642@gmail.com>2011-09-19 21:02:04 (GMT)
committer cracker64 <cracker642@gmail.com>2011-09-19 21:02:04 (GMT)
commitf0379c5418fd97632004027aa311c4f9b3fb9ab0 (patch)
tree92cf624eeb08a6cd317b2b5c40fab3332cb004d7 /includes/interface.h
parentfb1a522cca4d3f065d9d2af525bc872c73798a4d (diff)
downloadpowder-f0379c5418fd97632004027aa311c4f9b3fb9ab0.zip
powder-f0379c5418fd97632004027aa311c4f9b3fb9ab0.tar.gz
Tool menu in deco editor, Lighten/Darken tools.
Diffstat (limited to 'includes/interface.h')
-rw-r--r--includes/interface.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/includes/interface.h b/includes/interface.h
index 8beea20..96abd3b 100644
--- a/includes/interface.h
+++ b/includes/interface.h
@@ -60,9 +60,10 @@ static menu_section msections[] = //doshow does not do anything currently.
static menu_section colorsections[] = //doshow does not do anything currently.
{
- {"\xD1", "Colors", 7, 1},
- {"\xC5", "Tools", 0, 1},
+ {"\xC4", "Colors", 7, 1},
+ {"\xD7", "Tools", 0, 1},
};
+#define DECO_SECTIONS 2
static menu_wall colorlist[] =
{
@@ -75,6 +76,17 @@ static menu_wall colorlist[] =
{PIXPACK(0xFFFFFF), "White"},
};
+#define DECO_DRAW 0
+#define DECO_LIGHTEN 1
+#define DECO_DARKEN 2
+
+static menu_wall toollist[] =
+{
+ {PIXPACK(0xFF0000), "Draw"},
+ {PIXPACK(0xDDDDDD), "Lighten"},
+ {PIXPACK(0x111111), "Darken"},
+};
+
struct ui_edit
{
int x, y, w, nx, h;