GuiStyleState

Undocumented in source.

Members

Variables

atlasRect
Rect atlasRect;

Defines position and sizes of controls texture in skin teture

backgroundColor
Color backgroundColor;
Undocumented in source.
contentPadding
RectOffset contentPadding;

Defines offset of content rect from widget borders.

fixedBorders
RectOffset fixedBorders;

Defines non-stretchable borders of texture. Corner parts will stay non-stretched. Left/right sides will be stretched vertically. Top/bottom sides will be stretched horizontally. Middle part will be stretched

maxSize
ivec2 maxSize;

Maximal size of the widget. By default equal to [0,0]. If maxSize is zero maxSize is not limited.

minSize
ivec2 minSize;

Minimal size of the widget. If not explicitly specified equal to atlasRect size. It is highly recommended to set it to size equal or greater than atlasRect size to prevent glitches.

outline
RectOffset outline;

Defines outline of skin rect. Useful for drawing highlighting. If skin has drawn outline, with this parameter set guiRenderer will draw that sides outside of rect.

textColor
Color textColor;
Undocumented in source.

Meta