Making static data compile time and universal

This commit is contained in:
LarsBrubaker 2020-11-25 07:39:36 -08:00
parent 0fd5b7a0f9
commit 506f2b273f
141 changed files with 13671 additions and 355 deletions

View file

@ -238,7 +238,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
titleAndTreeView.AddChild(treeView);
workspaceName.ActionArea.AddChild(
new IconButton(AggContext.StaticData.LoadIcon("fa-angle-right_12.png", 12, 12, theme.InvertIcons), theme)
new IconButton(StaticData.Instance.LoadIcon("fa-angle-right_12.png", 12, 12, theme.InvertIcons), theme)
{
Enabled = false
},
@ -286,7 +286,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
};
this.Object3DControlLayer.AddChild(viewOptionsBar);
var homeButton = new IconButton(AggContext.StaticData.LoadIcon("fa-home_16.png", 16, 16, theme.InvertIcons), theme)
var homeButton = new IconButton(StaticData.Instance.LoadIcon("fa-home_16.png", 16, 16, theme.InvertIcons), theme)
{
VAnchor = VAnchor.Absolute,
ToolTipText = "Reset View".Localize(),