Commit graph

79 commits

Author SHA1 Message Date
John Lewin
4138b1628d Guard for null in non-printer case 2018-01-10 12:32:01 -08:00
John Lewin
4a3e567e9e Guard for null in non-printer case 2018-01-10 12:27:22 -08:00
John Lewin
db74fe7274 Apply IsEnabled rules to UI elements
- Issue MatterHackers/MCCentral#2623
Scene operations should be enabled based on defined rules
2018-01-10 11:58:42 -08:00
John Lewin
8a03755224 Try right aligned Bed menu 2018-01-10 11:48:02 -08:00
John Lewin
bf21712b18 Fix toolbar sizing 2018-01-10 11:42:03 -08:00
John Lewin
716760e360 Move operations back into toolbar
- Issue MatterHackers/MCCentral#2620
Move operations to toolbar
2018-01-10 11:39:39 -08:00
John Lewin
5e1ccdc3a8 Clear or show editor for selection, move buttons into editor
- Issue MatterHackers/MCCentral#2615
Invalid editor after selection change
2018-01-09 18:43:58 -08:00
John Lewin
8ce57500dc Fix icon color, spacing 2018-01-09 17:50:12 -08:00
John Lewin
56f5b64026 Move Insert into Bed menu 2018-01-09 15:50:43 -08:00
John Lewin
f60259e9d3 Consolidate header and footer bars into SelectedObjectPanel 2018-01-08 23:34:40 -08:00
John Lewin
c9de640085 Use OverflowBar type on ViewControls3D and PrinterActionsBar 2017-12-26 09:11:33 -08:00
John Lewin
d89ae77034 Defer loading GCode until switching to views that need it
- Issue MatterHackers/MCCentral#2491
Lazy load GCode as needed, ideally only after the user switches to GCode
based views
2017-12-24 10:44:25 -08:00
Lars Brubaker
71979e35e9 Unify to single GetNonCollidingName
Improve it to check for and replace numbers
add new calling method
Make sure Object3D Close does not end up modifying object in processes
Don't try to render meshes with no faces
2017-12-06 16:31:04 -08:00
John Lewin
96ef163ef3 Localize anytime Title getter is invoked 2017-12-04 15:07:55 -08:00
John Lewin
a28e92bd27 Restore to prior bed plates
- Maintain all ViewMode across ReloadAll
- Move more GCode renderer data to model
2017-11-29 15:22:18 -08:00
John Lewin
e67e915d4c Always enable GCode2D view 2017-11-29 14:41:55 -08:00
John Lewin
5b1fec7144 Expose controls for conditional Enable 2017-11-29 13:45:01 -08:00
LarsBrubaker
168e95f798 Make sure we can switch to part select in touchscreen mode
This will eventually be removed when the tumble control is done
2017-11-29 07:45:03 -08:00
John Lewin
db1228b7f7 Guard for null 2017-11-27 18:09:29 -08:00
John Lewin
da5600fbb7 Move ViewMode/ViewModeChanged to model, listen and respond in UI
- Issue MatterHackers/MCCentral#2290
After slicing the view is switched to 3D GCode but the button...
2017-11-27 17:36:36 -08:00
John Lewin
a3cbe6acbe Compute opaque theme colors, save before slice, revise icon styling
- Change slicing hash generation method/name
- Add ComputeFileSha1 to ApplicationController
- Issue MatterHackers/MCCentral#2307
Same color supplied for both tab and border
- Issue MatterHackers/MCCentral#2304
Have to Save file to make slicing go after change to scene
2017-11-21 11:11:07 -08:00
John Lewin
d90cd35134 Scene actions should be bound to their context, not to ActivePrinter
- Issue MatterHackers/MCCentral#2211
Scene operations (subtract, intersect) do not work in Part view
2017-11-15 18:04:51 -08:00
John Lewin
ca6c8ccdee Smaller home/reset view icon 2017-11-13 16:08:06 -08:00
John Lewin
c0eb7b67b5 Use common menu styling for ViewControls3D overflow menu
- Add new RadioIconButton based on SimpleButton
- Fix layout issues caused by FixBoundsAndChildrenPositions removal
- Issue MatterHackers/MCCentral#2220
ViewControls3D should use theme colors
- Issue MatterHackers/MCCentral#2217
Popup menu uses inconsistent styling
2017-11-09 15:49:18 -08:00
John Lewin
ae5160c02e Prefer object constructor over GenerateIconButton helper
- Allows for the use of Initializer pattern, less abstraction
2017-11-09 12:45:11 -08:00
John Lewin
c831eb6484 Improve SelectedObjectPanel visibility/positioning, try toolbar buttons 2017-10-20 07:26:33 -07:00
John Lewin
ac41480e41 Remove ViewControlsBase 2017-10-19 09:04:11 -07:00
John Lewin
773354766a Sync up variable names with type changes 2017-10-15 15:50:48 -07:00
John Lewin
f5f32fb53e Rename OverflowDropdown -> OverflowMenu 2017-10-15 15:40:31 -07:00
John Lewin
4b3246f408 Simplify, extract menu behaviors from OverflowDropdown for reuse 2017-10-15 15:36:42 -07:00
John Lewin
31661a8b98 Missing theme settings for Touchscreen icons 2017-10-15 01:24:33 -07:00
John Lewin
1e8190eaa6 Make ButtonFactory helper proxies private, accessible through .Options 2017-10-15 00:22:47 -07:00
John Lewin
145ef1ad63 Move theme image adjustment functionality into StaticData.LoadIcon 2017-10-14 23:32:04 -07:00
John Lewin
56609532c9 Fix button sizing, use new IconButton type 2017-09-30 10:40:09 -07:00
Lars Brubaker
8854dc467c Working on new group system 2017-09-12 18:39:02 -07:00
John Lewin
3a9833697d Platform providers
- New Provider model
- Remove WindowsFileDialogs project
- Remove PlatformAbstract assembly, use AggContext
- Rename OsInformation to OperatingSystem
2017-08-22 13:42:34 -07:00
John Lewin
580312f05d Move Undo operations to ViewControls3D 2017-08-14 12:38:50 -07:00
John Lewin
74186a28a0 Fix ViewControls border, spacing and color 2017-08-10 09:40:03 -07:00
John Lewin
40e729ab8c Use common button spacing 2017-08-10 06:00:11 -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
b2c898be6c Move 2D layer view to same context as siblings views 2017-07-10 16:28:41 -07:00
John Lewin
ae02c29c76 Use concept layer assets 2017-07-07 17:58:23 -07:00
John Lewin
e0e663746a Fix initial button checked state 2017-07-07 12:28:03 -07:00
John Lewin
1a9d90bc15 Ensure view and button state are always synced 2017-07-07 12:28:02 -07:00
John Lewin
5e85b29e11 Move view mode selection buttons into main toolbar, revise icons 2017-07-06 18:15:53 -07:00
John Lewin
34a377ede2 Exact PrinterTabPage to new file 2017-07-06 14:54:26 -07:00
John Lewin
0784900080 Always in part select mode on desktop 2017-07-05 13:55:38 -07:00
John Lewin
171016c16f Use initializer syntax 2017-07-03 09:30:30 -07:00
John Lewin
fc45a60d35 Revise PauseOnLayerDoesPauseOnPrint test
- Now intermittently passing
- Make Layer toggle button and Bedplate Save button automatable
- Save Bedplate before leaving AddDefaultFileToBedplate
- Revise casing on AddDefaultFileToBedplate
2017-06-03 19:10:12 -07:00
John Lewin
dc0c285156 Adjust ViewControls colors to account for new potentially dark bgcolor 2017-05-26 00:59:47 -07:00