Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.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::DragScalar
IMGUI_API bool DragScalar(const char *label, ImGuiDataType data_type, void *v, float v_speed, const void *v_min=NULL, const void *v_max=NULL, const char *format=NULL, float power=1.0f)
Definition: imgui_widgets.cpp:2055
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
ImGuiDataType_S64
@ ImGuiDataType_S64
Definition: imgui.h:916
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
NULL
Add a fourth parameter to bake specific font ranges NULL
Definition: README.txt: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
ImGuiDataType_S16
@ ImGuiDataType_S16
Definition: imgui.h:912
format
ARPHIC PUBLIC LICENSE Ltd Yung Chi Taiwan All rights reserved except as specified below Everyone is permitted to copy and distribute verbatim copies of this license but changing it is forbidden Preamble The licenses for most software are designed to take away your freedom to share and change it By the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software Legal Terms Font means the TrueType fonts AR PL Mingti2L AR PL KaitiM AR PL KaitiM and the derivatives of those fonts created through any modification including modifying reordering converting format
Definition: ARPHICPL.TXT:16
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::InputScalar
IMGUI_API bool InputScalar(const char *label, ImGuiDataType data_type, void *v, const void *step=NULL, const void *step_fast=NULL, const char *format=NULL, ImGuiInputTextFlags flags=0)
Definition: imgui_widgets.cpp:2868
ImGui::DragScalarN
IMGUI_API bool DragScalarN(const char *label, ImGuiDataType data_type, void *v, int components, float v_speed, const void *v_min=NULL, const void *v_max=NULL, const char *format=NULL, float power=1.0f)
Definition: imgui_widgets.cpp:2129
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
ImGuiInputTextFlags_CharsHexadecimal
@ ImGuiInputTextFlags_CharsHexadecimal
Definition: imgui.h:756
imgui_extensions.h