1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-01 05:10:50 +01:00
MLEM/MLEM.Ui/Format/FormattingCode.cs

29 lines
560 B
C#
Raw Normal View History

2019-08-24 00:07:54 +02:00
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
}
}