summaryrefslogtreecommitdiff
path: root/src/ui/include/modal_progress.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-08-25 10:13:37 +1000
committerjacqueline <me@jacqueline.id.au>2023-08-25 10:13:37 +1000
commit3b3bc64d19715c418f407d5231795ca5a2c2fa71 (patch)
tree87fb1bf2b9ec366abc712f2096a0908d0ae2cc4b /src/ui/include/modal_progress.hpp
parent079b2b53d434869df419da1373aba239990c34d9 (diff)
downloadtangara-fw-3b3bc64d19715c418f407d5231795ca5a2c2fa71.tar.gz
Add modal dialog support
Diffstat (limited to 'src/ui/include/modal_progress.hpp')
-rw-r--r--src/ui/include/modal_progress.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/ui/include/modal_progress.hpp b/src/ui/include/modal_progress.hpp
new file mode 100644
index 00000000..96897029
--- /dev/null
+++ b/src/ui/include/modal_progress.hpp
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2023 jacqueline <me@jacqueline.id.au>
+ *
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+#pragma once
+
+#include <memory>
+#include <vector>
+
+#include "index.hpp"
+#include "lvgl.h"
+
+#include "modal.hpp"
+
+namespace ui {
+namespace modals {
+
+class Progress : public Modal {
+ public:
+ Progress(Screen*, std::string title);
+
+ private:
+ lv_obj_t* container_;
+};
+
+} // namespace modals
+} // namespace ui