Search Results for

    Show / Hide Table of Contents

    Class Style

    Describes GUI controls style (which fonts and colors use etc.). Defines the default values used by the GUI control.s

    Inheritance
    System.Object
    Style
    Namespace: FlaxEngine.GUI
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public class Style : Object

    Constructors

    Style()

    Declaration
    public Style()

    Fields

    ArrowDown

    The arrow down icon.

    Declaration
    [EditorOrder(230)]
    public SpriteHandle ArrowDown
    Field Value
    SpriteHandle

    ArrowRight

    The arrow right icon.

    Declaration
    [EditorOrder(220)]
    public SpriteHandle ArrowRight
    Field Value
    SpriteHandle

    Background

    The background color.

    Declaration
    [EditorOrder(60)]
    public Color Background
    Field Value
    Color

    BackgroundHighlighted

    The background highlighted color.

    Declaration
    [EditorOrder(120)]
    public Color BackgroundHighlighted
    Field Value
    Color

    BackgroundNormal

    The background normal color.

    Declaration
    [EditorOrder(160)]
    public Color BackgroundNormal
    Field Value
    Color

    BackgroundSelected

    The background selected color.

    Declaration
    [EditorOrder(140)]
    public Color BackgroundSelected
    Field Value
    Color

    BorderHighlighted

    The border highlighted color.

    Declaration
    [EditorOrder(130)]
    public Color BorderHighlighted
    Field Value
    Color

    BorderNormal

    The border normal color.

    Declaration
    [EditorOrder(170)]
    public Color BorderNormal
    Field Value
    Color

    BorderSelected

    The border selected color.

    Declaration
    [EditorOrder(150)]
    public Color BorderSelected
    Field Value
    Color

    CheckBoxIntermediate

    The CheckBox intermediate icon.

    Declaration
    [EditorOrder(270)]
    public SpriteHandle CheckBoxIntermediate
    Field Value
    SpriteHandle

    CheckBoxTick

    The CheckBox tick icon.

    Declaration
    [EditorOrder(280)]
    public SpriteHandle CheckBoxTick
    Field Value
    SpriteHandle

    CollectionBackgroundColor

    The collection background color.

    Declaration
    [EditorOrder(195)]
    public Color CollectionBackgroundColor
    Field Value
    Color

    Cross

    The cross icon.

    Declaration
    [EditorOrder(260)]
    public SpriteHandle Cross
    Field Value
    SpriteHandle

    DragWindow

    The drag window color.

    Declaration
    [EditorOrder(80)]
    public Color DragWindow
    Field Value
    Color

    Foreground

    The foreground color.

    Declaration
    [EditorOrder(90)]
    public Color Foreground
    Field Value
    Color

    ForegroundDisabled

    The foreground disabled.

    Declaration
    [EditorOrder(110)]
    public Color ForegroundDisabled
    Field Value
    Color

    ForegroundGrey

    The foreground grey.

    Declaration
    [EditorOrder(100)]
    public Color ForegroundGrey
    Field Value
    Color

    ForegroundViewport

    The foreground color in viewports (usually have a dark background)

    Declaration
    [EditorOrder(115)]
    public Color ForegroundViewport
    Field Value
    Color

    LightBackground

    The light background color.

    Declaration
    [EditorOrder(70)]
    public Color LightBackground
    Field Value
    Color

    ProgressNormal

    The progress normal color.

    Declaration
    [EditorOrder(200)]
    public Color ProgressNormal
    Field Value
    Color

    Rotate

    The rotate icon.

    Declaration
    [EditorOrder(310)]
    public SpriteHandle Rotate
    Field Value
    SpriteHandle

    Scalar

    The scalar icon.

    Declaration
    [EditorOrder(330)]
    public SpriteHandle Scalar
    Field Value
    SpriteHandle

    Scale

    The scale icon.

    Declaration
    [EditorOrder(320)]
    public SpriteHandle Scale
    Field Value
    SpriteHandle

    Search

    The search icon.

    Declaration
    [EditorOrder(240)]
    public SpriteHandle Search
    Field Value
    SpriteHandle

    Selection

    The selection and drag drop highlights colors.

    Declaration
    [EditorOrder(205)]
    public Color Selection
    Field Value
    Color

    SelectionBorder

    The selection and drag drop highlights border colors.

    Declaration
    [EditorOrder(206)]
    public Color SelectionBorder
    Field Value
    Color

    Settings

    The settings icon.

    Declaration
    [EditorOrder(250)]
    public SpriteHandle Settings
    Field Value
    SpriteHandle

    SharedTooltip

    The shared tooltip control used by the controls if no custom tooltip is provided.

    Declaration
    [EditorOrder(340)]
    public Tooltip SharedTooltip
    Field Value
    FlaxEngine.GUI.Tooltip

    Statusbar

    The status bar style

    Declaration
    [EditorOrder(210)]
    public Style.StatusbarStyle Statusbar
    Field Value
    Style.StatusbarStyle

    StatusBarSizeGrip

    The status bar size grip icon.

    Declaration
    [EditorOrder(290)]
    public SpriteHandle StatusBarSizeGrip
    Field Value
    SpriteHandle

    TextBoxBackground

    The text box background color.

    Declaration
    [EditorOrder(180)]
    public Color TextBoxBackground
    Field Value
    Color

    TextBoxBackgroundSelected

    The text box background selected color.

    Declaration
    [EditorOrder(190)]
    public Color TextBoxBackgroundSelected
    Field Value
    Color

    Translate

    The translate icon.

    Declaration
    [EditorOrder(300)]
    public SpriteHandle Translate
    Field Value
    SpriteHandle

    Properties

    Current

    Global GUI style used by all the controls.

    Declaration
    public static Style Current { get; set; }
    Property Value
    Style

    FontLarge

    The font large.

    Declaration
    [NoSerialize]
    [EditorOrder(20)]
    public Font FontLarge { get; set; }
    Property Value
    Font

    FontMedium

    The font medium.

    Declaration
    [NoSerialize]
    [EditorOrder(30)]
    public Font FontMedium { get; set; }
    Property Value
    Font

    FontSmall

    The font small.

    Declaration
    [NoSerialize]
    [EditorOrder(40)]
    public Font FontSmall { get; set; }
    Property Value
    Font

    FontTitle

    The font title.

    Declaration
    [NoSerialize]
    [EditorOrder(10)]
    public Font FontTitle { get; set; }
    Property Value
    Font

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.DeepClone<T>(T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat