struct ImGui::ImGuiViewport

Overview

struct ImGuiViewport

Included Modules

Defined in:

obj.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new : ImGuiViewport #

[View source]

Instance Method Detail

def flags : ImGuiViewportFlags #

See ImGuiViewportFlags_


[View source]
def flags=(flags : ImGuiViewportFlags) #

[View source]
def get_center : ImGui::ImVec2 #

[View source]
def get_work_center : ImGui::ImVec2 #

[View source]
def platform_handle_raw : Pointer(Void) #

void* to hold lower-level, platform-native window handle (under Win32 this is expected to be a HWND, unused for other platforms)


[View source]
def platform_handle_raw=(platform_handle_raw : Pointer(Void)) #

[View source]
def pos : ImVec2 #

Main Area: Position of the viewport (Dear ImGui coordinates are the same as OS desktop/native coordinates)


[View source]
def pos=(pos : ImVec2) #

[View source]
def size : ImVec2 #

Main Area: Size of the viewport.


[View source]
def size=(size : ImVec2) #

[View source]
def to_unsafe : Pointer(T) #

[View source]
def work_pos : ImVec2 #

Work Area: Position of the viewport minus task bars, menus bars, status bars (>= Pos)


[View source]
def work_pos=(work_pos : ImVec2) #

[View source]
def work_size : ImVec2 #

Work Area: Size of the viewport minus task bars, menu bars, status bars (<= Size)


[View source]
def work_size=(work_size : ImVec2) #

[View source]