mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-21 07:28:31 +03:00
* - add: StyleSheetify * - add: APC style * - tweak: Select only APC now! * - fix: Window positioning * - fix: animations * - add: Fancy chat * - tweak: change some margin think * - fix: add assemblies of stylesheetify for packaging * - tweak: update StyleSheetify * - add: custom LauncherConnection * - tweak: change to paper * - tweak: Update StyleSheetify * - add: fancy lobby screen * - tweak: some beauty think in lobby screen * - add: new icons * - tweak: change icons * - tweak: //WWDP EDIT * - fix: disable style while testing * - fix: Channel Popup button style revert * - fix: test again * - tweak: Update StyleSheetify
33 lines
896 B
C#
33 lines
896 B
C#
using Content.Client.Changelog;
|
|
using Content.Client.Credits;
|
|
using Robust.Client.UserInterface;
|
|
using Robust.Client.UserInterface.Controls;
|
|
using Robust.Shared.IoC;
|
|
using Robust.Shared.Localization;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Client.Info
|
|
{
|
|
public sealed class ServerInfo : BoxContainer
|
|
{
|
|
private readonly RichTextLabel _richTextLabel;
|
|
|
|
public ServerInfo()
|
|
{
|
|
Orientation = LayoutOrientation.Vertical;
|
|
|
|
_richTextLabel = new RichTextLabel
|
|
{
|
|
VerticalExpand = true
|
|
};
|
|
AddChild(_richTextLabel);
|
|
}
|
|
public void SetInfoBlob(string markup)
|
|
{
|
|
var message = FormattedMessage.FromMarkup("[font=\"Bedstead\" size=12][color=#2f2f2f]" + markup + "[/color][/font]"); // WWDP EDIT
|
|
_richTextLabel.SetMessage(message);
|
|
|
|
}
|
|
}
|
|
}
|