Commit graph

1010 commits

Author SHA1 Message Date
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
LarsBrubaker
c3ffe541be Refactoring selection bounds to be in world space
refactoring changing signatures
2018-05-10 10:20:39 -07:00
John Lewin
95a82a3093 Cleanup 2018-05-10 08:37:55 -07:00
John Lewin
6dcbd60fc0 Remove Invalidate from OnDraw call
- Issue MatterHackers/MCCentral#3347
Invalidate should not be invoked from Draw
2018-05-10 08:37:55 -07:00
John Lewin
b8d5b00ad3 Compute rather than move for selection render
- Issue MatterHackers/MCCentral#3344
Won't close if there is a selection on the bed

- Issue MatterHackers/MCCentral#3347
Invalidate should not be invoked from Draw
2018-05-10 08:37: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
45b8c06827 Switch back to Model view on ClearPlate
- Issue MatterHackers/MCCentral#3284
clearing the bed does not switch back on the 3D view after dragging on GCode
2018-05-07 19:22:21 -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
6bf019c5b4 Change make permanent to apply (consistent with solidworks)
issues:
MatterHackers/MCCentral#3273
Selection object should not have delete and make permanent
MatterHackers/MCCentral#3277
check on text makes group of meshes
MatterHackers/MCCentral#3276
disable delete on text
MatterHackers/MCCentral#3263
Need a material none button (unset)
2018-05-02 14:34:51 -07:00
Lars Brubaker
f825e502b9 Cleaning up calls 2018-05-02 11:06:52 -07:00
Lars Brubaker
27b1e31ac5 Working on fit to bounds having radial option (image coin support)
Make default names and colors for all primitives
Improving public property editor context so we can show many at the same time
fixed spelling
2018-05-02 10:59:19 -07:00
Lars Brubaker
c3653967d0 Automation runner defaults to agg input methods and tests pass
Got agg input methods working better
deleted some unneeded tests
Working on adding past image to clipboard
Working on adding past FileDropList to clipboard
2018-04-30 15:16:25 -07:00
John Lewin
3906d1b659 Improve scaling 2018-04-26 07:56:29 -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
eee201fe83 Refactoring 2018-04-21 06:24:56 -07:00
John Lewin
27b967da2e Use MipMap for 2D bed image
- Issue MatterHackers/MCCentral#3186
2018-04-19 18:16:14 -07:00
John Lewin
f204e80fd9 Remove plus tab button, use fixed Start tab 2018-04-19 15:53:59 -07:00
Lars Brubaker
a421ca2aae using the bed image on 2d view
making bed re-calculate on 2d view
2018-04-19 14:39:55 -07:00
John Lewin
48b7a85de6 Invoke Click rather than changing Checked to ensure event fires
- Issue MatterHackers/MCCentral#3171
Something got messed up with baby stepping on this print
2018-04-19 13:27:40 -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
507e04def6 Invert menu icon on dark themes
- Issue MatterHackers/MCCentral#3114
Overflown search icon is incorrect on dark themes
2018-04-15 14:14:01 -07:00
John Lewin
c13c6bbe7b Move ApplyBoxStyle extension method into theme, use local theme refs 2018-04-14 21:13:59 -07:00
John Lewin
64eb8b3a0c Reduce spacing 2018-04-13 12:33:15 -07:00
John Lewin
7f62ce801d Fix borders on Advanced SectionWidget 2018-04-13 12:33:15 -07:00
John Lewin
1c5e69ced6 Revise margin on Advanced SectionWidget 2018-04-13 12:33:15 -07:00
John Lewin
178708526b Extract border helper from PrintPopupButton, reuse in heater popups 2018-04-13 12:33:15 -07:00
John Lewin
f8a15c3b96 Convert static icons to instance, use theme colors 2018-04-12 13:18:28 -07:00
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
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
LarsBrubaker
0c8b32f0d5 Refactoring easing 2018-04-12 07:16:58 -07:00
Lars Brubaker
3091a719ee Made RoundedToggleSwitch play mouse down animation
Made UiThread SetInterval return a RunningInterval
Added EaseIn EaseOut and EaseInOut to agg_basics
2018-04-11 17:36:03 -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
af42364b37 Reuse ColorButton on Materials panel
- Issue MatterHackers/MCCentral#3091
Materials panel should render non-focus like siblings
2018-04-10 18:14:12 -07:00
Lars Brubaker
32e38ff3d6 Make sure we only split sorted meshes 2018-04-09 12:34:50 -07:00
Lars Brubaker
7590b179b6 Changed Bake to MakePermanent 2018-04-09 11:58:21 -07:00
John Lewin
bd3db106b0 Prefer local reference to static 2018-04-07 22:53:34 -07:00
John Lewin
f8735861a9 Use MaxFitOrStretch for parity with siblings
- Issue MatterHackers/MCCentral#3064
Menu stops functioning if clicked and no items overflow
2018-04-07 15:15:28 -07:00
John Lewin
06a7a20ba4 Fix alignment issue 2018-04-07 14:59:08 -07:00
John Lewin
e767a6a84f Compute and reuse scaled button size
- Issue MatterHackers/MCCentral#3068
Inconsistent scaling in ColorSwatchSelector
2018-04-07 14:59:08 -07:00
John Lewin
27ceaa1635 Remove ButtonFactory indirection, directly reference theme instances 2018-04-07 14:59:07 -07:00
John Lewin
7454d79b85 Switch to grayscale when disabled
- Issue MatterHackers/MCCentral#3062
ColorSwatchSelector remains vibrant when disabled
2018-04-07 12:00:35 -07:00
John Lewin
3ad0c32d6d Directly expose typed OverflowButton, resolve menu enabled regression
- Issue MatterHackers/MCCentral#3060
PrintLibrary popup menu items are always enabled
2018-04-07 09:50:52 -07:00