Class: ImGuiIO

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/imgui.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.createObject



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(button, down)
  ImGui::ImGuiIO_AddMouseButtonEvent(self, button, 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

#ClearEventsQueueObject



2193
2194
2195
# File 'lib/imgui.rb', line 2193

def ClearEventsQueue()
  ImGui::ImGuiIO_ClearEventsQueue(self)
end

#ClearInputKeysObject



2197
2198
2199
# File 'lib/imgui.rb', line 2197

def ClearInputKeys()
  ImGui::ImGuiIO_ClearInputKeys(self)
end

#ClearInputMouseObject



2201
2202
2203
# File 'lib/imgui.rb', line 2201

def ClearInputMouse()
  ImGui::ImGuiIO_ClearInputMouse(self)
end

#destroyObject



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