blob: 875d21c343a6cea52afb659980bef13e6f60a291 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include <climits>
#include <imgui.h>
// 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 void MyWindowSetup(ImGuiID *Placement, ImGuiID id);
IMGUI_API void MyDockWindow(char *Window, ImGuiID Dock);
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);
IMGUI_API bool LineInteractive(ImVec2 p0, ImVec2 p1);
IMGUI_API ImVec2 RatioToPoint(ImVec2 a, ImVec2 b, float ratio);
}
|