Revise naming to reflect behavior

This commit is contained in:
John Lewin 2017-09-13 21:38:34 -07:00
parent e1700dadcd
commit c00f7c2139
3 changed files with 8 additions and 8 deletions

View file

@ -396,7 +396,7 @@
<Compile Include="Utilities\WebUtilities\RequestManager.cs" /> <Compile Include="Utilities\WebUtilities\RequestManager.cs" />
<Compile Include="SettingsManagement\ApplicationSettings.cs" /> <Compile Include="SettingsManagement\ApplicationSettings.cs" />
<Compile Include="SettingsManagement\UserSettings.cs" /> <Compile Include="SettingsManagement\UserSettings.cs" />
<Compile Include="SlicerConfiguration\SettingsControlBar.cs" /> <Compile Include="SlicerConfiguration\PresetsToolbar.cs" />
<Compile Include="SlicerConfiguration\SliceSettingsWidget.cs" /> <Compile Include="SlicerConfiguration\SliceSettingsWidget.cs" />
<Compile Include="SlicerConfiguration\SliceSettingsOrganizer.cs" /> <Compile Include="SlicerConfiguration\SliceSettingsOrganizer.cs" />
<Compile Include="SlicerConfiguration\SlicingQueue.cs" /> <Compile Include="SlicerConfiguration\SlicingQueue.cs" />

View file

@ -1,5 +1,5 @@
/* /*
Copyright (c) 2014, Kevin Pope Copyright (c) 2017, Kevin Pope, John Lewin
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
@ -27,19 +27,19 @@ of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project. either expressed or implied, of the FreeBSD Project.
*/ */
using System.Collections.Generic;
using MatterHackers.Agg; using MatterHackers.Agg;
using MatterHackers.Agg.UI; using MatterHackers.Agg.UI;
using MatterHackers.Localizations; using MatterHackers.Localizations;
using System;
using System.Collections.Generic;
using MatterHackers.MatterControl.PrinterCommunication; using MatterHackers.MatterControl.PrinterCommunication;
namespace MatterHackers.MatterControl.SlicerConfiguration namespace MatterHackers.MatterControl.SlicerConfiguration
{ {
public class SettingsControlBar : FlowLayoutWidget public class PresetsToolbar : FlowLayoutWidget
{ {
PrinterConnection printerConnection; PrinterConnection printerConnection;
public SettingsControlBar(PrinterConnection printerConnection)
public PresetsToolbar(PrinterConnection printerConnection)
{ {
this.printerConnection = printerConnection; this.printerConnection = printerConnection;
this.HAnchor = HAnchor.Stretch; this.HAnchor = HAnchor.Stretch;

View file

@ -70,7 +70,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
public class SliceSettingsWidget : GuiWidget public class SliceSettingsWidget : GuiWidget
{ {
private TabControl topCategoryTabs; private TabControl topCategoryTabs;
internal SettingsControlBar settingsControlBar; internal PresetsToolbar settingsControlBar;
private FlowLayoutWidget pageTopToBottomLayout; private FlowLayoutWidget pageTopToBottomLayout;
private SettingsContext settingsContext; private SettingsContext settingsContext;
@ -96,7 +96,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
pageTopToBottomLayout.AnchorAll(); pageTopToBottomLayout.AnchorAll();
this.AddChild(pageTopToBottomLayout); this.AddChild(pageTopToBottomLayout);
settingsControlBar = new SettingsControlBar(printerConnection) settingsControlBar = new PresetsToolbar(printerConnection)
{ {
HAnchor = HAnchor.Stretch, HAnchor = HAnchor.Stretch,
Padding = new BorderDouble(8, 12, 8, 8) Padding = new BorderDouble(8, 12, 8, 8)