Class: ImGuiIO

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

Instance Method Summary collapse

Instance Method Details

#AddFocusEvent(focused) ⇒ Object



2535
2536
2537
# File 'lib/imgui.rb', line 2535

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

#AddInputCharacter(c) ⇒ Object



2539
2540
2541
# File 'lib/imgui.rb', line 2539

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

#AddInputCharactersUTF8(str) ⇒ Object



2547
2548
2549
# File 'lib/imgui.rb', line 2547

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

#AddInputCharacterUTF16(c) ⇒ Object



2543
2544
2545
# File 'lib/imgui.rb', line 2543

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

#AddKeyAnalogEvent(key, down, v) ⇒ Object



2511
2512
2513
# File 'lib/imgui.rb', line 2511

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

#AddKeyEvent(key, down) ⇒ Object



2507
2508
2509
# File 'lib/imgui.rb', line 2507

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

#AddMouseButtonEvent(button, down) ⇒ Object



2519
2520
2521
# File 'lib/imgui.rb', line 2519

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

#AddMousePosEvent(x, y) ⇒ Object



2515
2516
2517
# File 'lib/imgui.rb', line 2515

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

#AddMouseSourceEvent(source) ⇒ Object



2527
2528
2529
# File 'lib/imgui.rb', line 2527

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

#AddMouseViewportEvent(id) ⇒ Object



2531
2532
2533
# File 'lib/imgui.rb', line 2531

def AddMouseViewportEvent(id)
  ImGui::ImGuiIO_AddMouseViewportEvent(self, id)
end

#AddMouseWheelEvent(wheel_x, wheel_y) ⇒ Object



2523
2524
2525
# File 'lib/imgui.rb', line 2523

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

#ClearEventsQueueObject



2563
2564
2565
# File 'lib/imgui.rb', line 2563

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

#ClearInputKeysObject



2567
2568
2569
# File 'lib/imgui.rb', line 2567

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

#ClearInputMouseObject



2571
2572
2573
# File 'lib/imgui.rb', line 2571

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

#SetAppAcceptingEvents(accepting_events) ⇒ Object



2559
2560
2561
# File 'lib/imgui.rb', line 2559

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

#SetKeyEventNativeData(key, native_keycode, native_scancode) ⇒ Object



2551
2552
2553
# File 'lib/imgui.rb', line 2551

def SetKeyEventNativeData(key, native_keycode, native_scancode)
  ImGui::ImGuiIO_SetKeyEventNativeData(self, key, native_keycode, native_scancode)
end

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



2555
2556
2557
# File 'lib/imgui.rb', line 2555

def SetKeyEventNativeDataEx(key, native_keycode, native_scancode, native_legacy_index = -1)
  ImGui::ImGuiIO_SetKeyEventNativeDataEx(self, key, native_keycode, native_scancode, native_legacy_index)
end