Commit graph

150 commits

Author SHA1 Message Date
John Lewin
bcf4c08d1e Use lambda event handlers for clarity 2017-06-28 19:49:31 -07:00
John Lewin
27f4a3ef14 Extract GCode details view to class 2017-06-28 18:43:30 -07:00
John Lewin
c1462d1749 Extract GCode details to model 2017-06-28 18:18:22 -07:00
John Lewin
b7c457309e Improve GCode/Model view toggling
- Switch models to Wireframe while in GCode view
- Conditionally render layers data on visibility of GCode widget
- Short term: Clear Scene selection on entering GCode view
- Use consistent formatting for GCodeRenderInfo constructor
2017-06-26 12:49:39 -07:00
John Lewin
878d004a50 Remove inherited MeshViewer, push rendering to external mesh viewer 2017-06-24 13:17:43 -07:00
John Lewin
848708c36c Revise ViewGCodeWidget naming to clarify behavior 2017-06-24 12:35:02 -07:00
John Lewin
822faa99a1 Fix 2D/3D view button event listeners 2017-06-24 12:24:40 -07:00
John Lewin
4a105fa02f Fix colors for white menu background 2017-06-24 12:24:01 -07:00
John Lewin
1339f7573f Remove widget proxy to Clear3DGCode, call directly on model 2017-06-24 10:45:02 -07:00
John Lewin
8b3bc325cd Extract GCodeRenderer from widget to model 2017-06-24 10:38:08 -07:00
John Lewin
847c088cce Extract loaded GCodeFile from widget to model 2017-06-24 10:30:11 -07:00
John Lewin
3dd9f8c4d7 Use existing button factory, remove unused button factory instances 2017-06-24 10:28:33 -07:00
John Lewin
7808ffe221 Remove tree processing in OnDraw for keyboard hooks 2017-06-24 09:05:49 -07:00
John Lewin
156f44dce8 Extract SetLayer class to file 2017-06-24 09:00:13 -07:00
John Lewin
0f47dc4ef3 Extract button factory to model, use lambda events & initializer pattern 2017-06-24 08:59:14 -07:00
John Lewin
c88e63361e Extract LayerNavigation class to file 2017-06-24 08:54:47 -07:00
John Lewin
6300e4468f Extract button factory to model, use lambda events & initializer pattern 2017-06-24 08:53:19 -07:00
John Lewin
baa9feba81 Closer to gcode/mesh viewer consolidation
- Collapse right panel content into scene
- Move GCode view options into overflow menu
- Extract View3D options state from widgets to app model
2017-06-24 08:32:09 -07:00
John Lewin
7a27433bf0 Migrate GCodeVisualizer and MeshViewer content into MatterControl 2017-06-24 07:28:55 -07:00
John Lewin
0c37c0b276 Convert BackgroundWorkers to async tasks 2017-06-21 21:43:36 -07:00
John Lewin
0e646a0c94 Move PartPreviewWidget factories into ThemeConfig
- Extract ThemeConfig to file
- Pass ThemeConfig to IObject3D creators
2017-06-19 09:19:00 -07:00
John Lewin
8afc92ae33 Decouple MatterControl components from PrinterConnection
- Move relevant aspects to ApplicationController
2017-06-16 18:04:47 -07:00
John Lewin
9aaf0f6311 Rename PrinterConnectionAndCommunication 2017-06-13 17:22:49 -07:00
Lars Brubaker
6c22a896d9 Taking out center on bed for design tools. 2017-06-08 14:43:01 -07:00
John Lewin
2a9e70c28c Ensure bedplate is saved before slicing
- Remove cheat in AddSelectedItemToBedplate helper which saved bed
- Invoke PersistePlateIfNeeded before slicing
- Mark plate as dirty when adding items
- Make SaveChanges awaitable so slicing queues until save is done
- Remove unused Action in functionToCallOnSaveAs delegate
- Change saveas delegate to support new awaitable signature
2017-06-05 14:37:32 -07:00
John Lewin
c311f33888 Restore perspective after Generate button creates new children
- Hook meshViewer close and persist world transforms if visible
- Apply meshViewer world transforms on load if initialized
- Release event handlers on load if initialized (must occur after Close)
2017-06-02 06:46:09 -07:00
John Lewin
02482f7121 Add support for conditional close to menus
- Use IIgnoredPopupChild marker interface
- Extract RotateControl to new file
- Use PopupActionPanel base for conditional close behavior
- Extract Grid options to new GridOptionsPanel.cs
- Fix null reference on translate/scale of gcodeViewWiget
2017-05-30 17:38:19 -07:00
John Lewin
3ec34e0adc Remove ViewControls2D, use shared ViewControls across Layer2D/3D views 2017-05-26 21:28:35 -07:00
John Lewin
56e7d3c96d Remove debugging code 2017-05-26 20:25:36 -07:00
John Lewin
e45a0f16f7 Fix empty Layer2D view
- Refactor ViewControlsToggle
  - Remove public accessors to button controls
  - Add event for changing modes
  - Subscribe to new event
