mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-06 17:58:05 +02:00
Remove a bunch of cruft from the engine.
Unused textures & fonts, really.
This commit is contained in:
@@ -70,14 +70,14 @@ namespace Robust.Client.ViewVariables.Instances
|
||||
var stringified = obj.ToString();
|
||||
if (type.FullName != stringified)
|
||||
{
|
||||
var smallFont = new VectorFont(_resourceCache.GetResource<FontResource>("/Fonts/CALIBRI.TTF"), 10);
|
||||
//var smallFont = new VectorFont(_resourceCache.GetResource<FontResource>("/Fonts/CALIBRI.TTF"), 10);
|
||||
// Custom ToString() implementation.
|
||||
var headBox = new VBoxContainer {SeparationOverride = 0};
|
||||
headBox.AddChild(new Label {Text = stringified, ClipText = true});
|
||||
headBox.AddChild(new Label
|
||||
{
|
||||
Text = type.FullName,
|
||||
FontOverride = smallFont,
|
||||
// FontOverride = smallFont,
|
||||
FontColorOverride = Color.DarkGray,
|
||||
ClipText = true
|
||||
});
|
||||
|
||||
@@ -121,9 +121,9 @@ namespace Robust.Client.ViewVariables
|
||||
return new Label {Text = top, ClipText = true};
|
||||
}
|
||||
|
||||
var smallFont =
|
||||
new VectorFont(IoCManager.Resolve<IResourceCache>().GetResource<FontResource>("/Fonts/CALIBRI.TTF"),
|
||||
10);
|
||||
//var smallFont =
|
||||
// new VectorFont(IoCManager.Resolve<IResourceCache>().GetResource<FontResource>("/Fonts/CALIBRI.TTF"),
|
||||
// 10);
|
||||
|
||||
// Custom ToString() implementation.
|
||||
var headBox = new VBoxContainer {SeparationOverride = 0};
|
||||
@@ -131,7 +131,7 @@ namespace Robust.Client.ViewVariables
|
||||
headBox.AddChild(new Label
|
||||
{
|
||||
Text = bottom,
|
||||
FontOverride = smallFont,
|
||||
// FontOverride = smallFont,
|
||||
FontColorOverride = Color.DarkGray,
|
||||
ClipText = true
|
||||
});
|
||||
|
||||
@@ -50,11 +50,11 @@ namespace Robust.Client.ViewVariables
|
||||
};
|
||||
VBox.AddChild(BottomContainer);
|
||||
|
||||
var smallFont = new VectorFont(_resourceCache.GetResource<FontResource>("/Fonts/CALIBRI.TTF"), 10);
|
||||
//var smallFont = new VectorFont(_resourceCache.GetResource<FontResource>("/Fonts/CALIBRI.TTF"), 10);
|
||||
|
||||
_bottomLabel = new Label
|
||||
{
|
||||
FontOverride = smallFont,
|
||||
// FontOverride = smallFont,
|
||||
FontColorOverride = Color.DarkGray
|
||||
};
|
||||
BottomContainer.AddChild(_bottomLabel);
|
||||
|
||||
Reference in New Issue
Block a user