Table of Contents

Class GuiStyle

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll

A class containing common values for elements before scaling is applied.

public static class GuiStyle
Inheritance
GuiStyle
Inherited Members

Fields

ActiveButtonTextColor

A hover color for the light brown text.

public static double[] ActiveButtonTextColor

Field Value

double[]

ActiveSlotColor

The color of the actively selected slot overlay

public static double[] ActiveSlotColor

Field Value

double[]

ButtonTextColor

A light brown text color.

public static double[] ButtonTextColor

Field Value

double[]

ColorParchment

public static double[] ColorParchment

Field Value

double[]

ColorRot1

public static double[] ColorRot1

Field Value

double[]

ColorRot2

public static double[] ColorRot2

Field Value

double[]

ColorRot3

public static double[] ColorRot3

Field Value

double[]

ColorRot4

public static double[] ColorRot4

Field Value

double[]

ColorRot5

public static double[] ColorRot5

Field Value

double[]

ColorRust1

public static double[] ColorRust1

Field Value

double[]

ColorRust2

public static double[] ColorRust2

Field Value

double[]

ColorRust3

public static double[] ColorRust3

Field Value

double[]

ColorSchematic

public static double[] ColorSchematic

Field Value

double[]

ColorTime1

public static double[] ColorTime1

Field Value

double[]

ColorTime2

public static double[] ColorTime2

Field Value

double[]

ColorWood

public static double[] ColorWood

Field Value

double[]

DamageColorGradient

A 100 step gradient from green to red, to be used to show durability, damage or any state other of decay

public static int[] DamageColorGradient

Field Value

int[]

DarkBrownColor

A color for a darker brown.

public static double[] DarkBrownColor

Field Value

double[]

DecorativeFontName

The decorative font type. "Lora".

public static string DecorativeFontName

Field Value

string

DetailFontSize

The font size used for specific details like Item Stack size info. 14.

public static double DetailFontSize

Field Value

double

DialogAlternateBgColor

The alternate background color for dialogs.

public static double[] DialogAlternateBgColor

Field Value

double[]

DialogBGRadius

The radius of the dialogue background. 1.

public static double DialogBGRadius

Field Value

double

DialogBorderColor

The default dialog border color

public static double[] DialogBorderColor

Field Value

double[]

DialogDefaultBgColor

The default background color for dialogs.

public static double[] DialogDefaultBgColor

Field Value

double[]

DialogDefaultTextColor

The default text color for any given dialog.

public static double[] DialogDefaultTextColor

Field Value

double[]

DialogHighlightColor

The Highlight color for dialogs.

public static double[] DialogHighlightColor

Field Value

double[]

DialogLightBgColor

The light background color for dialogs.

public static double[] DialogLightBgColor

Field Value

double[]

DialogSlotBackColor

public static double[] DialogSlotBackColor

Field Value

double[]

DialogSlotFrontColor

public static double[] DialogSlotFrontColor

Field Value

double[]

DialogStrongBgColor

The strong background color for dialogs.

public static double[] DialogStrongBgColor

Field Value

double[]

DialogToScreenPadding

The padding between the dialogue and the screen. 10f.

public static double DialogToScreenPadding

Field Value

double

DisabledTextColor

The text color for a disabled object.

public static double[] DisabledTextColor

Field Value

double[]

DiscoveryTextColor

public static double[] DiscoveryTextColor

Field Value

double[]

ElementBGRadius

The radius of the element background. 1.

public static double ElementBGRadius

Field Value

double

ElementToDialogPadding

The padding between the element and the dialogue. 20f.

public static double ElementToDialogPadding

Field Value

double

ErrorTextColor

The color of the error text.

public static double[] ErrorTextColor

Field Value

double[]

ErrorTextColorHex

public static string ErrorTextColorHex

Field Value

string

FoodBarColor

The color of the food bar.

public static double[] FoodBarColor

Field Value

double[]

HalfPadding

The padding between other things. 5f.

public static double HalfPadding

Field Value

double

HealthBarColor

The color of the health bar.

public static double[] HealthBarColor

Field Value

double[]

HotbarNumberTextColor

The color of the 1..9 numbers on the hotbar slots

public static double[] HotbarNumberTextColor

Field Value

double[]

LargeFontSize

The size of the large font. 40.

public static double LargeFontSize

Field Value

double

LeftDialogMargin

Set by the client, loaded from the clientsettings.json. Used by ElementBounds to add a margin for left/right aligned dialogs

public static int LeftDialogMargin

Field Value

int

LinkTextColor

The color of the the link text.

public static double[] LinkTextColor

Field Value

double[]

MacroIconColor

The color of the macro icon.

public static double[] MacroIconColor

Field Value

double[]

NormalFontSize

The size of the normal fonts. Used for text boxes. 30.

public static double NormalFontSize

Field Value

double

OxygenBarColor

The color of the oxygen bar

public static double[] OxygenBarColor

Field Value

double[]

RightDialogMargin

Set by the client, loaded from the clientsettings.json. Used by ElementBounds to add a margin for left/right aligned dialogs

public static int RightDialogMargin

Field Value

int

SmallFontSize

The smallest font size used in the game that isn't used with itemstacks. 16.

public static double SmallFontSize

Field Value

double

SmallishFontSize

The smaller fonts. 20.

public static double SmallishFontSize

Field Value

double

StandardFontName

The standard font "Montserrat".

public static string StandardFontName

Field Value

string

SubNormalFontSize

The fonts that are slightly smaller than normal fonts. 24.

public static double SubNormalFontSize

Field Value

double

SuccessTextColor

public static double[] SuccessTextColor

Field Value

double[]

SuccessTextColorHex

public static string SuccessTextColorHex

Field Value

string

TitleBarColor

The color of the title bar.

public static double[] TitleBarColor

Field Value

double[]

TitleBarHeight

The height of the title bar. 30.

public static double TitleBarHeight

Field Value

double

WarningTextColor

The color of the error text.

public static double[] WarningTextColor

Field Value

double[]

XPBarColor

The color of the XP bar.

public static double[] XPBarColor

Field Value

double[]