aboutsummaryrefslogtreecommitdiff
path: root/core/src/Utils/Dialog/Dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/Utils/Dialog/Dialog.cpp')
-rw-r--r--core/src/Utils/Dialog/Dialog.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/src/Utils/Dialog/Dialog.cpp b/core/src/Utils/Dialog/Dialog.cpp
new file mode 100644
index 0000000..c4459c0
--- /dev/null
+++ b/core/src/Utils/Dialog/Dialog.cpp
@@ -0,0 +1,18 @@
+// Adapted from https://github.com/aaronmjacobs/Boxer/blob/master/include/boxer/boxer.h
+#include "Dialog.hpp"
+
+namespace Dialog {
+
+Selection Show(const char* message, const char* title, Style style) {
+ return Show(message, title, style, kDefaultButtons);
+}
+
+Selection Show(const char* message, const char* title, Buttons buttons) {
+ return Show(message, title, kDefaultStyle, buttons);
+}
+
+Selection Show(const char* message, const char* title) {
+ return Show(message, title, kDefaultStyle, kDefaultButtons);
+}
+
+} // namespace Dialog