summaryrefslogtreecommitdiff
path: root/my_imgui_internal_widgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'my_imgui_internal_widgets.h')
-rw-r--r--my_imgui_internal_widgets.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/my_imgui_internal_widgets.h b/my_imgui_internal_widgets.h
index ec106b1..1e0a212 100644
--- a/my_imgui_internal_widgets.h
+++ b/my_imgui_internal_widgets.h
@@ -6,6 +6,9 @@
// NOTE(fox): Appending to the standard ImGui namespace so I don't have to convert all the functions to ImGui::Function()
namespace ImGui {
- IMGUI_API bool SliderLevels(const char* label, void* p_data, void* p_min, void* p_max);
+ IMGUI_API bool SliderLevels(const char* label, const char* label2, const char* label3, void* p_data, void* p_min, void* p_max);
+ IMGUI_API bool TestLine(ImVec2 P1, ImVec2 P2);
+ IMGUI_API bool BezierInteractive(ImVec2 p0, ImVec2 p1, ImVec2 p2, ImVec2 p3, float& ratio);
+ IMGUI_API ImVec2 RatioToPoint(const ImVec2& a, const ImVec2& b, float ratio);
}