- Collapse named functions into single use callers for clarity
2017-05-26 20:13:56 -07:00
John Lewin
8ff6b9ae23 Switch directly to 3D layer view 2017-05-26 15:40:48 -07:00
John Lewin
dc0c285156 Adjust ViewControls colors to account for new potentially dark bgcolor 2017-05-26 00:59:47 -07:00
John Lewin
42898a6f91 Fix Layer3D view in design_tools, sync part/layer views on enter
- Revert to 1.7/ViewGcodeBasic code and make functional
2017-05-25 18:17:09 -07:00
John Lewin
08d2a6ab1a Working toward shared ViewControls3D and functional slicing
- More missing functionality restored in action bars/slicing views
2017-05-25 01:15:00 -07:00
John Lewin
69e83b3dd9 Continue migrating features to new layout
- Create toolbar for printer
- Migrate ActionBarPlus code to new toolbar
- Migrate printer specific actions from Options to new toolbar
- Consolidate and reuse theme factory instances
- Restore F1 reporting of unnamed widgets, useful for finding types
2017-05-23 19:07:57 -07:00
Lars Brubaker
78f554ce20 Fixed a bug with changing to a null print item in gcode view 2017-03-21 10:03:03 -07:00
John Lewin
907609b587 Design tools 2017-03-15 16:29:56 -07:00
Lars Brubaker
4d96a26cd0 Moved all the easy static localized strings to non-static strings 2017-03-01 13:48:49 -08:00
John Lewin
78c04a0e37 Consolidate DisplayMode logic into IsTouchscreen setting 2017-02-16 15:02:49 -08: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
Lars Brubaker
9c55f8f982 New default constructor, moved hanchor vanchor
removed cover
2017-02-01 16:39:24 -08:00
John Lewin
8510ca5b3d Remove duplicate .Click event from ButtonBase 2017-01-17 15:31:08 -08:00
John Lewin
ace89e1e5a Use .Localize extension function 2017-01-04 10:52:06 -08:00
Lars Brubaker
d23a567307 Working to reduce theme changed calls as they will reload all after.
same for on active printer changed
2016-12-08 17:40:04 -08:00
Lars Brubaker
83a3c87557 Quality settings override correctly. 2016-12-06 17:54:27 -08:00
Lars Brubaker
8b72131769 Fixed down arrows on edit model page
MatterHackers/MCCentral#538
Lost down arrow for edit options on 3D view
2016-10-06 10:59:51 -07:00
Lars Brubaker
c3d96b6601 Working on Queue done button working test (+2 squashed commit)
Test that MatterControl vanilla actually stars up
Finished the resume print test
Set backup to 0
Created a SwitchToAdvancedSettings function
2016-09-22 12:35:34 -07:00
rytz
7d3a191194 fixing cm3 superscript in LAYER VIEW 2016-08-17 15:34:04 -07:00
Tyler Anderson
15f1c9efb6 Fixed estimated cost 2016-07-25 18:30:35 -07:00
John Lewin
f304e9f3d6 Migrate SettingsProfile functionality to new SettingsHelpers type
- Add as child property of settings scope, ready for merge of types
 - Progress on Issue #1113
2016-07-18 16:58:25 -07:00