Skip to main content
Version: 15.x (API 15) [Current]

Class StyleModelV1

Version one of the Dalamud style model.

Assembly: Dalamud.dll​
Declaration
public class StyleModelV1 : StyleModel

Inheritance: System.Object -> Dalamud.Interface.Style.StyleModel

Properties​

DalamudStandard​

Gets the standard Dalamud look.

Declaration
public static StyleModelV1 DalamudStandard { get; }

DalamudClassic​

Gets the standard Dalamud look.

Declaration
public static StyleModelV1 DalamudClassic { get; }

DalamudHazy​

Gets the "hazy" Dalamud look.

Declaration
public static StyleModelV1 DalamudHazy { get; }

SerializedPrefix​

Gets the version prefix for this version.

Declaration
public static string SerializedPrefix { get; }

Alpha​

Declaration
[JsonProperty("a")]
public float Alpha { get; set; }

WindowPadding​

Declaration
[JsonProperty("b")]
public Vector2 WindowPadding { get; set; }

WindowRounding​

Declaration
[JsonProperty("c")]
public float WindowRounding { get; set; }

WindowBorderSize​

Declaration
[JsonProperty("d")]
public float WindowBorderSize { get; set; }

WindowTitleAlign​

Declaration
[JsonProperty("e")]
public Vector2 WindowTitleAlign { get; set; }

WindowMenuButtonPosition​

Declaration
[JsonProperty("f")]
public ImGuiDir WindowMenuButtonPosition { get; set; }

ChildRounding​

Declaration
[JsonProperty("g")]
public float ChildRounding { get; set; }

ChildBorderSize​

Declaration
[JsonProperty("h")]
public float ChildBorderSize { get; set; }

PopupRounding​

Declaration
[JsonProperty("i")]
public float PopupRounding { get; set; }

PopupBorderSize​

Declaration
[JsonProperty("ab")]
public float PopupBorderSize { get; set; }

FramePadding​

Declaration
[JsonProperty("j")]
public Vector2 FramePadding { get; set; }

FrameRounding​

Declaration
[JsonProperty("k")]
public float FrameRounding { get; set; }

FrameBorderSize​

Declaration
[JsonProperty("l")]
public float FrameBorderSize { get; set; }

ItemSpacing​

Declaration
[JsonProperty("m")]
public Vector2 ItemSpacing { get; set; }

ItemInnerSpacing​

Declaration
[JsonProperty("n")]
public Vector2 ItemInnerSpacing { get; set; }

CellPadding​

Declaration
[JsonProperty("o")]
public Vector2 CellPadding { get; set; }

TouchExtraPadding​

Declaration
[JsonProperty("p")]
public Vector2 TouchExtraPadding { get; set; }

IndentSpacing​

Declaration
[JsonProperty("q")]
public float IndentSpacing { get; set; }

ScrollbarSize​

Declaration
[JsonProperty("r")]
public float ScrollbarSize { get; set; }

ScrollbarRounding​

Declaration
[JsonProperty("s")]
public float ScrollbarRounding { get; set; }

GrabMinSize​

Declaration
[JsonProperty("t")]
public float GrabMinSize { get; set; }

GrabRounding​

Declaration
[JsonProperty("u")]
public float GrabRounding { get; set; }

LogSliderDeadzone​

Declaration
[JsonProperty("v")]
public float LogSliderDeadzone { get; set; }

TabRounding​

Declaration
[JsonProperty("w")]
public float TabRounding { get; set; }

TabBorderSize​

Declaration
[JsonProperty("x")]
public float TabBorderSize { get; set; }

ButtonTextAlign​

Declaration
[JsonProperty("y")]
public Vector2 ButtonTextAlign { get; set; }

SelectableTextAlign​

Declaration
[JsonProperty("z")]
public Vector2 SelectableTextAlign { get; set; }

DisplaySafeAreaPadding​

Declaration
[JsonProperty("aa")]
public Vector2 DisplaySafeAreaPadding { get; set; }

WindowBlurStrength​

Declaration
[JsonProperty("ac")]
public float WindowBlurStrength { get; set; }

WindowBlurTint​

Declaration
[JsonProperty("ad")]
public Vector4 WindowBlurTint { get; set; }

WindowBlurTintActive​

Declaration
[JsonProperty("ae")]
public Vector4 WindowBlurTintActive { get; set; }

WindowBlurLuminosity​

Declaration
[JsonProperty("af")]
public Vector4 WindowBlurLuminosity { get; set; }

Colors​

Gets or sets a dictionary mapping ImGui color names to colors.

Declaration
[JsonProperty("col")]
public Dictionary<string, Vector4> Colors { get; set; }

Methods​

Get()​

Get a Dalamud.Interface.Style.StyleModel instance via ImGui.

Declaration
public static StyleModelV1 Get()
Returns​

Dalamud.Interface.Style.StyleModelV1: The newly created Dalamud.Interface.Style.StyleModel instance.

Apply()​

Apply this StyleModel via ImGui.

Declaration
public override void Apply()

Push()​

Push this StyleModel into the ImGui style/color stack.

Declaration
public override void Push()