summaryrefslogtreecommitdiff
path: root/display.h
diff options
context:
space:
mode:
authorerdgeist <erdgeist@bauklotz.fritz.box>2016-08-12 14:46:51 +0200
committererdgeist <erdgeist@bauklotz.fritz.box>2016-08-12 14:46:51 +0200
commita8be0d3d20f07d4561826b01f566ca307eb23526 (patch)
treeb2c5c6d513ae3a84aba8e4eea94ec32e46d352fa /display.h
commit as a backup
Diffstat (limited to 'display.h')
-rw-r--r--display.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/display.h b/display.h
new file mode 100644
index 0000000..adc08b7
--- /dev/null
+++ b/display.h
@@ -0,0 +1,17 @@
1#pragma once
2
3void display_init(int width, int height);
4void display_redraw();
5
6void display_clear();
7void display_line(int x0, int y0, int x1, int y1);
8void display_line_color(int x0, int y0, int x1, int y1, int color);
9void display_circle(int x, int y, int w);
10void display_circle_color(int x, int y, int w, int color);
11void display_rectangle(int x, int y, int w, int h);
12
13void display_text(char *text, int x, int y, int color);
14void display_textbox(int min_x, int pos, int max_x, int max_pos, char *text, int color);
15int display_test_menu_click(int y, int max_pos);
16
17void display_report(char *message, int line);