Commit graph

717 commits

Author SHA1 Message Date
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
John Lewin
048caeffab Editing property should be false after losing focus
- Issue MatterHackers/MCCentral#3000
Layer textbox should disappear after losing focus
2018-03-29 18:00:20 -07:00
John Lewin
1f5a2c71d2 Remove hard-coded black, use theme color for layer text box
- Issue MatterHackers/MCCentral#3003
Layer textbox should use theme font color

- Issue MatterHackers/MCCentral#3001
InlineEditControl always forces text to black
2018-03-29 18:00:19 -07:00
John Lewin
7174de4d9a Set mouseInBounds to false when control is disabled
- Workaround for missing OnMouseLeaveBounds event
2018-03-28 17:38:13 -07:00
John Lewin
74da082acb Resolve 'xxx' hides inherited member 'xxx' build warnings 2018-03-27 09:27:07 -07:00
John Lewin
62965fce66 Remove unused type 2018-03-27 09:27:06 -07:00
Lars Brubaker
9139345012 Added SetInterval to uithread
Make sure we don't show time to turn of temps if already off
Make sure tumble cube is build before putting textures on it
2018-03-20 18:48:26 -07:00
John Lewin
5d75a6bc17 Make radio menus interactive 2018-03-16 17:45:48 -07:00
Lars Brubaker
eae2f773e6 Put in clean nozzle page
Added IVertexSource get weighted center
refactoring
2018-03-14 15:01:38 -07:00
Lars Brubaker
9cc6d5f469 Added passing UndoBuffer to rebuildable 2018-03-08 17:29:35 -08:00
Lars Brubaker
859304fd16 Fixed print recovery test
removed the gcode buffer size variable (it didn't work)
2018-02-21 18:15:22 -08:00