Class: ImGui::ImGui_ImplGlfw_Data
- Inherits:
-
Object
- Object
- ImGui::ImGui_ImplGlfw_Data
- Defined in:
- lib/imgui_impl_glfw.rb
Instance Attribute Summary collapse
-
#installedCallbacks ⇒ Object
Returns the value of attribute installedCallbacks.
-
#lastValidMousePos ⇒ Object
Returns the value of attribute lastValidMousePos.
-
#mouseCursors ⇒ Object
Returns the value of attribute mouseCursors.
-
#mouseWindow ⇒ Object
Returns the value of attribute mouseWindow.
-
#prevUserCallbackChar ⇒ Object
Returns the value of attribute prevUserCallbackChar.
-
#prevUserCallbackCursorEnter ⇒ Object
Returns the value of attribute prevUserCallbackCursorEnter.
-
#prevUserCallbackCursorPos ⇒ Object
Returns the value of attribute prevUserCallbackCursorPos.
-
#prevUserCallbackKey ⇒ Object
Returns the value of attribute prevUserCallbackKey.
-
#prevUserCallbackMonitor ⇒ Object
Returns the value of attribute prevUserCallbackMonitor.
-
#prevUserCallbackMousebutton ⇒ Object
Returns the value of attribute prevUserCallbackMousebutton.
-
#prevUserCallbackScroll ⇒ Object
Returns the value of attribute prevUserCallbackScroll.
-
#prevUserCallbackWindowFocus ⇒ Object
Returns the value of attribute prevUserCallbackWindowFocus.
-
#time ⇒ Object
Returns the value of attribute time.
-
#window ⇒ Object
Returns the value of attribute window.
Instance Method Summary collapse
-
#initialize ⇒ ImGui_ImplGlfw_Data
constructor
A new instance of ImGui_ImplGlfw_Data.
Constructor Details
#initialize ⇒ ImGui_ImplGlfw_Data
Returns a new instance of ImGui_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
#installedCallbacks ⇒ Object
Returns the value of attribute installedCallbacks.
15 16 17 |
# File 'lib/imgui_impl_glfw.rb', line 15 def installedCallbacks @installedCallbacks end |
#lastValidMousePos ⇒ Object
Returns the value of attribute lastValidMousePos.
15 16 17 |
# File 'lib/imgui_impl_glfw.rb', line 15 def lastValidMousePos @lastValidMousePos end |
#mouseCursors ⇒ Object
Returns the value of attribute mouseCursors.
15 16 17 |
# File 'lib/imgui_impl_glfw.rb', line 15 def mouseCursors @mouseCursors end |
#mouseWindow ⇒ Object
Returns the value of attribute mouseWindow.
15 16 17 |
# File 'lib/imgui_impl_glfw.rb', line 15 def mouseWindow @mouseWindow end |
#prevUserCallbackChar ⇒ Object
Returns the value of attribute prevUserCallbackChar.
16 17 18 |
# File 'lib/imgui_impl_glfw.rb', line 16 def prevUserCallbackChar @prevUserCallbackChar end |
#prevUserCallbackCursorEnter ⇒ Object
Returns the value of attribute prevUserCallbackCursorEnter.
16 17 18 |
# File 'lib/imgui_impl_glfw.rb', line 16 def prevUserCallbackCursorEnter @prevUserCallbackCursorEnter end |
#prevUserCallbackCursorPos ⇒ Object
Returns the value of attribute prevUserCallbackCursorPos.
16 17 18 |
# File 'lib/imgui_impl_glfw.rb', line 16 def prevUserCallbackCursorPos @prevUserCallbackCursorPos end |
#prevUserCallbackKey ⇒ Object
Returns the value of attribute prevUserCallbackKey.
16 17 18 |
# File 'lib/imgui_impl_glfw.rb', line 16 def prevUserCallbackKey @prevUserCallbackKey end |
#prevUserCallbackMonitor ⇒ Object
Returns the value of attribute prevUserCallbackMonitor.
16 17 18 |
# File 'lib/imgui_impl_glfw.rb', line 16 def prevUserCallbackMonitor @prevUserCallbackMonitor end |
#prevUserCallbackMousebutton ⇒ Object
Returns the value of attribute prevUserCallbackMousebutton.
16 17 18 |
# File 'lib/imgui_impl_glfw.rb', line 16 def @prevUserCallbackMousebutton end |
#prevUserCallbackScroll ⇒ Object
Returns the value of attribute prevUserCallbackScroll.
16 17 18 |
# File 'lib/imgui_impl_glfw.rb', line 16 def prevUserCallbackScroll @prevUserCallbackScroll end |
#prevUserCallbackWindowFocus ⇒ Object
Returns the value of attribute prevUserCallbackWindowFocus.
16 17 18 |
# File 'lib/imgui_impl_glfw.rb', line 16 def prevUserCallbackWindowFocus @prevUserCallbackWindowFocus end |
#time ⇒ Object
Returns the value of attribute time.
15 16 17 |
# File 'lib/imgui_impl_glfw.rb', line 15 def time @time end |
#window ⇒ Object
Returns the value of attribute window.
15 16 17 |
# File 'lib/imgui_impl_glfw.rb', line 15 def window @window end |