Customizable statusbar
This commit is contained in:
@@ -164,6 +164,12 @@ namespace FlaxEngine.GUI
|
||||
[EditorOrder(200)]
|
||||
public Color ProgressNormal;
|
||||
|
||||
/// <summary>
|
||||
/// The status bar style
|
||||
/// </summary>
|
||||
[EditorOrder(210)]
|
||||
public StatusbarStyle Statusbar;
|
||||
|
||||
/// <summary>
|
||||
/// The arrow right icon.
|
||||
/// </summary>
|
||||
@@ -241,5 +247,37 @@ namespace FlaxEngine.GUI
|
||||
/// </summary>
|
||||
[EditorOrder(340)]
|
||||
public Tooltip SharedTooltip;
|
||||
|
||||
/// <summary>
|
||||
/// Style for the Statusbar
|
||||
/// </summary>
|
||||
[System.Serializable, ShowInEditor]
|
||||
public struct StatusbarStyle
|
||||
{
|
||||
/// <summary>
|
||||
/// Color of the text in the Statusbar
|
||||
/// </summary>
|
||||
public Color TextColor;
|
||||
|
||||
/// <summary>
|
||||
/// Color of the Statusbar in its default state
|
||||
/// </summary>
|
||||
public Color Normal;
|
||||
|
||||
/// <summary>
|
||||
/// Color of the Statusbar when in Play Mode
|
||||
/// </summary>
|
||||
public Color PlayMode;
|
||||
|
||||
/// <summary>
|
||||
/// Color of the Statusbar when in loading state (e.g. when importing assets)
|
||||
/// </summary>
|
||||
public Color Loading;
|
||||
|
||||
/// <summary>
|
||||
/// Color of the Statusbar in its failed state (e.g. with compilation errors)
|
||||
/// </summary>
|
||||
public Color Failed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user