mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 20:08:31 +01:00
fix #11
This commit is contained in:
@@ -1260,6 +1260,11 @@ CIMGUI_API bool igIsRectVisible(CONST ImVec2 item_size)
|
||||
return ImGui::IsRectVisible(item_size);
|
||||
}
|
||||
|
||||
CIMGUI_API int igGetKeyIndex(ImGuiKey key)
|
||||
{
|
||||
return ImGui::GetKeyIndex(key);
|
||||
}
|
||||
|
||||
CIMGUI_API bool igIsKeyDown(int key_index)
|
||||
{
|
||||
return ImGui::IsKeyDown(key_index);
|
||||
|
@@ -320,6 +320,7 @@ CIMGUI_API ImU32 igColorConvertFloat4ToU32(CONST struct ImVec4 in);
|
||||
CIMGUI_API void igColorConvertRGBtoHSV(float r, float g, float b, float* out_h, float* out_s, float* out_v);
|
||||
CIMGUI_API void igColorConvertHSVtoRGB(float h, float s, float v, float* out_r, float* out_g, float* out_b);
|
||||
|
||||
CIMGUI_API int igGetKeyIndex(ImGuiKey key);
|
||||
CIMGUI_API bool igIsKeyDown(int key_index);
|
||||
CIMGUI_API bool igIsKeyPressed(int key_index, bool repeat);
|
||||
CIMGUI_API bool igIsKeyReleased(int key_index);
|
||||
|
Reference in New Issue
Block a user