Class: ImGuiViewport
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImGuiViewport
- Defined in:
- lib/imgui.rb
Overview
-
Windows are generally trying to stay within the Work Area of their host viewport.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.create ⇒ Object
1746 1747 1748 |
# File 'lib/imgui.rb', line 1746 def self.create() return ImGuiViewport.new(ImGui::ImGuiViewport_ImGuiViewport()) end |
Instance Method Details
#destroy ⇒ Object
1750 1751 1752 |
# File 'lib/imgui.rb', line 1750 def destroy() ImGui::ImGuiViewport_destroy(self) end |
#GetCenter ⇒ Object
1734 1735 1736 1737 1738 |
# File 'lib/imgui.rb', line 1734 def GetCenter() pOut = ImVec2.new ImGui::ImGuiViewport_GetCenter(pOut, self) return pOut end |
#GetWorkCenter ⇒ Object
1740 1741 1742 1743 1744 |
# File 'lib/imgui.rb', line 1740 def GetWorkCenter() pOut = ImVec2.new ImGui::ImGuiViewport_GetWorkCenter(pOut, self) return pOut end |