Changed main application to MVC. UI rework (Configuration Page esp. in progress).

This commit is contained in:
Kevin Pope 2014-09-19 19:17:12 -07:00
parent e02655f847
commit bdef196434
29 changed files with 1301 additions and 354 deletions

View file

@ -19,6 +19,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{
TextImageButtonFactory iconTextImageButtonFactory = new TextImageButtonFactory();
iconTextImageButtonFactory.AllowThemeToAdjustImage = false;
iconTextImageButtonFactory.checkedBorderColor = RGBA_Bytes.White;
BackgroundColor = new RGBA_Bytes(0, 0, 0, 120);
iconTextImageButtonFactory.FixedHeight = 20;
@ -50,6 +51,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{
TextImageButtonFactory iconTextImageButtonFactory = new TextImageButtonFactory();
iconTextImageButtonFactory.AllowThemeToAdjustImage = false;
iconTextImageButtonFactory.checkedBorderColor = RGBA_Bytes.White;
BackgroundColor = new RGBA_Bytes(0, 0, 0, 120);
iconTextImageButtonFactory.FixedHeight = 20;

View file

@ -46,6 +46,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
textImageButtonFactory.FixedHeight = 20;
textImageButtonFactory.FixedWidth = 20;
textImageButtonFactory.AllowThemeToAdjustImage = false;
textImageButtonFactory.checkedBorderColor = RGBA_Bytes.White;
string rotateIconPath = Path.Combine("ViewTransformControls", "rotate.png");
rotateButton = textImageButtonFactory.GenerateRadioButton("", rotateIconPath);