1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-29 23:58:34 +01:00
MLEM/MLEM.Ui/Style/UiStyle.cs

50 lines
1.9 KiB
C#
Raw Normal View History

2020-05-15 19:55:59 +02:00
using System;
2019-08-10 21:37:10 +02:00
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
2019-08-10 21:37:10 +02:00
using MLEM.Font;
using MLEM.Formatting;
using MLEM.Misc;
2019-08-10 21:37:10 +02:00
using MLEM.Textures;
namespace MLEM.Ui.Style {
public class UiStyle : GenericDataHolder {
2019-08-10 21:37:10 +02:00
2019-08-28 18:27:17 +02:00
public NinePatch SelectionIndicator;
2019-08-10 21:37:10 +02:00
public NinePatch ButtonTexture;
public NinePatch ButtonHoveredTexture;
public Color ButtonHoveredColor;
2020-01-15 17:05:28 +01:00
public NinePatch ButtonDisabledTexture;
public Color ButtonDisabledColor;
2019-08-10 21:37:10 +02:00
public NinePatch PanelTexture;
public NinePatch TextFieldTexture;
public NinePatch TextFieldHoveredTexture;
public Color TextFieldHoveredColor;
public NinePatch ScrollBarBackground;
public NinePatch ScrollBarScrollerTexture;
public NinePatch CheckboxTexture;
public NinePatch CheckboxHoveredTexture;
public Color CheckboxHoveredColor;
public TextureRegion CheckboxCheckmark;
public NinePatch RadioTexture;
public NinePatch RadioHoveredTexture;
public Color RadioHoveredColor;
public TextureRegion RadioCheckmark;
2019-08-13 23:54:29 +02:00
public NinePatch TooltipBackground;
public Vector2 TooltipOffset;
2019-09-10 23:28:25 +02:00
public NinePatch ProgressBarTexture;
public Color ProgressBarColor;
public Vector2 ProgressBarProgressPadding;
2019-09-10 23:28:25 +02:00
public NinePatch ProgressBarProgressTexture;
public Color ProgressBarProgressColor;
2020-03-28 22:25:06 +01:00
public GenericFont Font;
[Obsolete("Use the new GenericFont.Bold and GenericFont.Italic instead")]
2020-03-28 22:25:06 +01:00
public GenericFont BoldFont;
[Obsolete("Use the new GenericFont.Bold and GenericFont.Italic instead")]
2020-03-28 22:25:06 +01:00
public GenericFont ItalicFont;
2020-05-15 19:55:59 +02:00
[Obsolete("Use the new text formatting system in MLEM.Formatting instead")]
public FormatSettings FormatSettings;
2019-08-10 21:37:10 +02:00
public float TextScale = 1;
public SoundEffect ActionSound;
2019-08-28 18:27:17 +02:00
2019-08-10 21:37:10 +02:00
}
}