summaryrefslogtreecommitdiff
path: root/src/user/include/cxx/raleigh/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/include/cxx/raleigh/util.h')
-rw-r--r--src/user/include/cxx/raleigh/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/user/include/cxx/raleigh/util.h b/src/user/include/cxx/raleigh/util.h
index 9142b69..c366e80 100644
--- a/src/user/include/cxx/raleigh/util.h
+++ b/src/user/include/cxx/raleigh/util.h
@@ -5,6 +5,9 @@
#define RGB(R, G, B) ((_pixel_t){.r = 0x##R, .g = 0x##G, .b = 0x##B})
+#define RALEIGH_FG RGB(00, 00, 00)
+#define RALEIGH_BG RGB(bf, bf, bf)
+
namespace raleigh {
struct coord {
uint32_t x;
@@ -14,6 +17,7 @@ namespace raleigh {
};
void show_error_and_quitf(const char *fmt, ...) __attribute__ ((noreturn));
+ void show_error_popup_and_quitf(const char *fmt, ...) __attribute__ ((noreturn));
}
#endif \ No newline at end of file