Commit graph

21 commits

Author SHA1 Message Date
John Lewin
af4838531e Revise theme selector 2017-06-19 18:50:07 -07:00
John Lewin
291ae92eb4 Refactor ThemeControl 2017-06-16 21:50:24 -07:00
Matt Moening
a23b66e966 Creating a new printer maintains the current color
- The color is also set as the printer's active theme
2016-10-18 11:19:04 -07:00
Matt Moening
6b586be835 Fixed color behavior for users with unset default
-  When both the user and oem settings are unset we now both set the active theme color to be blue and set this as the user default
 - Removed redundant null check/fallback.
2016-10-17 12:55:18 -07:00
Matt Moening
076619d0eb Fix Regression in user color preservation
- Setting color for a printer sets value in user settings
 - use UserSetting color as default for loading theme color
 - if Active slice settings dont have an active theme set it to default
 - If user setting  theme is null attempt to load OemColor preference and set as user setting theme
2016-10-10 12:55:14 -07:00
Lars Brubaker
22bca53d69 Changed the theme colors to save by name
fixed linux run bug MatterHackers/MCCentral#344

ActiveTheme does not recreate its data all the time
2016-08-31 11:42:02 -07:00
John Lewin
1e57909497 Migrate active_theme_index to SettingsKey 2016-07-24 07:45:33 -07:00
John Lewin
54d165d15f Consolidate member names 2016-07-18 16:58:25 -07:00
Lars Brubaker
7f85f168d5 Took out the prepend of MatterControl on profile settings and made them consistent lower case underscore. 2016-06-16 16:35:10 -07:00
John Lewin
be33adcff2 Fix merge issues with active Theme state 2016-06-07 17:50:41 -07:00
John Lewin
e5a63b052e Migrate Theme support to Agg.UI 2016-06-03 17:22:19 -07:00
John Lewin
284b2d8c24 Per printer themes
- Fixes #738
2016-05-12 07:30:11 -07:00
Lars Brubaker
b51b38b249 Moved TextWidget.GlobalPointSizeScaleRatio -> GuiWidget.DeviceScale
Significantly improved the layout consistency when enlarging the device scale.
Created a DeviceMargin and DevicePadding on GuiWidget
Deleted dead code
Made many images have default larger disk sizes and scale in memory.
Made the menus have horizontal spacers rather than dashed lines
2016-05-06 17:56:27 -07:00
Lars Brubaker
591528ee91 Ran code maid against this code. 2015-04-08 15:20:10 -07:00
Kevin Pope
bdef196434 Changed main application to MVC. UI rework (Configuration Page esp. in progress). 2014-09-19 19:17:12 -07:00
larsbrubaker
178f7acf71 Took out some dead code 2014-07-01 18:18:27 -07:00
gregory-diaz
252388de41 When hovering over theme change buttons, sample square now changes color 2014-05-16 15:11:19 -07:00
Kevin Pope
60eb17f908 Restored theme indexes so that previous installs will maintain their present theme on update. Fixed theme selector to support same. 2014-04-11 18:17:16 -07:00
Kevin Pope
738b2d5a57 Lots of theme and UI related updates. 2014-03-21 16:18:47 -07:00
Kevin Pope
755d3b3928 UI changes to theme selector. 2014-03-20 15:52:53 -07:00
larsbrubaker
f4c1b0b85c Commit of the code 2014-01-29 19:09:30 -08:00