summaryrefslogtreecommitdiff
path: root/src/include/tooltip.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-11-23 21:52:24 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-11-23 21:52:24 +0100
commit6f7374c2fa58c8692b51018864b802e6b876d305 (patch)
treea7e8ead757e9f4de1920395336dcac1c8a989576 /src/include/tooltip.h
A new start
Diffstat (limited to 'src/include/tooltip.h')
-rw-r--r--src/include/tooltip.h18
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