aboutsummaryrefslogtreecommitdiff
path: root/source/EditorUtils.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-04-15 20:30:39 -0700
committerrtk0c <[email protected]>2022-04-15 20:30:39 -0700
commitafcac59c7d04f4337d6b04ebed8cac7e871ccc50 (patch)
tree8c32b90b4a0ab762a68f228dc8cc4e7f52fc5bd7 /source/EditorUtils.hpp
parentf2a1481123ac23aeb4937df5f61c57e0e4f1ff52 (diff)
Changeset: 7 Work on Material system
Diffstat (limited to 'source/EditorUtils.hpp')
-rw-r--r--source/EditorUtils.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/EditorUtils.hpp b/source/EditorUtils.hpp
index 27510fe..090f7f6 100644
--- a/source/EditorUtils.hpp
+++ b/source/EditorUtils.hpp
@@ -5,6 +5,9 @@
#include <imgui.h>
#include <string>
+#define BRUSSEL_DRAG_DROP_SHADER "Shader"
+#define BRUSSEL_DRAG_DROP_MATERIAL "Mat"
+
namespace ImGui {
const char* GetKeyNameGlfw(int key);
@@ -23,10 +26,6 @@ bool ColorEdit4(const char* label, RgbaColor* color, ImGuiColorEditFlags flags =
bool ColorPicker3(const char* label, RgbaColor* color, ImGuiColorEditFlags flags = 0);
bool ColorPicker4(const char* label, RgbaColor* color, ImGuiColorEditFlags flags = 0);
-bool InputText(const char* label, std::string* str, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = nullptr, void* user_data = nullptr);
-bool InputTextMultiline(const char* label, std::string* str, const ImVec2& size = ImVec2(0, 0), ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = nullptr, void* userData = nullptr);
-bool InputTextWithHint(const char* label, const char* hint, std::string* str, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = nullptr, void* userData = nullptr);
-
bool Splitter(bool splitVertically, float thickness, float* size1, float* size2, float minSize1, float minSize2, float splitterLongAxisSize = -1.0f);
} // namespace ImGui