Elaztek Developer Hub
Blamite Game Engine - blam!  00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
imgui_extensions.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../imgui.h"
4 
5 namespace ImGui
6 {
7  IMGUI_API bool DragShort(const char* label, short* v, float v_speed = 1.0f, short v_min = 0, short v_max = 0, const char* format = "%d"); // If v_min >= v_max we have no bound
8  IMGUI_API bool DragShort2(const char* label, short v[2], float v_speed = 1.0f, short v_min = 0, short v_max = 0, const char* format = "%d");
9  IMGUI_API bool DragShort3(const char* label, short v[3], float v_speed = 1.0f, short v_min = 0, short v_max = 0, const char* format = "%d");
10  IMGUI_API bool DragShort4(const char* label, short v[4], float v_speed = 1.0f, short v_min = 0, short v_max = 0, const char* format = "%d");
11 
12  IMGUI_API bool DragLong(const char* label, long* v, float v_speed = 1.0f, long v_min = 0, long v_max = 0, const char* format = "%d"); // If v_min >= v_max we have no bound
13  IMGUI_API bool DragLong2(const char* label, long v[2], float v_speed = 1.0f, long v_min = 0, long v_max = 0, const char* format = "%d");
14  IMGUI_API bool DragLong3(const char* label, long v[3], float v_speed = 1.0f, long v_min = 0, long v_max = 0, const char* format = "%d");
15  IMGUI_API bool DragLong4(const char* label, long v[4], float v_speed = 1.0f, long v_min = 0, long v_max = 0, const char* format = "%d");
16 
17  IMGUI_API bool InputShort(const char* label, short* v, short step, short step_fast, ImGuiInputTextFlags flags);
18  IMGUI_API bool InputLong(const char* label, long* v, long step, long step_fast, ImGuiInputTextFlags flags);
19 }
ImGui::DragLong2
IMGUI_API bool DragLong2(const char *label, long v[2], float v_speed=1.0f, long v_min=0, long v_max=0, const char *format="%d")
Definition: imgui_extensions.cpp:30
ImGui::DragLong4
IMGUI_API bool DragLong4(const char *label, long v[4], float v_speed=1.0f, long v_min=0, long v_max=0, const char *format="%d")
Definition: imgui_extensions.cpp:40
ImGui::DragShort3
IMGUI_API bool DragShort3(const char *label, short v[3], float v_speed=1.0f, short v_min=0, short v_max=0, const char *format="%d")
Definition: imgui_extensions.cpp:13
ImGui::DragShort2
IMGUI_API bool DragShort2(const char *label, short v[2], float v_speed=1.0f, short v_min=0, short v_max=0, const char *format="%d")
Definition: imgui_extensions.cpp:8
ImGui::DragShort4
IMGUI_API bool DragShort4(const char *label, short v[4], float v_speed=1.0f, short v_min=0, short v_max=0, const char *format="%d")
Definition: imgui_extensions.cpp:18
IMGUI_API
#define IMGUI_API
Definition: imgui.h:57
ImGuiInputTextFlags
int ImGuiInputTextFlags
Definition: imgui.h:150
ImGui::DragLong
IMGUI_API bool DragLong(const char *label, long *v, float v_speed=1.0f, long v_min=0, long v_max=0, const char *format="%d")
Definition: imgui_extensions.cpp:25
ImGui
Definition: imgui_extensions.h:5
ImGui::InputLong
IMGUI_API bool InputLong(const char *label, long *v, long step, long step_fast, ImGuiInputTextFlags flags)
Definition: imgui_extensions.cpp:52
ImGui::DragLong3
IMGUI_API bool DragLong3(const char *label, long v[3], float v_speed=1.0f, long v_min=0, long v_max=0, const char *format="%d")
Definition: imgui_extensions.cpp:35
ImGui::InputShort
IMGUI_API bool InputShort(const char *label, short *v, short step, short step_fast, ImGuiInputTextFlags flags)
Definition: imgui_extensions.cpp:46
ImGui::DragShort
IMGUI_API bool DragShort(const char *label, short *v, float v_speed=1.0f, short v_min=0, short v_max=0, const char *format="%d")
Definition: imgui_extensions.cpp:3