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



1654
1655
1656
# File 'lib/imgui.rb', line 1654

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

Instance Method Details

#AddFocusEvent(focused) ⇒ Object



1606
1607
1608
# File 'lib/imgui.rb', line 1606

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

#AddInputCharacter(c) ⇒ Object



1610
1611
1612
# File 'lib/imgui.rb', line 1610

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

#AddInputCharactersUTF8(str) ⇒ Object



1618
1619
1620
# File 'lib/imgui.rb', line 1618

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

#AddInputCharacterUTF16(c) ⇒ Object



1614
1615
1616
# File 'lib/imgui.rb', line 1614

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

#AddKeyAnalogEvent(key, down, v) ⇒ Object



1622
1623
1624
# File 'lib/imgui.rb', line 1622

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

#AddKeyEvent(key, down) ⇒ Object



1626
1627
1628
# File 'lib/imgui.rb', line 1626

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

#AddMouseButtonEvent(button, down) ⇒ Object



1630
1631
1632
# File 'lib/imgui.rb', line 1630

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

#AddMousePosEvent(x, y) ⇒ Object



1634
1635
1636
# File 'lib/imgui.rb', line 1634

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

#AddMouseSourceEvent(source) ⇒ Object



1638
1639
1640
# File 'lib/imgui.rb', line 1638

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

#AddMouseWheelEvent(wheel_x, wheel_y) ⇒ Object



1642
1643
1644
# File 'lib/imgui.rb', line 1642

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

#ClearInputCharactersObject



1646
1647
1648
# File 'lib/imgui.rb', line 1646

def ClearInputCharacters()
  ImGui::ImGuiIO_ClearInputCharacters(self)
end

#ClearInputKeysObject



1650
1651
1652
# File 'lib/imgui.rb', line 1650

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

#destroyObject



1666
1667
1668
# File 'lib/imgui.rb', line 1666

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

#SetAppAcceptingEvents(accepting_events) ⇒ Object



1658
1659
1660
# File 'lib/imgui.rb', line 1658

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

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



1662
1663
1664
# File 'lib/imgui.rb', line 1662

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