Commit graph

727 commits

Author SHA1 Message Date
John Lewin
2e1ac70f68 Unify tree styling with existing 2018-05-22 13:14:23 -07:00
John Lewin
d0e490fe41 Add theme dependency to TreeView, use theme for selection color 2018-05-22 07:00:00 -07:00
John Lewin
4840c00531 Remove border values 2018-05-21 17:51:42 -07:00
John Lewin
ed4898cdf6 Organize usings 2018-05-21 17:39:19 -07:00
John Lewin
ee30939dde Demand dependency in constructor 2018-05-21 16:42:40 -07:00
Lars Brubaker
c75fe6eee6 Set minimum size. 2018-05-21 14:32:11 -07:00
Lars Brubaker
c2bfefbde6 Made a bottom resize container 2018-05-21 14:15:22 -07:00
Lars Brubaker
1936b69cc8 Put TreeView into MatterContrlol 2018-05-21 13:30:06 -07:00
John Lewin
435701603b Add support for caller specified right margin, use IconButton 2018-05-17 13:27:52 -07:00
John Lewin
9967e14328 Switch to constant padding with right margin on buttons
- Previously layout was using variable padding with left margin
2018-05-17 12:41:00 -07:00
John Lewin
121b7324f0 Use theme colors 2018-05-14 12:21:57 -07:00
John Lewin
7731b0b4fd Revise naming for clarity 2018-05-08 17:24:14 -07:00
John Lewin
5844908edf Move ActiveTheme state into user settings from printer
- Issue MatterHackers/MCCentral#3328
2018-05-08 17:24:14 -07:00
John Lewin
9aa8bb80b1 Remove helper method 2018-05-07 09:47:49 -07:00
John Lewin
d4099475fc Use IconButton, collapse single use method into caller 2018-04-28 22:15:08 -07:00
John Lewin
8ffce7cd0c Use OnLoad rather than constructor to prevent timing issues on load
- Issue MatterHackers/MCCentral#3251
Collection modified exception during startup
2018-04-28 22:15:08 -07:00
John Lewin
e80ba931f1 Use theme button height
- Issue MatterHackers/MCCentral#3247
Incorrect button scaling
2018-04-28 08:41:59 -07:00
Lars Brubaker
82ff8b5d64 Make sure we are on move 10 when the control is set at startup
Removing dead code
2018-04-26 15:51:40 -07:00
John Lewin
dec42d4f5a Improve scaling behavior
- Issue MatterHackers/MCCentral#3230
2018-04-24 18:40:20 -07:00
John Lewin
b259e47767 Only fire ReloadAll on interactive theme change 2018-04-18 12:57:58 -07:00
John Lewin
734933f13e Set custom track color and corner radius
- Issue MatterHackers/MCCentral#3142
Consider reducing significance of tuning adjustment sliders
2018-04-15 13:32:31 -07:00
John Lewin
5c56df6be3 Add support for user specified SolidSlider.TrackRadius
- Add support for rounded corners on slider track
2018-04-15 13:21:55 -07:00
John Lewin
4618c46fc4 Remove MoveButton factory, use TextButton 2018-04-15 11:30:14 -07:00
John Lewin
b1cc3fe5ac Remove WizardButton factory 2018-04-14 21:13:59 -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
John Lewin
56cc1a926f Add support for pointSize override
- Required for micro buttons
2018-04-14 21:12:29 -07:00
John Lewin
2492467f44 Remove local implementation in favor of common extension method 2018-04-14 21:12:29 -07:00
John Lewin
1878dfc458 Remove printer selected guard in export page, use plugin model
- Issue MatterHackers/MCCentral#3109
Can't export from library if no printer selected
2018-04-13 18:34:58 -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
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
Lars Brubaker
d4ac2884b6 Leveling is way better and more dynamic
Pages can take dependencies on the previous page data
2018-04-10 17:59:27 -07:00
John Lewin
44e91e62b1 Remove owner drawn borders, let caller add borders as desired 2018-04-10 16:56:21 -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
fc3127e0e9 Extract DockingTab buttons to standalone widgets 2018-04-09 13:16:19 -07:00
John Lewin
6bf962ddf3 Adjust button sizing, add border to match target styling
- Issue MatterHackers/MCCentral#3074
More spacing needed between docked tabs
2018-04-09 13:16:19 -07:00
John Lewin
36353bb7dd Remove unused list 2018-04-09 13:16:18 -07:00
John Lewin
0cce5ba0d1 Remove dead code 2018-04-07 22:53:35 -07:00
John Lewin
bd3db106b0 Prefer local reference to static 2018-04-07 22:53:34 -07:00
John Lewin
145bf18389 Remove remaining traces of SliceSettings -> Show Help 2018-04-07 22:53:34 -07:00
John Lewin
87876c6ca2 Remove indirection to dependency 2018-04-07 08:21:39 -07:00
John Lewin
60ec4daaab Listen for EnabledChanged rather than directly on Enabled
- Issue MatterHackers/MCCentral#3055
Have consideration for disabled icon buttons
2018-04-06 16:02:19 -07:00
John Lewin
f01ff357c9 Change ResizeContainer to vertical column 2018-04-05 15:54:15 -07:00
John Lewin
9a2facbcd5 Only fire CheckedStateChanged from user driven events 2018-04-05 15:52:20 -07:00
John Lewin
aba2f5e523 Add toggle support to radio icon button 2018-04-05 15:52:16 -07:00
John Lewin
be1cece4bf Add StopEditing method to InlineEditControl 2018-04-04 17:52:58 -07:00
Lars Brubaker
34970a6462 Refactoring leveling system 2018-04-04 14:58:19 -07:00
John Lewin
ecb4979461 Add SliceSettings Group expansion persistence
- Issue MatterHackers/MCCentral#3021
SliceSetting section expansion should be persisted across restarts
2018-04-04 08:47:26 -07:00
John Lewin
79b416da93 Extract border color helper to theme 2018-04-01 09:26:39 -07:00
John Lewin
cff26ed09a Simplify rules and rename to clarify behavior of SetInterval hook
- Issue MatterHackers/MCCentral#3004
Redundancy seems unnecessary
2018-03-29 18:00:20 -07:00