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
- #AddMouseViewportEvent(id) ⇒ 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
2143 2144 2145 |
# File 'lib/imgui.rb', line 2143 def AddFocusEvent(focused) ImGui::ImGuiIO_AddFocusEvent(self, focused) end |
#AddInputCharacter(c) ⇒ Object
2147 2148 2149 |
# File 'lib/imgui.rb', line 2147 def AddInputCharacter(c) ImGui::ImGuiIO_AddInputCharacter(self, c) end |
#AddInputCharactersUTF8(str) ⇒ Object
2155 2156 2157 |
# File 'lib/imgui.rb', line 2155 def AddInputCharactersUTF8(str) ImGui::ImGuiIO_AddInputCharactersUTF8(self, str) end |
#AddInputCharacterUTF16(c) ⇒ Object
2151 2152 2153 |
# File 'lib/imgui.rb', line 2151 def AddInputCharacterUTF16(c) ImGui::ImGuiIO_AddInputCharacterUTF16(self, c) end |
#AddKeyAnalogEvent(key, down, v) ⇒ Object
2159 2160 2161 |
# File 'lib/imgui.rb', line 2159 def AddKeyAnalogEvent(key, down, v) ImGui::ImGuiIO_AddKeyAnalogEvent(self, key, down, v) end |
#AddKeyEvent(key, down) ⇒ Object
2163 2164 2165 |
# File 'lib/imgui.rb', line 2163 def AddKeyEvent(key, down) ImGui::ImGuiIO_AddKeyEvent(self, key, down) end |
#AddMouseButtonEvent(button, down) ⇒ Object
2167 2168 2169 |
# File 'lib/imgui.rb', line 2167 def AddMouseButtonEvent(, down) ImGui::ImGuiIO_AddMouseButtonEvent(self, , down) end |
#AddMousePosEvent(x, y) ⇒ Object
2171 2172 2173 |
# File 'lib/imgui.rb', line 2171 def AddMousePosEvent(x, y) ImGui::ImGuiIO_AddMousePosEvent(self, x, y) end |
#AddMouseSourceEvent(source) ⇒ Object
2175 2176 2177 |
# File 'lib/imgui.rb', line 2175 def AddMouseSourceEvent(source) ImGui::ImGuiIO_AddMouseSourceEvent(self, source) end |
#AddMouseViewportEvent(id) ⇒ Object
2179 2180 2181 |
# File 'lib/imgui.rb', line 2179 def AddMouseViewportEvent(id) ImGui::ImGuiIO_AddMouseViewportEvent(self, id) end |
#AddMouseWheelEvent(wheel_x, wheel_y) ⇒ Object
2183 2184 2185 |
# File 'lib/imgui.rb', line 2183 def AddMouseWheelEvent(wheel_x, wheel_y) ImGui::ImGuiIO_AddMouseWheelEvent(self, wheel_x, wheel_y) end |
#ClearEventsQueue ⇒ Object
2187 2188 2189 |
# File 'lib/imgui.rb', line 2187 def ClearEventsQueue() ImGui::ImGuiIO_ClearEventsQueue(self) end |
#ClearInputKeys ⇒ Object
2191 2192 2193 |
# File 'lib/imgui.rb', line 2191 def ClearInputKeys() ImGui::ImGuiIO_ClearInputKeys(self) end |
#ClearInputMouse ⇒ Object
2195 2196 2197 |
# File 'lib/imgui.rb', line 2195 def ClearInputMouse() ImGui::ImGuiIO_ClearInputMouse(self) end |
#destroy ⇒ Object
2211 2212 2213 |
# File 'lib/imgui.rb', line 2211 def destroy() ImGui::ImGuiIO_destroy(self) end |
#SetAppAcceptingEvents(accepting_events) ⇒ Object
2203 2204 2205 |
# File 'lib/imgui.rb', line 2203 def SetAppAcceptingEvents(accepting_events) ImGui::ImGuiIO_SetAppAcceptingEvents(self, accepting_events) end |
#SetKeyEventNativeData(key, native_keycode, native_scancode, native_legacy_index = -1)) ⇒ Object
2207 2208 2209 |
# File 'lib/imgui.rb', line 2207 def SetKeyEventNativeData(key, native_keycode, native_scancode, native_legacy_index = -1) ImGui::ImGuiIO_SetKeyEventNativeData(self, key, native_keycode, native_scancode, native_legacy_index) end |