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



2199
2200
2201
# File 'lib/imgui.rb', line 2199

def self.create()
  return ImGuiIO.new(ImGui::ImGuiIO_ImGuiIO())
end

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

#ClearEventsQueueObject



2187
2188
2189
# File 'lib/imgui.rb', line 2187

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

#ClearInputKeysObject



2191
2192
2193
# File 'lib/imgui.rb', line 2191

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

#ClearInputMouseObject



2195
2196
2197
# File 'lib/imgui.rb', line 2195

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

#destroyObject



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