User Tools

Site Tools


addons:functions:imgui.style

This is an old revision of the document!


ImGui Style Table

The ImGui Style table the current visual style of ImGui and the various properties that can alter it.


Accessing ImGui Style Table

Within an addon, you can access the ImGui Style table via 'imgui.style'.

local style = imgui.style;

ImGui Style Table Notes

Please note! The imgui.style table differs from the main imgui functions! Please be sure to read the following notes carefully!!

The imgui.style table differs from the functions found within the 'imgui' table. The style table is implemented in a different manner and can make use of certain types such as ImVec2, ImVec4, etc. Because of this, things are used a little differently. But it should be straight forward enough.

Here are some examples of how you can make use of the imgui.style table properties:

addons/functions/imgui.style.1466580362.txt.gz · Last modified: 2016/06/22 00:26 by atom0s