Commit graph

1747 commits

Author SHA1 Message Date
John Lewin
2688e1a0a8 Move redeem operations into user menu
- Issue MatterHackers/MCCentral#3104
Move Redeem operations into the User pulldown
2018-04-15 14:46:50 -07:00
John Lewin
507e04def6 Invert menu icon on dark themes
- Issue MatterHackers/MCCentral#3114
Overflown search icon is incorrect on dark themes
2018-04-15 14:14:01 -07:00
John Lewin
081fb1ce59 Ensure tool panels are disabled until scene item selection
- Issue MatterHackers/MCCentral#3128
On startup, without selection, model sidebar panels should be disabled
2018-04-15 13:54:15 -07:00
John Lewin
c13c6bbe7b Move ApplyBoxStyle extension method into theme, use local theme refs 2018-04-14 21:13:59 -07:00
John Lewin
be71743435 Add scaling to TabButtonHeight and improve naming 2018-04-14 21:12:29 -07:00
John Lewin
e75963ce94 Add support for simple text radio buttons, remove micro button factories
- Duplicate and customize RadioIconButton into RadioTextButton
- Remove MicroButton and MicroButtonMenu factories
- Add CreateMicroRadioButton helper method to theme
- Convert extruder popup panels to use RadioTextButtons
- Convert Controls -> Extruder panel to use RadioTextButtons
2018-04-14 21:12:29 -07:00
LarsBrubaker
d23a8d6502 Fixing compiler warning 2018-04-14 14:34:17 -07:00
John Lewin
ea88635352 Set user supplied name
- Issue MatterHackers/MCCentral#3118
Save As from Bed menu doesn't save file name
2018-04-13 17:34:47 -07:00
John Lewin
e7bf28d770 Simplify 2018-04-13 12:33:16 -07:00
John Lewin
1eb125eb97 Remove dead code 2018-04-13 12:33:15 -07:00
John Lewin
e2f5ac1d6a Improve TagContainer overlay opacity on light themes 2018-04-13 12:33:15 -07:00
John Lewin
64eb8b3a0c Reduce spacing 2018-04-13 12:33:15 -07:00
John Lewin
6d2e9a0883 Use native borders 2018-04-13 12:33:15 -07:00
John Lewin
8a35b89501 Remove bottom margins 2018-04-13 12:33:15 -07:00
John Lewin
63c414adc4 Remove border from last item 2018-04-13 12:33:15 -07:00
John Lewin
7f62ce801d Fix borders on Advanced SectionWidget 2018-04-13 12:33:15 -07:00
John Lewin
1c5e69ced6 Revise margin on Advanced SectionWidget 2018-04-13 12:33:15 -07:00
John Lewin
178708526b Extract border helper from PrintPopupButton, reuse in heater popups 2018-04-13 12:33:15 -07:00
John Lewin
64771f9fae Unwire listener from long lived object 2018-04-13 12:33:15 -07:00
John Lewin
9364c22904 Use MenuTheme for icon loader 2018-04-13 12:33:15 -07:00
John Lewin
8e134b5ed8 Remove redundant SeparatorColor property 2018-04-13 12:33:15 -07:00
John Lewin
9cd45b63e8 Use theme instance color rather than static from HLine constructor 2018-04-13 12:33:14 -07:00
John Lewin
96cbdf9abe Remove hard-coded color, fall back to theme version in constructor
- Issue MatterHackers/MCCentral#3112
Unexpected border thickness/color
2018-04-13 12:33:14 -07:00
Lars Brubaker
d6addaa45a Improving Package tool
Changing public property editor to be able to dynamically add new properties
2018-04-12 17:36:24 -07:00
John Lewin
f8a15c3b96 Convert static icons to instance, use theme colors 2018-04-12 13:18:28 -07:00
John Lewin
37a0b64b02 Use dedicated theme for menus, prefer theme colors over explicit refs
- Revise icon loader to take an Invert bool instead of custom enum
- Remove icon loader static ref to ActiveTheme.Instance
- Pass contextual theme.InvertIcons for theme specific invert behavior
2018-04-12 13:17:17 -07:00
Lars Brubaker
c7bdf2c984 Refactoring animation 2018-04-12 09:55:00 -07:00
Lars Brubaker
1ba07ca87d improved toggle switch 2018-04-12 09:54:59 -07:00
John Lewin
2a21884abb Make SectionWidget collapsable when disabled
- Directly set Enabled on SectionWidgets rather than on parent
- Add ExpandableWhenDisabled property to SectionWidget
- Expose primary SelectedObjectPanel surface as ContentPanel prop
- Issue MatterHackers/MCCentral#3099
2018-04-12 07:58:08 -07:00
LarsBrubaker
0c8b32f0d5 Refactoring easing 2018-04-12 07:16:58 -07:00
Lars Brubaker
3091a719ee Made RoundedToggleSwitch play mouse down animation
Made UiThread SetInterval return a RunningInterval
Added EaseIn EaseOut and EaseInOut to agg_basics
2018-04-11 17:36:03 -07:00
Lars Brubaker
b16328df27 Created a new animation object
got the spinner to use it
refactored graphics2D -> Graphics2D in DrawEventArgs
updated (c)
2018-04-11 10:22:17 -07:00
John Lewin
af42364b37 Reuse ColorButton on Materials panel
- Issue MatterHackers/MCCentral#3091
Materials panel should render non-focus like siblings
2018-04-10 18:14:12 -07:00
John Lewin
628b6725b6 Honor user scaling factor
- Issue MatterHackers/MCCentral#3095
Toggle switch has fixed sizing, ignore user scaling values
2018-04-10 17:01:30 -07:00
John Lewin
0748eeab04 Add action opt-out for long running tasks
- Issue MatterHackers/MCCentral#3085
2018-04-09 16:59:17 -07:00
John Lewin
9fbd64101e Use theme loader
- Issue MatterHackers/MCCentral#3082
2018-04-09 15:29:22 -07:00
John Lewin
b132096543 Hook mouse for hover effects, add dedicated property for popup border
- Issue MatterHackers/MCCentral#3074
More spacing needed between docked tabs
2018-04-09 13:16:20 -07:00
John Lewin
35a898871e Prefer InMemoryLibraryItem for passing scene reference 2018-04-09 13:16:18 -07:00
Lars Brubaker
32e38ff3d6 Make sure we only split sorted meshes 2018-04-09 12:34:50 -07:00
Lars Brubaker
7590b179b6 Changed Bake to MakePermanent 2018-04-09 11:58:21 -07:00
John Lewin
d2766f4696 Adjust paging size to 25 2018-04-08 09:46:17 -07:00
John Lewin
b7f3cacc14 Add StaticData fallback for Explore feed
- Issue MatterHackers/MCCentral#3009
MatterControl should fall back to stale content on offline Explore feed
2018-04-08 09:45:47 -07:00
John Lewin
4be5fd0540 Evaluate slider visibility on sync-to-print change
- Issue MatterHackers/MCCentral#3005
Disabling sync-to-print should reset progressbar positions
2018-04-07 23:46:31 -07:00
John Lewin
bd3db106b0 Prefer local reference to static 2018-04-07 22:53:34 -07:00
John Lewin
f8735861a9 Use MaxFitOrStretch for parity with siblings
- Issue MatterHackers/MCCentral#3064
Menu stops functioning if clicked and no items overflow
2018-04-07 15:15:28 -07:00
John Lewin
06a7a20ba4 Fix alignment issue 2018-04-07 14:59:08 -07:00
John Lewin
e767a6a84f Compute and reuse scaled button size
- Issue MatterHackers/MCCentral#3068
Inconsistent scaling in ColorSwatchSelector
2018-04-07 14:59:08 -07:00
John Lewin
27ceaa1635 Remove ButtonFactory indirection, directly reference theme instances 2018-04-07 14:59:07 -07:00
John Lewin
267082b2be Only call Invalidate on change
- Issue MatterHackers/MCCentral#3067
Hang on MatterControl close if Extruder/Bed popup open
2018-04-07 14:59:07 -07:00
John Lewin
7454d79b85 Switch to grayscale when disabled
- Issue MatterHackers/MCCentral#3062
ColorSwatchSelector remains vibrant when disabled
2018-04-07 12:00:35 -07:00