ImGui.Core:getStyle

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Available since: Gideros 2020.9
Class: ImGui

Description

Accesses the current Style structure (colors, sizes).

(style) = ImGui:getStyle()

Always use pushStyleColor(), pushStyleVar() to modify style mid-frame!

Return values

Returns (style) the ImGui current style

Example

local ui = ImGui.new() 
local style = ui:getStyle()