Class: ImGui::ImGui_ImplSDL3_Data

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

Overview

INTERNAL

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeImGui_ImplSDL3_Data

Returns a new instance of ImGui_ImplSDL3_Data.



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/imgui_impl_sdl3.rb', line 25

def initialize
  @window = nil
  @window_id = 0
  @renderer = nil
  @time = 0
  @clipboard_text_data = nil
  @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_capture_mode = ImGui_ImplSDL3_MouseCaptureMode_Disabled
  @gamepads = []
  @gamepad_mode = ImGui_ImplSDL3_GamepadMode_AutoFirst
  @want_update_gamepads_list = true
end

Instance Attribute Details

#clipboard_text_dataObject

Returns the value of attribute clipboard_text_data.



20
21
22
# File 'lib/imgui_impl_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_sdl3.rb', line 20

def gamepad_mode
  @gamepad_mode
end

#gamepadsObject

Returns the value of attribute gamepads.



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

def gamepads
  @gamepads
end

#mouse_buttons_downObject

Returns the value of attribute mouse_buttons_down.



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

def mouse_buttons_down
  @mouse_buttons_down
end

#mouse_can_use_global_stateObject

Returns the value of attribute mouse_can_use_global_state.



20
21
22
# File 'lib/imgui_impl_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_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_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_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_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_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_sdl3.rb', line 20

def renderer
  @renderer
end

#timeObject

Returns the value of attribute time.



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

def time
  @time
end

#want_update_gamepads_listObject

Returns the value of attribute want_update_gamepads_list.



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

def want_update_gamepads_list
  @want_update_gamepads_list
end

#windowObject

Returns the value of attribute window.



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

def window
  @window
end

#window_idObject

Returns the value of attribute window_id.



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

def window_id
  @window_id
end