2020-05-15 19:55:59 +02:00
|
|
|
using System;
|
2019-08-10 21:37:10 +02:00
|
|
|
using Microsoft.Xna.Framework;
|
2020-01-14 22:39:40 +01:00
|
|
|
using Microsoft.Xna.Framework.Audio;
|
2019-08-10 21:37:10 +02:00
|
|
|
using MLEM.Font;
|
2019-12-26 19:30:17 +01:00
|
|
|
using MLEM.Formatting;
|
2020-03-21 00:49:43 +01:00
|
|
|
using MLEM.Misc;
|
2019-08-10 21:37:10 +02:00
|
|
|
using MLEM.Textures;
|
|
|
|
|
|
|
|
namespace MLEM.Ui.Style {
|
2020-03-21 00:49:43 +01:00
|
|
|
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;
|
2019-08-12 19:44:16 +02:00
|
|
|
public NinePatch ScrollBarBackground;
|
|
|
|
public NinePatch ScrollBarScrollerTexture;
|
2019-08-13 21:23:20 +02:00
|
|
|
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;
|
2019-12-31 14:08:13 +01:00
|
|
|
public Vector2 TooltipOffset;
|
2019-09-10 23:28:25 +02:00
|
|
|
public NinePatch ProgressBarTexture;
|
|
|
|
public Color ProgressBarColor;
|
2019-11-02 14:53:59 +01:00
|
|
|
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;
|
2020-05-17 00:10:29 +02:00
|
|
|
[Obsolete("Use the new GenericFont.Bold and GenericFont.Italic instead")]
|
2020-03-28 22:25:06 +01:00
|
|
|
public GenericFont BoldFont;
|
2020-05-17 00:10:29 +02:00
|
|
|
[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")]
|
2019-12-26 19:30:17 +01:00
|
|
|
public FormatSettings FormatSettings;
|
2019-08-10 21:37:10 +02:00
|
|
|
public float TextScale = 1;
|
2020-01-14 22:41:52 +01:00
|
|
|
public SoundEffect ActionSound;
|
2019-08-28 18:27:17 +02:00
|
|
|
|
2019-08-10 21:37:10 +02:00
|
|
|
}
|
|
|
|
}
|