struct ImGui::ImGuiStorage

Overview

struct ImGuiStorage

Included Modules

Defined in:

obj.cr
types.cr

Constructors

Instance Method Summary

Instance methods inherited from module ImGui::StructType

to_unsafe to_unsafe

Constructor Detail

def self.new(data : LibImGui::ImVectorInternal) #

[View source]

Instance Method Detail

def build_sort_by_key : Void #

[View source]
def clear : Void #

[View source]
def data : ImVector(LibImGui::ImGuiStoragePair) #

[View source]
def data=(data : LibImGui::ImVectorInternal) #

[View source]
def data=(data : ImVector(LibImGui::ImGuiStoragePair)) #

[View source]
def get_bool(key : ImGuiID, default_val : Bool = false) : Bool #

[View source]
def get_bool_ref(key : ImGuiID, default_val : Bool = false) : Pointer(Bool) #

[View source]
def get_float(key : ImGuiID, default_val : Float32 = 0.0) : Float32 #

[View source]
def get_float_ref(key : ImGuiID, default_val : Float32 = 0.0) : Pointer(Float32) #

[View source]
def get_int(key : ImGuiID, default_val : Int32 = 0) : Int32 #

[View source]
def get_int_ref(key : ImGuiID, default_val : Int32 = 0) : Pointer(Int32) #

[View source]
def get_void_ptr(key : ImGuiID) : Pointer(Void) #

default_val is NULL

ImGuiStorage::GetVoidPtr()


[View source]
def get_void_ptr_ref(key : ImGuiID, default_val : Pointer(Void) = Pointer(Void).null) : Pointer(Pointer(Void)) #

[View source]
def set_all_int(val : Int32) : Void #

[View source]
def set_bool(key : ImGuiID, val : Bool) : Void #

[View source]
def set_float(key : ImGuiID, val : Float32) : Void #

[View source]
def set_int(key : ImGuiID, val : Int32) : Void #

[View source]
def set_void_ptr(key : ImGuiID, val : Pointer(Void)) : Void #

[View source]