summaryrefslogtreecommitdiff
path: root/includes/graphics.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/graphics.h
parentfb1a522cca4d3f065d9d2af525bc872c73798a4d (diff)
downloadpowder-f0379c5418fd97632004027aa311c4f9b3fb9ab0.zip
powder-f0379c5418fd97632004027aa311c4f9b3fb9ab0.tar.gz
Tool menu in deco editor, Lighten/Darken tools.
Diffstat (limited to 'includes/graphics.h')
-rw-r--r--includes/graphics.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/includes/graphics.h b/includes/graphics.h
index c5a261d..24d1ffe 100644
--- a/includes/graphics.h
+++ b/includes/graphics.h
@@ -134,11 +134,15 @@ void draw_parts(pixel *vid);
void draw_walls(pixel *vid);
-void create_decorations(int x, int y, int rx, int ry, int r, int g, int b, int click);
+void create_decorations(int x, int y, int rx, int ry, int r, int g, int b, int click, int tool);
-void line_decorations(int x1, int y1, int x2, int y2, int rx, int ry, int r, int g, int b, int click);
+void create_decoration(int x, int y, int r, int g, int b, int click, int tool);
-void box_decorations(int x1, int y1, int x2, int y2, int r, int g, int b, int click);
+void line_decorations(int x1, int y1, int x2, int y2, int rx, int ry, int r, int g, int b, int click, int tool);
+
+void box_decorations(int x1, int y1, int x2, int y2, int r, int g, int b, int click, int tool);
+
+void draw_color_menu(pixel *vid_buf, int i, int hover);
void draw_wavelengths(pixel *vid, int x, int y, int h, int wl);