diff options
author | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-12 14:46:51 +0200 |
---|---|---|
committer | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-12 14:46:51 +0200 |
commit | a8be0d3d20f07d4561826b01f566ca307eb23526 (patch) | |
tree | b2c5c6d513ae3a84aba8e4eea94ec32e46d352fa /display.h |
commit as a backup
Diffstat (limited to 'display.h')
-rw-r--r-- | display.h | 17 |
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 | |||
3 | void display_init(int width, int height); | ||
4 | void display_redraw(); | ||
5 | |||
6 | void display_clear(); | ||
7 | void display_line(int x0, int y0, int x1, int y1); | ||
8 | void display_line_color(int x0, int y0, int x1, int y1, int color); | ||
9 | void display_circle(int x, int y, int w); | ||
10 | void display_circle_color(int x, int y, int w, int color); | ||
11 | void display_rectangle(int x, int y, int w, int h); | ||
12 | |||
13 | void display_text(char *text, int x, int y, int color); | ||
14 | void display_textbox(int min_x, int pos, int max_x, int max_pos, char *text, int color); | ||
15 | int display_test_menu_click(int y, int max_pos); | ||
16 | |||
17 | void display_report(char *message, int line); | ||