Commit graph

626 commits

Author SHA1 Message Date
Lars Brubaker
0f628cefd8 Allow selection in the tree view 2018-06-05 13:38:25 -07:00
John Lewin
b6b7a1c186 Flatten namespace 2018-06-05 08:35:38 -07:00
John Lewin
d3478e646f Use new batch SetSelection in SelectAll method 2018-06-01 16:16:17 -07:00
John Lewin
1acce62763 Use new batch set selection method 2018-06-01 09:04:42 -07:00
John Lewin
5244025ae3 Consolidate tree processing
- Only build treeview once, destroy/create child content on change
- Single recursive AddTree(IObject3D) method handles all nodes
- BuildTree caller assigns node.TreeView instance on root node
- MatterHackers/MCCentral#3483
Differing construction implementations results in inconsistent TreeNodes
2018-06-01 09:04:42 -07:00
John Lewin
e563334b4d Use generic rather than printer scope
- Issue MatterHackers/MCCentral#3494
"New Part" crashes with null reference exception
2018-06-01 09:04:41 -07:00
John Lewin
5f3b869fa2 Persist user heights for tree/editor panels
- Issue MatterHackers/MCCentral#3428
Load persisted user value for tree section height
2018-05-31 15:38:58 -07:00
Lars Brubaker
25883fc0bc Working on mesh wrapper and rebuild issues 2018-05-31 09:05:08 -07:00
Lars Brubaker
138407e21a Mesh wrapper working much better (pinch and bend working better)
Changing Rebuilding to Suspend and Resume rebuilding
Made visible meshes return only the object not the object and mesh (mesh is on object)
Put in some debugging
2018-05-29 17:50:39 -07:00
Lars Brubaker
7a5c68cf23 Put long running task at top left 2018-05-24 12:05:25 -07:00
Lars Brubaker
ff6e220b4c Made invalidate args so we can pass source and invalidate type
Rebuild does not propagate to parent
2018-05-22 16:17:13 -07:00
John Lewin
2602fef4c7 Host editor panel in BottomResizeContainer
- Issue MatterHackers/MCCentral#3424
2018-05-22 13:40:13 -07:00
John Lewin
2e1ac70f68 Unify tree styling with existing 2018-05-22 13:14:23 -07:00
John Lewin
10100b3be1 Move TreeView above edit panel
- Issue MatterHackers/MCCentral#3427
2018-05-22 12:51:04 -07:00
John Lewin
ee30939dde Demand dependency in constructor 2018-05-21 16:42:40 -07:00
Lars Brubaker
c2bfefbde6 Made a bottom resize container 2018-05-21 14:15:22 -07:00
Lars Brubaker
0e96303b90 Fixed a bug with selection becoming null during an operation
Writing some test code for Gl BufferObject
2018-05-18 16:58:49 -07:00
John Lewin
dd6c105fd3 Switch from GCode to Model view on drag over
- Issue MatterHackers/MatterControl#3148
After deleting obj in GCode view, model stays visually (kinda confusing?)
2018-05-10 17:21:59 -07:00
John Lewin
664b736f66 Disallow model selection in GCode views
- Issue MatterHackers/MatterControl#3148
After deleting obj in GCode view, model stays visually (kinda confusing?)
2018-05-10 17:14:54 -07:00
Lars Brubaker
f39d2116ee Made the selection much faster and consistent 2018-05-09 16:41:45 -07:00
John Lewin
f6ce9431b6 Move state from widget to model and revise persistence/init
- Issue MatterHackers/MCCentral#3305
View style state not synced on load
2018-05-09 08:41:29 -07:00
John Lewin
6441440764 Improve readability, add uncommitted change 2018-05-09 07:50:50 -07:00
John Lewin
50ec91ea2f Ensure drag-drop GCode is disallowed on part tabs
- Issue MatterHackers/MCCentral#3318
Drag-drop GCode to part tab should not be allowed
2018-05-09 07:35:42 -07:00
John Lewin
9a43326fd5 Switch to GCode view on load if is GCode content 2018-05-07 19:22:21 -07:00
John Lewin
e46737072e Never intentionally null ContentStore 2018-05-07 19:22:21 -07:00
John Lewin
37c131adac Remove hard-coded PlatingHistory binding, reuse current reference 2018-05-07 19:22:20 -07:00
John Lewin
7fa6736e4b Remove this prefix on local member 2018-05-07 19:22:20 -07:00
Lars Brubaker
f825e502b9 Cleaning up calls 2018-05-02 11:06:52 -07:00
Lars Brubaker
6c1c8bf8bd Fixing gcode change layer with arrow keys 2018-04-23 18:48:17 -07:00
Lars Brubaker
573995658e Made the view 3d keys happen when no other control has taken them 2018-04-23 15:02:15 -07:00
Lars Brubaker
3a26b12f22 Got the view to be off center
Made the gcode panel and the model panel match sizes
The vanishing point can be moved in x
2018-04-18 09:37:02 -07:00
John Lewin
64eb8b3a0c Reduce spacing 2018-04-13 12:33:15 -07:00
John Lewin
2a21884abb Make SectionWidget collapsable when disabled
- Directly set Enabled on SectionWidgets rather than on parent
- Add ExpandableWhenDisabled property to SectionWidget
- Expose primary SelectedObjectPanel surface as ContentPanel prop
- Issue MatterHackers/MCCentral#3099
2018-04-12 07:58:08 -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
John Lewin
2682c73021 Remove printer dependencies from non-printer contexts 2018-04-05 18:46:31 -07:00
John Lewin
2d6d6e5c6c Revise button container right margin 2018-04-05 16:02:54 -07:00
John Lewin
2980038dff Rename member to match current behavior 2018-04-05 15:59:44 -07:00
John Lewin
2339988df7 Move BackgroundColor to parent 2018-04-05 15:57:32 -07:00
John Lewin
170fee4672 Disable selectedObjectPanel when selected scene item lost 2018-04-05 15:54:17 -07:00
John Lewin
746f4e1d2e Move View Options to parent container 2018-04-05 15:54:14 -07:00
John Lewin
5a13d9cf30 Move view options from overflow menu to new persistent panel
- Issue MatterHackers/MCCentral#3014
Add View Options panel to model view
2018-04-05 15:52:17 -07:00
John Lewin
d556fbcf75 Move state from UI layer to model 2018-04-05 15:52:14 -07:00
John Lewin
ac3982c9d5 Fix spelling 2018-04-04 15:58:57 -07:00
John Lewin
2335db7e12 Update for TrackBall changes 2018-04-03 08:36:21 -07:00
John Lewin
9e0f03e68e Remove disabled test code from product 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
John Lewin
20d6628b82 Extract "Show Bed/Print Area" menu items for reuse 2018-03-16 17:45:48 -07:00
John Lewin
3393f196a2 Change GCodePanel accessibility, move init logic to PrinterTabPage 2018-03-14 17:14:51 -07:00
John Lewin
8b5d05ed93 Revise naming for clarity
- GCode3DWidget is no longer what the name suggests
2018-03-14 17:14:51 -07:00