|
@@ -386,7 +386,9 @@ namespace ImGui
|
|
IMGUI_API bool IsRootWindowFocused(); // is current root window focused
|
|
IMGUI_API bool IsRootWindowFocused(); // is current root window focused
|
|
IMGUI_API bool IsRootWindowOrAnyChildFocused(); // is current root window or any of its child (including current window) focused
|
|
IMGUI_API bool IsRootWindowOrAnyChildFocused(); // is current root window or any of its child (including current window) focused
|
|
IMGUI_API bool IsRectClipped(const ImVec2& size); // test if rectangle of given size starting from cursor pos is out of clipping region. to perform coarse clipping on user's side (as an optimization)
|
|
IMGUI_API bool IsRectClipped(const ImVec2& size); // test if rectangle of given size starting from cursor pos is out of clipping region. to perform coarse clipping on user's side (as an optimization)
|
|
- IMGUI_API bool IsKeyPressed(int key_index, bool repeat = true); // key_index into the keys_down[512] array, imgui doesn't know the semantic of each entry
|
|
|
|
|
|
+ IMGUI_API bool IsKeyDown(int key_index); // key_index into the keys_down[512] array, imgui doesn't know the semantic of each entry
|
|
|
|
+ IMGUI_API bool IsKeyPressed(int key_index, bool repeat = true); // "
|
|
|
|
+ IMGUI_API bool IsMouseDown(int button);
|
|
IMGUI_API bool IsMouseClicked(int button, bool repeat = false);
|
|
IMGUI_API bool IsMouseClicked(int button, bool repeat = false);
|
|
IMGUI_API bool IsMouseDoubleClicked(int button);
|
|
IMGUI_API bool IsMouseDoubleClicked(int button);
|
|
IMGUI_API bool IsMouseHoveringWindow(); // is mouse hovering current window ("window" in API names always refer to current window)
|
|
IMGUI_API bool IsMouseHoveringWindow(); // is mouse hovering current window ("window" in API names always refer to current window)
|