diff options
Diffstat (limited to 'src/include/tooltip.h')
| -rw-r--r-- | src/include/tooltip.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/tooltip.h b/src/include/tooltip.h new file mode 100644 index 0000000..8748c81 --- /dev/null +++ b/src/include/tooltip.h @@ -0,0 +1,18 @@ +/*
+* BSD 2-Clause “Simplified” License
+* Copyright (c) 2019, Aldrik Ramaekers, aldrik.ramaekers@protonmail.com
+* All rights reserved.
+*/
+
+#ifndef INCLUDE_TOOPTIP
+#define INCLUDE_TOOPTIP
+
+char tooltip_buffer[100];
+s32 tooltip_x = 0;
+s32 tooltip_y = 0;
+bool tooltop_visible = false;
+
+void show_tooltip(s32 x, s32 y, char* buf);
+void update_render_tooltip();
+
+#endif
\ No newline at end of file |
