Class: ImGuiIO
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImGuiIO
- Defined in:
- lib/imgui.rb
Class Method Summary collapse
Instance Method Summary collapse
- #AddFocusEvent(focused) ⇒ Object
- #AddInputCharacter(c) ⇒ Object
- #AddInputCharactersUTF8(str) ⇒ Object
- #AddInputCharacterUTF16(c) ⇒ Object
- #AddKeyAnalogEvent(key, down, v) ⇒ Object
- #AddKeyEvent(key, down) ⇒ Object
- #AddMouseButtonEvent(button, down) ⇒ Object
- #AddMousePosEvent(x, y) ⇒ Object
- #AddMouseSourceEvent(source) ⇒ Object
- #AddMouseWheelEvent(wheel_x, wheel_y) ⇒ Object
- #ClearEventsQueue ⇒ Object
- #ClearInputKeys ⇒ Object
- #ClearInputMouse ⇒ Object
- #destroy ⇒ Object
- #SetAppAcceptingEvents(accepting_events) ⇒ Object
- #SetKeyEventNativeData(key, native_keycode, native_scancode, native_legacy_index = -1)) ⇒ Object
Class Method Details
Instance Method Details
#AddFocusEvent(focused) ⇒ Object
2053 2054 2055 |
# File 'lib/imgui.rb', line 2053 def AddFocusEvent(focused) ImGui::ImGuiIO_AddFocusEvent(self, focused) end |
#AddInputCharacter(c) ⇒ Object
2057 2058 2059 |
# File 'lib/imgui.rb', line 2057 def AddInputCharacter(c) ImGui::ImGuiIO_AddInputCharacter(self, c) end |
#AddInputCharactersUTF8(str) ⇒ Object
2065 2066 2067 |
# File 'lib/imgui.rb', line 2065 def AddInputCharactersUTF8(str) ImGui::ImGuiIO_AddInputCharactersUTF8(self, str) end |
#AddInputCharacterUTF16(c) ⇒ Object
2061 2062 2063 |
# File 'lib/imgui.rb', line 2061 def AddInputCharacterUTF16(c) ImGui::ImGuiIO_AddInputCharacterUTF16(self, c) end |
#AddKeyAnalogEvent(key, down, v) ⇒ Object
2069 2070 2071 |
# File 'lib/imgui.rb', line 2069 def AddKeyAnalogEvent(key, down, v) ImGui::ImGuiIO_AddKeyAnalogEvent(self, key, down, v) end |
#AddKeyEvent(key, down) ⇒ Object
2073 2074 2075 |
# File 'lib/imgui.rb', line 2073 def AddKeyEvent(key, down) ImGui::ImGuiIO_AddKeyEvent(self, key, down) end |
#AddMouseButtonEvent(button, down) ⇒ Object
2077 2078 2079 |
# File 'lib/imgui.rb', line 2077 def AddMouseButtonEvent(, down) ImGui::ImGuiIO_AddMouseButtonEvent(self, , down) end |
#AddMousePosEvent(x, y) ⇒ Object
2081 2082 2083 |
# File 'lib/imgui.rb', line 2081 def AddMousePosEvent(x, y) ImGui::ImGuiIO_AddMousePosEvent(self, x, y) end |
#AddMouseSourceEvent(source) ⇒ Object
2085 2086 2087 |
# File 'lib/imgui.rb', line 2085 def AddMouseSourceEvent(source) ImGui::ImGuiIO_AddMouseSourceEvent(self, source) end |
#AddMouseWheelEvent(wheel_x, wheel_y) ⇒ Object
2089 2090 2091 |
# File 'lib/imgui.rb', line 2089 def AddMouseWheelEvent(wheel_x, wheel_y) ImGui::ImGuiIO_AddMouseWheelEvent(self, wheel_x, wheel_y) end |
#ClearEventsQueue ⇒ Object
2093 2094 2095 |
# File 'lib/imgui.rb', line 2093 def ClearEventsQueue() ImGui::ImGuiIO_ClearEventsQueue(self) end |
#ClearInputKeys ⇒ Object
2097 2098 2099 |
# File 'lib/imgui.rb', line 2097 def ClearInputKeys() ImGui::ImGuiIO_ClearInputKeys(self) end |
#ClearInputMouse ⇒ Object
2101 2102 2103 |
# File 'lib/imgui.rb', line 2101 def ClearInputMouse() ImGui::ImGuiIO_ClearInputMouse(self) end |
#destroy ⇒ Object
2117 2118 2119 |
# File 'lib/imgui.rb', line 2117 def destroy() ImGui::ImGuiIO_destroy(self) end |
#SetAppAcceptingEvents(accepting_events) ⇒ Object
2109 2110 2111 |
# File 'lib/imgui.rb', line 2109 def SetAppAcceptingEvents(accepting_events) ImGui::ImGuiIO_SetAppAcceptingEvents(self, accepting_events) end |
#SetKeyEventNativeData(key, native_keycode, native_scancode, native_legacy_index = -1)) ⇒ Object
2113 2114 2115 |
# File 'lib/imgui.rb', line 2113 def SetKeyEventNativeData(key, native_keycode, native_scancode, native_legacy_index = -1) ImGui::ImGuiIO_SetKeyEventNativeData(self, key, native_keycode, native_scancode, native_legacy_index) end |