diff options
Diffstat (limited to 'Plugins/MonoGame.Extended/source/MonoGame.Extended.Gui/Controls/Label.cs')
-rw-r--r-- | Plugins/MonoGame.Extended/source/MonoGame.Extended.Gui/Controls/Label.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Plugins/MonoGame.Extended/source/MonoGame.Extended.Gui/Controls/Label.cs b/Plugins/MonoGame.Extended/source/MonoGame.Extended.Gui/Controls/Label.cs new file mode 100644 index 0000000..b949148 --- /dev/null +++ b/Plugins/MonoGame.Extended/source/MonoGame.Extended.Gui/Controls/Label.cs @@ -0,0 +1,14 @@ +namespace MonoGame.Extended.Gui.Controls +{ + public class Label : ContentControl + { + public Label() + { + } + + public Label(string text = null) + { + Content = text ?? string.Empty; + } + } +}
\ No newline at end of file |