1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-23 05:08:34 +01:00
MLEM/MLEM.Ui/Format/FormattingCode.cs
2019-08-24 00:07:54 +02:00

29 lines
No EOL
560 B
C#

using Microsoft.Xna.Framework;
namespace MLEM.Ui.Format {
public class FormattingCode {
public readonly Color Color;
public readonly TextStyle Style;
public readonly bool IsColorCode;
public FormattingCode(Color color) {
this.Color = color;
this.IsColorCode = true;
}
public FormattingCode(TextStyle style) {
this.Style = style;
this.IsColorCode = false;
}
}
public enum TextStyle {
Regular,
Bold,
Italic
}
}