Class: ImGui::ImGui_ImplDockingSDL3_Data

Inherits:
Object
  • Object
show all
Defined in:
lib/imgui_impl_docking_sdl3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeImGui_ImplDockingSDL3_Data

Returns a new instance of ImGui_ImplDockingSDL3_Data.



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/imgui_impl_docking_sdl3.rb', line 28

def initialize
  @window = nil
  @window_id = 0
  @renderer = nil
  @time = 0
  @clipboard_text_data = nil
  @use_vulkan = false
  @want_update_monitors = false
  @ime_window = nil
  @ime_data = ImGuiPlatformImeData.new
  @ime_data[:WantVisible] = false
  @ime_data[:WantTextInput] = false
  @ime_data[:InputPos][:x] = 0.0
  @ime_data[:InputPos][:y] = 0.0
  @ime_data[:InputLineHeight] = 0.0
  @ime_data[:ViewportId] = 0
  @ime_dirty = false
  @mouse_window_id = 0
  @mouse_buttons_down = 0
  @mouse_cursors = Array.new(ImGuiMouseCursor_COUNT) { nil }
  @mouse_last_cursor = nil
  @mouse_pending_leave_frame = 0
  @mouse_can_use_global_state = false
  @mouse_can_report_hovered_viewport = false
  @mouse_capture_mode = ImGui_ImplDockingSDL3_MouseCaptureMode_Disabled
  @gamepads = []
  @gamepad_mode = ImGui_ImplDockingSDL3_GamepadMode_AutoFirst
  @want_update_gamepads_list = true
  @monitor_memory = nil
  @viewport_data = {}
end

Instance Attribute Details

#clipboard_text_dataObject

Returns the value of attribute clipboard_text_data.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def clipboard_text_data
  @clipboard_text_data
end

#gamepad_modeObject

Returns the value of attribute gamepad_mode.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def gamepad_mode
  @gamepad_mode
end

#gamepadsObject

Returns the value of attribute gamepads.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def gamepads
  @gamepads
end

#ime_dataObject

Returns the value of attribute ime_data.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def ime_data
  @ime_data
end

#ime_dirtyObject

Returns the value of attribute ime_dirty.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def ime_dirty
  @ime_dirty
end

#ime_windowObject

Returns the value of attribute ime_window.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def ime_window
  @ime_window
end

#monitor_memoryObject

Returns the value of attribute monitor_memory.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def monitor_memory
  @monitor_memory
end

#mouse_buttons_downObject

Returns the value of attribute mouse_buttons_down.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def mouse_buttons_down
  @mouse_buttons_down
end

#mouse_can_report_hovered_viewportObject

Returns the value of attribute mouse_can_report_hovered_viewport.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def mouse_can_report_hovered_viewport
  @mouse_can_report_hovered_viewport
end

#mouse_can_use_global_stateObject

Returns the value of attribute mouse_can_use_global_state.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def mouse_can_use_global_state
  @mouse_can_use_global_state
end

#mouse_capture_modeObject

Returns the value of attribute mouse_capture_mode.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def mouse_capture_mode
  @mouse_capture_mode
end

#mouse_cursorsObject

Returns the value of attribute mouse_cursors.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def mouse_cursors
  @mouse_cursors
end

#mouse_last_cursorObject

Returns the value of attribute mouse_last_cursor.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def mouse_last_cursor
  @mouse_last_cursor
end

#mouse_pending_leave_frameObject

Returns the value of attribute mouse_pending_leave_frame.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def mouse_pending_leave_frame
  @mouse_pending_leave_frame
end

#mouse_window_idObject

Returns the value of attribute mouse_window_id.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def mouse_window_id
  @mouse_window_id
end

#rendererObject

Returns the value of attribute renderer.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def renderer
  @renderer
end

#timeObject

Returns the value of attribute time.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def time
  @time
end

#use_vulkanObject

Returns the value of attribute use_vulkan.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def use_vulkan
  @use_vulkan
end

#viewport_dataObject

Returns the value of attribute viewport_data.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def viewport_data
  @viewport_data
end

#want_update_gamepads_listObject

Returns the value of attribute want_update_gamepads_list.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def want_update_gamepads_list
  @want_update_gamepads_list
end

#want_update_monitorsObject

Returns the value of attribute want_update_monitors.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def want_update_monitors
  @want_update_monitors
end

#windowObject

Returns the value of attribute window.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def window
  @window
end

#window_idObject

Returns the value of attribute window_id.



20
21
22
# File 'lib/imgui_impl_docking_sdl3.rb', line 20

def window_id
  @window_id
end