2020-01-09 00:27:52 +01:00
|
|
|
using Robust.Client.UserInterface.Controls;
|
|
|
|
|
using Robust.Shared.Utility;
|
2021-12-13 02:25:42 +00:00
|
|
|
using Robust.Shared.Utility.Markup;
|
2020-01-09 00:27:52 +01:00
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Client.Message
|
2020-01-09 00:27:52 +01:00
|
|
|
{
|
|
|
|
|
public static class RichTextLabelExt
|
|
|
|
|
{
|
|
|
|
|
public static void SetMarkup(this RichTextLabel label, string markup)
|
|
|
|
|
{
|
2021-12-13 02:25:42 +00:00
|
|
|
label.SetMessage(Basic.RenderMarkup(markup));
|
2020-01-09 00:27:52 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|