Class: ImGui::ImGui_ImplGlfw_Data

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeImGui_ImplGlfw_Data



18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/imgui_impl_glfw.rb', line 18

def initialize
  @window = nil                                           # GLFWwindow*
  @time = 0.0                                             # double
  @mouseWindow = nil                                      # GLFWwindow*
  @mouseCursors = Array.new(ImGuiMouseCursor_COUNT) { 0 } # GLFWcursor*
  @lastValidMousePos  = ImVec2.create                     # ImVec2
  @installedCallbacks = false                             # bool

  # Chain GLFW callbacks: our callbacks will call the user's previously installed callbacks, if any.
  @prevUserCallbackWindowFocus = nil # GLFWwindowfocusfun
  @prevUserCallbackCursorPos = nil   # GLFWcursorposfun
  @prevUserCallbackCursorEnter = nil # GLFWcursorenterfun
  @prevUserCallbackMousebutton = nil # GLFWmousebuttonfun
  @prevUserCallbackScroll = nil      # GLFWscrollfun
  @prevUserCallbackKey = nil         # GLFWkeyfun
  @prevUserCallbackChar = nil        # GLFWcharfun
  @prevUserCallbackMonitor = nil     # GLFWmonitorfun
end

Instance Attribute Details

#installedCallbacksObject

Returns the value of attribute installedCallbacks.



15
16
17
# File 'lib/imgui_impl_glfw.rb', line 15

def installedCallbacks
  @installedCallbacks
end

#lastValidMousePosObject

Returns the value of attribute lastValidMousePos.



15
16
17
# File 'lib/imgui_impl_glfw.rb', line 15

def lastValidMousePos
  @lastValidMousePos
end

#mouseCursorsObject

Returns the value of attribute mouseCursors.



15
16
17
# File 'lib/imgui_impl_glfw.rb', line 15

def mouseCursors
  @mouseCursors
end

#mouseWindowObject

Returns the value of attribute mouseWindow.



15
16
17
# File 'lib/imgui_impl_glfw.rb', line 15

def mouseWindow
  @mouseWindow
end

#prevUserCallbackCharObject

Returns the value of attribute prevUserCallbackChar.



16
17
18
# File 'lib/imgui_impl_glfw.rb', line 16

def prevUserCallbackChar
  @prevUserCallbackChar
end

#prevUserCallbackCursorEnterObject

Returns the value of attribute prevUserCallbackCursorEnter.



16
17
18
# File 'lib/imgui_impl_glfw.rb', line 16

def prevUserCallbackCursorEnter
  @prevUserCallbackCursorEnter
end

#prevUserCallbackCursorPosObject

Returns the value of attribute prevUserCallbackCursorPos.



16
17
18
# File 'lib/imgui_impl_glfw.rb', line 16

def prevUserCallbackCursorPos
  @prevUserCallbackCursorPos
end

#prevUserCallbackKeyObject

Returns the value of attribute prevUserCallbackKey.



16
17
18
# File 'lib/imgui_impl_glfw.rb', line 16

def prevUserCallbackKey
  @prevUserCallbackKey
end

#prevUserCallbackMonitorObject

Returns the value of attribute prevUserCallbackMonitor.



16
17
18
# File 'lib/imgui_impl_glfw.rb', line 16

def prevUserCallbackMonitor
  @prevUserCallbackMonitor
end

#prevUserCallbackMousebuttonObject

Returns the value of attribute prevUserCallbackMousebutton.



16
17
18
# File 'lib/imgui_impl_glfw.rb', line 16

def prevUserCallbackMousebutton
  @prevUserCallbackMousebutton
end

#prevUserCallbackScrollObject

Returns the value of attribute prevUserCallbackScroll.



16
17
18
# File 'lib/imgui_impl_glfw.rb', line 16

def prevUserCallbackScroll
  @prevUserCallbackScroll
end

#prevUserCallbackWindowFocusObject

Returns the value of attribute prevUserCallbackWindowFocus.



16
17
18
# File 'lib/imgui_impl_glfw.rb', line 16

def prevUserCallbackWindowFocus
  @prevUserCallbackWindowFocus
end

#timeObject

Returns the value of attribute time.



15
16
17
# File 'lib/imgui_impl_glfw.rb', line 15

def time
  @time
end

#windowObject

Returns the value of attribute window.



15
16
17
# File 'lib/imgui_impl_glfw.rb', line 15

def window
  @window
end