Commit graph

69 commits

Author SHA1 Message Date
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
bd3db106b0 Prefer local reference to static 2018-04-07 22:53:34 -07:00
John Lewin
9c00f026c0 Restore icon for Add menu item, improve icon support in MenuItem
- Render non-enabled menu icons with new lazy DisabledImage property
- Move SettingsRow into CustomWidgets namespace
2018-04-07 11:07:38 -07:00
John Lewin
a027951be5 Extract reusable aspects to common base 2018-04-06 09:06:21 -07:00
John Lewin
8431f7a5ef Use new toggle control for CheckboxField 2018-04-05 18:54:12 -07:00
John Lewin
e94f1f04af Reduce droplist border significance to match original border style
- Issue MatterHackers/MCCentral#2529
Inconsistent border strengths
2018-04-01 16:10:32 -07:00
Lars Brubaker
2cd09dd365 Lots of work on Array tool and support property editors 2018-02-10 11:24:51 -08:00
John Lewin
e998f137aa Rename Connection.PrinterIsConnected -> Connection.IsConnected 2018-02-01 14:51:44 -08:00
John Lewin
9b9c21eff3 Revert "Remove DropMenuWrappedField, disable hard-coded field presets"
This reverts commit 63963c1464.
2018-01-31 16:01:36 -08:00
John Lewin
e2d726e175 Right align field contents
- Issue MatterHackers/MCCentral#2693
Nozzle offsets should be right aligned like siblings
2018-01-18 17:59:43 -08:00
John Lewin
63963c1464 Remove DropMenuWrappedField, disable hard-coded field presets
- Issue MatterHackers/MCCentral#2668
Remove QuickMenuSettings
2018-01-16 16:48:26 -08:00
John Lewin
5e4184217e Extract SliceSettingsWidget settings/tab view to reusable control
- Make Configure Printer persist/restore last tab
- Revise layouts.txt groups
- Issue MatterHackers/MCCentral#2646
Configure Printer should use same implementation as SliceSettingsWidget
2018-01-14 10:39:12 -08:00
LarsBrubaker
00d8346ccf Restored ability to switch back quick settings on revert settings button 2018-01-13 18:54:10 -08:00
John Lewin
8964c59919 Clamp extruder_count
- Issue MatterHackers/MCCentral#2616
Add extruder count constraints
2018-01-13 11:46:17 -08:00
John Lewin
13cc147dfe Caller specified pointSize for DropDownLists 2018-01-12 14:51:10 -08:00
LarsBrubaker
7f1e7eda0f adjust edit control height on any line count change. 2017-12-31 09:34:40 -08:00
Matt Moening
8ac25a5428 IP Selector dropdown displays current value when created 2017-12-29 12:55:56 -08:00
John Lewin
2f42ee11b1 UIFields should allow caller to specify text color
- Issue MatterHackers/MCCentral#2514
Adjust print popup menu for forced white background
2017-12-29 09:10:37 -08:00
John Lewin
817fe3e105 DropDownList should allow caller to specify text color
- Issue MatterHackers/MCCentral#2514
Adjust print popup menu for forced white background
2017-12-29 09:06:37 -08:00
Matt Moening
cc7e61ee3b Fill IP Address dropdown on idle
- Add refresh button that is disabled when reloading menu
2017-12-22 11:29:03 -08:00
Matt Moening
1d38fa034c Add List of zero-conf telnet connects to allow auto detection of MCConnect 2017-12-22 11:29:03 -08:00
LarsBrubaker
d3f0e66645 Made cicular bed draw axis correctly
Made tumble cube invalidate while rotating
Vector2 slice edit type needs to be able to be negative (couldn't figuer out how to make test)
2017-12-02 12:54:42 -08:00
Lars Brubaker
7802c423d9 Turned settings name wrapping back on 2017-11-18 10:14:35 -08:00
Lars Brubaker
8d1fecab8c Changed RGBA_Bytes -> Color 2017-10-31 11:43:25 -07:00
John Lewin
6881e3ed3b Revise ToggleSwitch UIField to match sibling widths
- Issue MatterHackers/MCCentral#2020
Improve UIField sizing and positions
2017-10-01 18:25:12 -07:00
John Lewin
83e0dee7a9 Move common control size into base 2017-10-01 10:38:36 -07:00
John Lewin
1a12b22d1c Allow doubles when unitsToken populated, constrain to int without 2017-09-25 14:58:00 -07:00
John Lewin
569ce3498c Fix test exceptions due to naming mismatches 2017-09-22 23:38:15 -07:00
John Lewin
12f97dc6be Fix broken ComPortField, add basic field test 2017-09-21 16:30:52 -07:00
John Lewin
426a5dd9f5 Fix SliceSettings ExtruderOffsetField to honor shared temps 2017-09-20 18:06:58 -07:00
John Lewin
de922d8a2e Convert PrinterConnection usage from static to local references 2017-09-17 13:31:32 -07:00
John Lewin
e926b747cf Remove accidental debugging statements 2017-09-16 23:30:41 -07:00
John Lewin
a7f6f0e852 Fix PositiveDouble test 2017-09-15 15:08:17 -07:00
John Lewin
6c1d3c126f Extract embedded type to new file 2017-09-15 13:44:54 -07:00
John Lewin
907ab38cea Replace ValueOrUnitsField with IntOrMmField, implement field test 2017-09-15 13:43:50 -07:00
John Lewin
1bea55ad4a Restore PositiveDouble functionality, convert to concise test format 2017-09-14 22:13:29 -07:00
John Lewin
71064a0427 Extract embedded type to new file 2017-09-14 21:17:35 -07:00
John Lewin
7e031bf4ea Fix regression in numeric fields regarding negatives 2017-09-14 19:17:04 -07:00
John Lewin
c2b2175168 Fix and update SliceSetting field identifiers 2017-09-14 14:47:08 -07:00
John Lewin
6e536c548d Implement custom ExtruderOffsetField 2017-09-14 13:29:22 -07:00
John Lewin
9df7cd414e Validate Vector2Field changes via ConvertValue 2017-09-14 13:27:48 -07:00
John Lewin
9aa6950b0c Remove numberOfCopies loop, move extruder logic to ExtruderOffsetField 2017-09-14 09:51:19 -07:00
John Lewin
ad95f12d93 Dynamically sized GCode fields 2017-09-13 18:19:42 -07:00
John Lewin
acff39eee0 Complete rename to UIField 2017-09-13 06:59:30 -07:00
John Lewin
c8acc11275 Remove invalid cast 2017-09-13 06:45:22 -07:00
John Lewin
5e6afa4496 Eliminate IUIField interface 2017-09-13 06:45:22 -07:00
John Lewin
caeab53a2d Use correct property during ConvertValue 2017-09-13 06:45:22 -07:00
John Lewin
c9d6b20e16 Optional toggle labels 2017-09-13 06:45:22 -07:00
John Lewin
ab150ba3ad Add initial toggle switch implementation for slice settings 2017-09-13 06:45:22 -07:00
John Lewin
f1596b535f Improve checkbox behavior, reload on Show Reset button click 2017-09-13 06:45:21 -07:00