Remove helper method

This commit is contained in:
John Lewin 2018-05-06 07:57:15 -07:00
parent d2de4cbabc
commit 9aa8bb80b1
4 changed files with 13 additions and 14 deletions

View file

@ -75,11 +75,6 @@ namespace MatterHackers.MatterControl
private double FixedHeight => Options.FixedHeight;
private double ImageSpacing => Options.ImageSpacing;
public GuiWidget GenerateIconButton(ImageBuffer icon)
{
return new IconButton(icon, ApplicationController.Instance.Theme);
}
public CheckBox GenerateCheckBoxButton(string label, ImageBuffer normalImage, ImageBuffer normalToPressedImage = null, ImageBuffer pressedImage = null, ImageBuffer pressedToNormalImage = null, string pressedLabel = null)
{
if (pressedImage == null) pressedImage = normalImage;