ImGuiStorage

imguicpp.ImGuiStorage (extern class)

Static Members

clear(self: cpp.Star): Void
Name Type
self cpp.Star

getInt(self: cpp.Star, key: UInt, ?defaultVal: Int = 0): Int
Name Type Default
self cpp.Star
key UInt
defaultVal Int 0
Returns
Int

setInt(self: cpp.Star, key: UInt, val: Int): Void
Name Type
self cpp.Star
key UInt
val Int

getBool(self: cpp.Star, key: UInt, ?defaultVal: Bool = false): Bool
Name Type Default
self cpp.Star
key UInt
defaultVal Bool false
Returns
Bool

setBool(self: cpp.Star, key: UInt, val: Bool): Void
Name Type
self cpp.Star
key UInt
val Bool

getFloat(self: cpp.Star, key: UInt, ?defaultVal: cpp.Float32 = 0.0): cpp.Float32
Name Type Default
self cpp.Star
key UInt
defaultVal cpp.Float32 0.0
Returns
cpp.Float32

setFloat(self: cpp.Star, key: UInt, val: cpp.Float32): Void
Name Type
self cpp.Star
key UInt
val cpp.Float32

getVoidPtr(self: cpp.Star, key: UInt): cpp.RawPointer<cpp.Void>

default_val is NULL

Name Type
self cpp.Star
key UInt
Returns
cpp.RawPointer<cpp.Void>

setVoidPtr(self: cpp.Star, key: UInt, val: cpp.RawPointer<cpp.Void>): Void
Name Type
self cpp.Star
key UInt
val cpp.RawPointer<cpp.Void>

getIntRef(self: cpp.Star, key: UInt, ?defaultVal: Int = 0): cpp.Star
Name Type Default
self cpp.Star
key UInt
defaultVal Int 0
Returns
cpp.Star

getBoolRef(self: cpp.Star, key: UInt, ?defaultVal: Bool = false): cpp.Star
Name Type Default
self cpp.Star
key UInt
defaultVal Bool false
Returns
cpp.Star

getFloatRef(self: cpp.Star, key: UInt, ?defaultVal: cpp.Float32 = 0.0): cpp.Star
Name Type Default
self cpp.Star
key UInt
defaultVal cpp.Float32 0.0
Returns
cpp.Star

getVoidPtrRef(self: cpp.Star, key: UInt, ?defaultVal: cpp.RawPointer<cpp.Void> = null): cpp.RawPointer<Void>
Name Type Default
self cpp.Star
key UInt
defaultVal cpp.RawPointer<cpp.Void> null
Returns
cpp.RawPointer<Void>

buildSortByKey(self: cpp.Star): Void
Name Type
self cpp.Star

setAllInt(self: cpp.Star, val: Int): Void
Name Type
self cpp.Star
val Int

Metadata

Name Parameters
:structAccess -
:include "linc_imgui.h"