Skip to main content

Class StyleModelV1

Version one of the Dalamud style model.

Assembly: Dalamud.dll
View Source
Declaration
public class StyleModelV1 : StyleModel

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

Properties

DalamudStandard

Gets the standard Dalamud look.

View Source
Declaration
public static StyleModelV1 DalamudStandard { get; }

DalamudClassic

Gets the standard Dalamud look.

View Source
Declaration
public static StyleModelV1 DalamudClassic { get; }

SerializedPrefix

Gets the version prefix for this version.

View Source
Declaration
public static string SerializedPrefix { get; }

Alpha

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

WindowPadding

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

WindowRounding

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

WindowBorderSize

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

WindowTitleAlign

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

WindowMenuButtonPosition

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

ChildRounding

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

ChildBorderSize

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

PopupRounding

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

PopupBorderSize

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

FramePadding

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

FrameRounding

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

FrameBorderSize

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

ItemSpacing

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

ItemInnerSpacing

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

CellPadding

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

TouchExtraPadding

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

IndentSpacing

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

ScrollbarSize

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

ScrollbarRounding

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

GrabMinSize

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

GrabRounding

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

LogSliderDeadzone

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

TabRounding

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

TabBorderSize

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

ButtonTextAlign

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

SelectableTextAlign

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

DisplaySafeAreaPadding

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

Colors

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

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

Methods

Get()

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

View Source
Declaration
public static StyleModelV1 Get()
Returns

Dalamud.Interface.Style.StyleModelV1: The newly created Dalamud.Interface.Style.StyleModel instance.### Apply() Apply this StyleModel via ImGui.

View Source
Declaration
public override void Apply()

Push()

Push this StyleModel into the ImGui style/color stack.

View Source
Declaration
public override void Push()