Class: ImGui::ImGui_ImplSDL3_Data
- Inherits:
-
Object
- Object
- ImGui::ImGui_ImplSDL3_Data
- Defined in:
- lib/imgui_impl_sdl3.rb
Overview
- INTERNAL
Instance Attribute Summary collapse
-
#clipboard_text_data ⇒ Object
Returns the value of attribute clipboard_text_data.
-
#gamepad_mode ⇒ Object
Returns the value of attribute gamepad_mode.
-
#gamepads ⇒ Object
Returns the value of attribute gamepads.
-
#mouse_buttons_down ⇒ Object
Returns the value of attribute mouse_buttons_down.
-
#mouse_can_use_global_state ⇒ Object
Returns the value of attribute mouse_can_use_global_state.
-
#mouse_capture_mode ⇒ Object
Returns the value of attribute mouse_capture_mode.
-
#mouse_cursors ⇒ Object
Returns the value of attribute mouse_cursors.
-
#mouse_last_cursor ⇒ Object
Returns the value of attribute mouse_last_cursor.
-
#mouse_pending_leave_frame ⇒ Object
Returns the value of attribute mouse_pending_leave_frame.
-
#mouse_window_id ⇒ Object
Returns the value of attribute mouse_window_id.
-
#renderer ⇒ Object
Returns the value of attribute renderer.
-
#time ⇒ Object
Returns the value of attribute time.
-
#want_update_gamepads_list ⇒ Object
Returns the value of attribute want_update_gamepads_list.
-
#window ⇒ Object
Returns the value of attribute window.
-
#window_id ⇒ Object
Returns the value of attribute window_id.
Instance Method Summary collapse
-
#initialize ⇒ ImGui_ImplSDL3_Data
constructor
A new instance of ImGui_ImplSDL3_Data.
Constructor Details
#initialize ⇒ ImGui_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_data ⇒ Object
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_mode ⇒ Object
Returns the value of attribute gamepad_mode.
20 21 22 |
# File 'lib/imgui_impl_sdl3.rb', line 20 def gamepad_mode @gamepad_mode end |
#gamepads ⇒ Object
Returns the value of attribute gamepads.
20 21 22 |
# File 'lib/imgui_impl_sdl3.rb', line 20 def gamepads @gamepads end |
#mouse_buttons_down ⇒ Object
Returns the value of attribute mouse_buttons_down.
20 21 22 |
# File 'lib/imgui_impl_sdl3.rb', line 20 def @mouse_buttons_down end |
#mouse_can_use_global_state ⇒ Object
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_mode ⇒ Object
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_cursors ⇒ Object
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_cursor ⇒ Object
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_frame ⇒ Object
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_id ⇒ Object
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 |
#renderer ⇒ Object
Returns the value of attribute renderer.
20 21 22 |
# File 'lib/imgui_impl_sdl3.rb', line 20 def renderer @renderer end |
#time ⇒ Object
Returns the value of attribute time.
20 21 22 |
# File 'lib/imgui_impl_sdl3.rb', line 20 def time @time end |
#want_update_gamepads_list ⇒ Object
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 |
#window ⇒ Object
Returns the value of attribute window.
20 21 22 |
# File 'lib/imgui_impl_sdl3.rb', line 20 def window @window end |
#window_id ⇒ Object
Returns the value of attribute window_id.
20 21 22 |
# File 'lib/imgui_impl_sdl3.rb', line 20 def window_id @window_id end |