Improve naming

This commit is contained in:
John Lewin 2018-01-21 11:17:50 -08:00
parent 111eb0c139
commit 01b61a4f49
4 changed files with 6 additions and 6 deletions

View file

@ -91,6 +91,7 @@
<Compile Include="PartPreviewWindow\LibraryBrowserPage.cs" />
<Compile Include="PartPreviewWindow\MaterialControls.cs" />
<Compile Include="PartPreviewWindow\MoveItemPage.cs" />
<Compile Include="PartPreviewWindow\OverflowMenuButton.cs" />
<Compile Include="PartPreviewWindow\View3D\Actions\SubtractAndReplace.cs" />
<Compile Include="PartPreviewWindow\View3D\PrinterBar\OverflowBar.cs" />
<Compile Include="PartPreviewWindow\View3D\PrinterBar\PrintPopupMenu.cs" />
@ -230,7 +231,6 @@
<Compile Include="Library\Providers\Zip\ZipMemoryContainer.cs" />
<Compile Include="PartPreviewWindow\GCodeDetails.cs" />
<Compile Include="PartPreviewWindow\GCodeDetailsView.cs" />
<Compile Include="PartPreviewWindow\OverflowMenu.cs" />
<Compile Include="PartPreviewWindow\PlusTab\PlusTabPage.cs" />
<Compile Include="PartPreviewWindow\MainTab.cs" />
<Compile Include="PartPreviewWindow\PrinterTabPage.cs" />

View file

@ -34,9 +34,9 @@ using MatterHackers.Localizations;
namespace MatterHackers.MatterControl.PartPreviewWindow
{
public class OverflowMenu : PopupMenuButton
public class OverflowMenuButton : PopupMenuButton
{
public OverflowMenu(IconColor iconColor = IconColor.Theme)
public OverflowMenuButton(IconColor iconColor = IconColor.Theme)
: base(new ImageWidget(
AggContext.StaticData.LoadIcon(Path.Combine("ViewTransformControls", "overflow.png"),
32,
@ -50,7 +50,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
this.ToolTipText = "More...".Localize();
}
public OverflowMenu(GuiWidget viewWidget, ThemeConfig theme)
public OverflowMenuButton(GuiWidget viewWidget, ThemeConfig theme)
: base(viewWidget, theme)
{
}

View file

@ -62,7 +62,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
this.SetRightAnchorItem(this.OverflowMenu);
}
public OverflowMenu OverflowMenu { get; }
public OverflowMenuButton OverflowMenu { get; }
// On load walk back to the first ancestor with background colors and copy
public override void OnLoad(EventArgs args)

View file

@ -37,7 +37,7 @@ using MatterHackers.MatterControl.PartPreviewWindow;
namespace MatterHackers.MatterControl.SlicerConfiguration
{
public class SliceSettingsOverflowMenu : OverflowMenu
public class SliceSettingsOverflowMenu : OverflowMenuButton
{
// showHelpControls
public SliceSettingsOverflowMenu(PrinterConfig printer)