Class: ImGui::ImGui_ImplSDL2_Data

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

Overview

INTERNAL

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeImGui_ImplSDL2_Data



16
17
18
19
20
21
22
23
24
# File 'lib/imgui_impl_sdl2.rb', line 16

def initialize
  @window = nil                                           # SDL_Window*
  @renderer = nil                                         # SDL_Renderer*
  @time = 0.0                                             # Uint64
  @mouseButtonsDown = 0                                   # int
  @mouseCursors = Array.new(ImGuiMouseCursor_COUNT) { 0 } # SDL_Cursor*
  @clipboardTextData = nil                                # char*
  @mouseCanUseGlobalState = false                         # bool
end

Instance Attribute Details

#clipboardTextDataObject

Returns the value of attribute clipboardTextData.



14
15
16
# File 'lib/imgui_impl_sdl2.rb', line 14

def clipboardTextData
  @clipboardTextData
end

#mouseButtonsDownObject

Returns the value of attribute mouseButtonsDown.



14
15
16
# File 'lib/imgui_impl_sdl2.rb', line 14

def mouseButtonsDown
  @mouseButtonsDown
end

#mouseCanUseGlobalStateObject

Returns the value of attribute mouseCanUseGlobalState.



14
15
16
# File 'lib/imgui_impl_sdl2.rb', line 14

def mouseCanUseGlobalState
  @mouseCanUseGlobalState
end

#mouseCursorsObject

Returns the value of attribute mouseCursors.



14
15
16
# File 'lib/imgui_impl_sdl2.rb', line 14

def mouseCursors
  @mouseCursors
end

#rendererObject

Returns the value of attribute renderer.



14
15
16
# File 'lib/imgui_impl_sdl2.rb', line 14

def renderer
  @renderer
end

#timeObject

Returns the value of attribute time.



14
15
16
# File 'lib/imgui_impl_sdl2.rb', line 14

def time
  @time
end

#windowObject

Returns the value of attribute window.



14
15
16
# File 'lib/imgui_impl_sdl2.rb', line 14

def window
  @window
end