summaryrefslogtreecommitdiff
path: root/core/src/UI/UI.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-06-27 18:27:13 -0700
committerrtk0c <[email protected]>2022-06-27 18:27:13 -0700
commit8f0dda5eab181b0f14f2652b4e984aaaae3f258c (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /core/src/UI/UI.hpp
parentfad6a88a13ab1f888ab25ad0aae19c1d63aa0623 (diff)
Start from a clean slate
Diffstat (limited to 'core/src/UI/UI.hpp')
-rw-r--r--core/src/UI/UI.hpp48
1 files changed, 0 insertions, 48 deletions
diff --git a/core/src/UI/UI.hpp b/core/src/UI/UI.hpp
deleted file mode 100644
index 0a80b4c..0000000
--- a/core/src/UI/UI.hpp
+++ /dev/null
@@ -1,48 +0,0 @@
-#pragma once
-
-#include <imgui.h>
-
-namespace ImGui {
-
-void SetNextWindowSizeRelScreen(float xPercent, float yPercent, ImGuiCond cond = ImGuiCond_None);
-void SetNextWindowCentered(ImGuiCond cond = ImGuiCond_None);
-
-void PushDisabled();
-void PopDisabled();
-
-bool Button(const char* label, bool disabled);
-bool Button(const char* label, const ImVec2& sizeArg, bool disabled);
-
-void ErrorIcon();
-void ErrorMessage(const char* fmt, ...);
-void WarningIcon();
-void WarningMessage(const char* fmt, ...);
-
-enum class IconType
-{
- Flow,
- Circle,
- Square,
- Grid,
- RoundSquare,
- Diamond,
-};
-
-void DrawIcon(ImDrawList* drawList, const ImVec2& a, const ImVec2& b, IconType type, bool filled, ImU32 color, ImU32 innerColor);
-void Icon(const ImVec2& size, IconType type, bool filled, const ImVec4& color = ImVec4(1, 1, 1, 1), const ImVec4& innerColor = ImVec4(0, 0, 0, 0));
-
-bool Splitter(bool splitVertically, float thickness, float* size1, float* size2, float minSize1, float minSize2, float splitterLongAxisSize = -1.0f);
-
-} // namespace ImGui
-
-namespace UI {
-
-void MainWindow();
-
-void SettingsTab();
-void DatabaseViewTab();
-void ItemsTab();
-void WorkflowsTab();
-void TemplatesTab();
-
-} // namespace UI