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
.create ⇒ Object
2205 2206 2207 |
# File 'lib/imgui.rb', line 2205 def self.create() return ImGuiIO.new(ImGui::ImGuiIO_ImGuiIO()) end |
Instance Method Details
#AddFocusEvent(focused) ⇒ Object
2149 2150 2151 |
# File 'lib/imgui.rb', line 2149 def AddFocusEvent(focused) ImGui::ImGuiIO_AddFocusEvent(self, focused) end |
#AddInputCharacter(c) ⇒ Object
2153 2154 2155 |
# File 'lib/imgui.rb', line 2153 def AddInputCharacter(c) ImGui::ImGuiIO_AddInputCharacter(self, c) end |
#AddInputCharactersUTF8(str) ⇒ Object
2161 2162 2163 |
# File 'lib/imgui.rb', line 2161 def AddInputCharactersUTF8(str) ImGui::ImGuiIO_AddInputCharactersUTF8(self, str) end |
#AddInputCharacterUTF16(c) ⇒ Object
2157 2158 2159 |
# File 'lib/imgui.rb', line 2157 def AddInputCharacterUTF16(c) ImGui::ImGuiIO_AddInputCharacterUTF16(self, c) end |
#AddKeyAnalogEvent(key, down, v) ⇒ Object
2165 2166 2167 |
# File 'lib/imgui.rb', line 2165 def AddKeyAnalogEvent(key, down, v) ImGui::ImGuiIO_AddKeyAnalogEvent(self, key, down, v) end |
#AddKeyEvent(key, down) ⇒ Object
2169 2170 2171 |
# File 'lib/imgui.rb', line 2169 def AddKeyEvent(key, down) ImGui::ImGuiIO_AddKeyEvent(self, key, down) end |
#AddMouseButtonEvent(button, down) ⇒ Object
2173 2174 2175 |
# File 'lib/imgui.rb', line 2173 def AddMouseButtonEvent(, down) ImGui::ImGuiIO_AddMouseButtonEvent(self, , down) end |
#AddMousePosEvent(x, y) ⇒ Object
2177 2178 2179 |
# File 'lib/imgui.rb', line 2177 def AddMousePosEvent(x, y) ImGui::ImGuiIO_AddMousePosEvent(self, x, y) end |
#AddMouseSourceEvent(source) ⇒ Object
2181 2182 2183 |
# File 'lib/imgui.rb', line 2181 def AddMouseSourceEvent(source) ImGui::ImGuiIO_AddMouseSourceEvent(self, source) end |
#AddMouseViewportEvent(id) ⇒ Object
2185 2186 2187 |
# File 'lib/imgui.rb', line 2185 def AddMouseViewportEvent(id) ImGui::ImGuiIO_AddMouseViewportEvent(self, id) end |
#AddMouseWheelEvent(wheel_x, wheel_y) ⇒ Object
2189 2190 2191 |
# File 'lib/imgui.rb', line 2189 def AddMouseWheelEvent(wheel_x, wheel_y) ImGui::ImGuiIO_AddMouseWheelEvent(self, wheel_x, wheel_y) end |
#ClearEventsQueue ⇒ Object
2193 2194 2195 |
# File 'lib/imgui.rb', line 2193 def ClearEventsQueue() ImGui::ImGuiIO_ClearEventsQueue(self) end |
#ClearInputKeys ⇒ Object
2197 2198 2199 |
# File 'lib/imgui.rb', line 2197 def ClearInputKeys() ImGui::ImGuiIO_ClearInputKeys(self) end |
#ClearInputMouse ⇒ Object
2201 2202 2203 |
# File 'lib/imgui.rb', line 2201 def ClearInputMouse() ImGui::ImGuiIO_ClearInputMouse(self) end |
#destroy ⇒ Object
2217 2218 2219 |
# File 'lib/imgui.rb', line 2217 def destroy() ImGui::ImGuiIO_destroy(self) end |
#SetAppAcceptingEvents(accepting_events) ⇒ Object
2209 2210 2211 |
# File 'lib/imgui.rb', line 2209 def SetAppAcceptingEvents(accepting_events) ImGui::ImGuiIO_SetAppAcceptingEvents(self, accepting_events) end |
#SetKeyEventNativeData(key, native_keycode, native_scancode, native_legacy_index = -1)) ⇒ Object
2213 2214 2215 |
# File 'lib/imgui.rb', line 2213 def SetKeyEventNativeData(key, native_keycode, native_scancode, native_legacy_index = -1) ImGui::ImGuiIO_SetKeyEventNativeData(self, key, native_keycode, native_scancode, native_legacy_index) end |