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
John Lewin
b7d0332898
Convert AdjustmentControls to use SettingsRow
2018-04-06 17:36:16 -07:00
John Lewin
1728ef6a1f
Convert to use SettingsRow
2018-04-06 16:57:47 -07:00
John Lewin
8dfeeac3cd
Finish switch to new toggle controls
...
- Issue MatterHackers/MCCentral#3043
Remove current ToggleSwitch factory to resolve differing types
2018-04-06 13:26:17 -07:00
John Lewin
0825a9132b
Simplify, expose previously wrapped SectionWidget, sync styling
2018-01-10 18:55:44 -08:00
John Lewin
27f75d4403
Eliminate ControlsWidgetBase
2018-01-10 18:55:43 -08:00
John Lewin
fbb6b5667f
Use theme styling
2018-01-10 18:55:42 -08:00
Lars Brubaker
96f0977010
Made FanControls values go from 0-100
...
Made all values round trip without changing
Made sure we can't get into an update fan loop
Made printer connection hold the speed as a double but send as an int
Made sure the starting display value of EditableNumberDisplay is correct
2017-11-02 12:29:10 -07:00
John Lewin
f8c784af31
Reuse SectionWidget for Printer Controls, revert bold fonts
2017-10-31 18:04:57 -07:00
John Lewin
2dc29674e8
Use bold fonts for AltGroupBox controls
2017-10-31 15:20:25 -07:00
Lars Brubaker
0a54cd266b
Wrote test for Hotend drop down
...
Theme the folders check box
Make sure we reset the macros when we start them (made clear by unload -> cancel -> unload)
Made fan controls more consistent with actual data model of printer
improved edit number display to be more consistent with 3d number edits
2017-09-07 16:24:31 -07:00
Lars Brubaker
b65d1f136d
Making printerConnection passed to classes.
2017-09-01 21:23:20 -07:00
Lars Brubaker
f7d4163125
Refactoring VAnchor and HAnchore names
...
Making more debug info for show bounds
2017-08-07 15:47:27 -07:00
John Lewin
e96e41925b
Use common button factory, revise spacing
2017-08-07 11:47:54 -07:00
John Lewin
cda726c002
Refactor FanControls
2017-08-06 18:36:42 -07:00
John Lewin
1caf8fc09a
Extract heading point size to caller
2017-08-06 18:17:46 -07:00
John Lewin
2a50aa80a1
Remove unused button factory instance
2017-08-03 19:00:38 -07:00
John Lewin
4abea0ab0c
Extract button factory options to new class
2017-08-03 19:00:37 -07:00
John Lewin
9aaf0f6311
Rename PrinterConnectionAndCommunication
2017-06-13 17:22:49 -07:00
Lars Brubaker
8134b3f450
Fixed the Macros window to cancel on user closes with the X windows button.
...
Put cancel into max length and temp stream
Made close function take a bool if the system did it
Moved To EventHandler<> in GuiWidget
Made a ClosedEventsArgs
2017-02-03 13:06:08 -08:00
John Lewin
535a161115
Remove event keyword from private fields
2016-12-29 06:57:42 -08:00
Lars Brubaker
f401a3323c
Moved Mocros to the top of the controls window
...
Putting in Macro Menu
Changed closeButton back to cancelButton
2016-11-30 13:31:19 -08: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
534b0b5e7b
Removed redundant list of eeprom settings
...
Made the view only get refreshed one time
reduced the overhead of creating row items in eeprom window
locked the lists to make sure they are consistent when used
Made fan an movement controls not save "Controls" redundant
2016-01-13 15:37:03 -08:00
Lars Brubaker
ddd5ada23c
Made a global function to create toggle check boxes.
...
Made the text localized.
2015-04-22 08:57:55 -07:00
Lars Brubaker
f3f921ab4f
Re-wrote toggle switch to be a view for checkbox.
2015-04-22 08:43:09 -07:00
Lars Brubaker
591528ee91
Ran code maid against this code.
2015-04-08 15:20:10 -07:00
larsbrubaker
0b3bbc136b
Fixed the number edit not to grow on Android. Made it's VAnchor always ParentCenter
...
Made the logic to test if a part should be centered on the bed be if it was output by MatterControl
Some other white space changes
2015-01-25 17:54:26 -08:00
Lars Brubaker
fe65590ff5
Made the text control less tall
2014-12-18 14:51:08 -08:00
Lars Brubaker
f2f32ae75c
Made the controls lay out better and made them respect the state of the printer and show it.
2014-12-18 14:44:08 -08:00
Lars Brubaker
33b7588900
Put back in the % indicator for fan speed and the ability to edit it.
2014-12-18 12:36:22 -08:00
Matt Moening
d4bd2c010a
Removed not longer needed function call that breaks build
2014-10-27 18:22:48 -07:00
Matt Moening
bdb13f94ee
Merge branch 'development' of https://github.com/MatterHackers/MatterControl into development
2014-10-27 18:14:01 -07:00
Matt Moening
61583a7220
ToggleSwitchFactory for generating toggle switchs, Added the factory to ControlWidgetBase.cs, used factory to create toggle switch in FanControl.cs
2014-10-27 17:32:35 -07:00
larsbrubaker
0d454acd9f
Fixed more memory leaks.
2014-10-24 18:50:41 -07:00
Matt Moening
9969d0d641
Added Button to enable and disable fan.
...
Added button to output console text to file (temp hardcoded location)
2014-10-20 17:53:49 -07:00
Kevin Pope
9faee063eb
Refactoring manual controls widget.
2014-10-15 16:57:26 -07:00