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



1904
1905
1906
# File 'lib/imgui.rb', line 1904

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

Instance Method Details

#AddFocusEvent(focused) ⇒ Object



1856
1857
1858
# File 'lib/imgui.rb', line 1856

def AddFocusEvent(focused)
  ImGui::ImGuiIO_AddFocusEvent(self, focused)
end

#AddInputCharacter(c) ⇒ Object



1860
1861
1862
# File 'lib/imgui.rb', line 1860

def AddInputCharacter(c)
  ImGui::ImGuiIO_AddInputCharacter(self, c)
end

#AddInputCharactersUTF8(str) ⇒ Object



1868
1869
1870
# File 'lib/imgui.rb', line 1868

def AddInputCharactersUTF8(str)
  ImGui::ImGuiIO_AddInputCharactersUTF8(self, str)
end

#AddInputCharacterUTF16(c) ⇒ Object



1864
1865
1866
# File 'lib/imgui.rb', line 1864

def AddInputCharacterUTF16(c)
  ImGui::ImGuiIO_AddInputCharacterUTF16(self, c)
end

#AddKeyAnalogEvent(key, down, v) ⇒ Object



1872
1873
1874
# File 'lib/imgui.rb', line 1872

def AddKeyAnalogEvent(key, down, v)
  ImGui::ImGuiIO_AddKeyAnalogEvent(self, key, down, v)
end

#AddKeyEvent(key, down) ⇒ Object



1876
1877
1878
# File 'lib/imgui.rb', line 1876

def AddKeyEvent(key, down)
  ImGui::ImGuiIO_AddKeyEvent(self, key, down)
end

#AddMouseButtonEvent(button, down) ⇒ Object



1880
1881
1882
# File 'lib/imgui.rb', line 1880

def AddMouseButtonEvent(button, down)
  ImGui::ImGuiIO_AddMouseButtonEvent(self, button, down)
end

#AddMousePosEvent(x, y) ⇒ Object



1884
1885
1886
# File 'lib/imgui.rb', line 1884

def AddMousePosEvent(x, y)
  ImGui::ImGuiIO_AddMousePosEvent(self, x, y)
end

#AddMouseSourceEvent(source) ⇒ Object



1888
1889
1890
# File 'lib/imgui.rb', line 1888

def AddMouseSourceEvent(source)
  ImGui::ImGuiIO_AddMouseSourceEvent(self, source)
end

#AddMouseWheelEvent(wheel_x, wheel_y) ⇒ Object



1892
1893
1894
# File 'lib/imgui.rb', line 1892

def AddMouseWheelEvent(wheel_x, wheel_y)
  ImGui::ImGuiIO_AddMouseWheelEvent(self, wheel_x, wheel_y)
end

#ClearEventsQueueObject



1896
1897
1898
# File 'lib/imgui.rb', line 1896

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

#ClearInputKeysObject



1900
1901
1902
# File 'lib/imgui.rb', line 1900

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

#destroyObject



1916
1917
1918
# File 'lib/imgui.rb', line 1916

def destroy()
  ImGui::ImGuiIO_destroy(self)
end

#SetAppAcceptingEvents(accepting_events) ⇒ Object



1908
1909
1910
# File 'lib/imgui.rb', line 1908

def SetAppAcceptingEvents(accepting_events)
  ImGui::ImGuiIO_SetAppAcceptingEvents(self, accepting_events)
end

#SetKeyEventNativeData(key, native_keycode, native_scancode, native_legacy_index = -1)) ⇒ Object



1912
1913
1914
# File 'lib/imgui.rb', line 1912

def SetKeyEventNativeData(key, native_keycode, native_scancode, native_legacy_index = -1)
  ImGui::ImGuiIO_SetKeyEventNativeData(self, key, native_keycode, native_scancode, native_legacy_index)
end