Commit graph

115 commits

Author SHA1 Message Date
John Lewin
ea88635352 Set user supplied name
- Issue MatterHackers/MCCentral#3118
Save As from Bed menu doesn't save file name
2018-04-13 17:34:47 -07:00
John Lewin
64771f9fae Unwire listener from long lived object 2018-04-13 12:33:15 -07:00
John Lewin
9364c22904 Use MenuTheme for icon loader 2018-04-13 12:33:15 -07:00
John Lewin
96cbdf9abe Remove hard-coded color, fall back to theme version in constructor
- Issue MatterHackers/MCCentral#3112
Unexpected border thickness/color
2018-04-13 12:33:14 -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
35a898871e Prefer InMemoryLibraryItem for passing scene reference 2018-04-09 13:16:18 -07:00
John Lewin
8cdbeb0a63 Include all known extension types in single field FileDialog filter
- Issue MatterHackers/MCCentral#2973
Bed -> Insert should work for all known content types
2018-03-27 17:54:38 -07:00
John Lewin
c89aeca2b6 Remove dead code causing compiler warnings 2018-03-27 09:27:07 -07:00
John Lewin
c49df8572d Fix STL export
- Issue MatterHackers/MCCentral#2857
Export to STL fails
2018-03-17 00:07:34 -07:00
John Lewin
d54e317382 Revise long running task title assignment and draw position
- Issue MatterHackers/MCCentral#2737
long running task overlaps title and content
2018-02-20 18:27:52 -08:00
John Lewin
127fedd0d5 Simplify SaveAs, move into menu definition,
- Extract persistence to Scene.ToPersistedLibraryItem()
2018-02-12 19:26:37 -08:00
John Lewin
19972a900f Move SaveChanges from GuiWidget(View3DWidget) to SceneContext 2018-02-12 19:26:36 -08:00
John Lewin
30cf0c0f60 Add support for slicing persisted but in memory IObject3D items
- Issue MatterHackers/MCCentral#2785
Exception in AddObjectsForExtruder
2018-02-09 18:11:55 -08:00
John Lewin
f01c3df7c8 Use sceneContext instead of printer
- Issue MatterHackers/MCCentral#2808
Unguarded/invalid reference to printer causes null reference error
2018-02-09 13:55:29 -08:00
John Lewin
8f55a938c5 Evaluate move of view buttons to Printer bar
- Issue MatterHackers/MCCentral#2784
Model/GCode tab buttons should be moved to printer bar
2018-02-07 18:46:31 -08:00
John Lewin
f3c0a9436d Disable selection on children to ensure Click event on widget
- MatterHackers/MCCentral#2779
New Cut/Copy/Paste/Save menu items intermittently function
2018-02-06 15:42:19 -08:00
John Lewin
bf800dac36 Add cut/copy/paste/save support to scene views
- Issue MatterHackers/MCCentral#2775
Make CTRL-C function as expected in View3DWidget
- Issue MatterHackers/MCCentral#2776
Make CTRL-S function as expected in View3DWidget
2018-02-06 13:31:52 -08:00
John Lewin
78546c6f80 Make View3DWidget Scene private 2018-02-05 17:41:04 -08:00
John Lewin
43cc7bc4d8 Remove redundant code in SwitchStateToEditing
- Set PartSelect as default mode in ViewControls3D
- Move Scene.SelectFirstChild to View3DWidget initialize
- Drop everything else
2018-02-02 17:43:54 -08:00
Lars Brubaker
2346ed359e Cleaning and improving editing properties. 2018-01-26 17:53:54 -08:00
John Lewin
1da9d0dfb5 Consolidate file extension definitions
- Issue MatterHackers/MCCentral#2527
Too many authorities on valid files types
2018-01-23 18:20:49 -08:00
John Lewin
51a2406c0f Implement overflow menus 2018-01-21 21:07:14 -08:00
John Lewin
7413ee930b Use correct type for button with popup menu 2018-01-21 20:37:35 -08:00
Lars Brubaker
e3be3d0961 Removed InteractiveScene Focused Event 2018-01-18 12:57:39 -08:00
LarsBrubaker
de5d70c717 Hook up an Event so that buttons can push focus back to the widget holding the InteractionLayer 2018-01-18 12:57:38 -08:00
John Lewin
8347ddbe08 Fix spelling 2018-01-17 08:32:40 -08:00
John Lewin
9edbd8c492 Process enabled rules in part mode, use sceneContext rather than printer
- Issue MatterHackers/MCCentral#2660
All toolbar operations enabled without selection in Part mode
2018-01-17 08:16:23 -08:00
John Lewin
7b5302c7e0 Revise separators 2018-01-16 21:48:20 -08:00
John Lewin
fd439fe675 Switch to transparent button backgrounds
- Add TextIconButton for image/text combos
- Add SimpleFlowButton for hover behaviors on Flowlayout types
- Duplicate hover behaviors in PopupMenuButton
- Base SimpleButton on GuiWidget rather than classic button type
- Issue MatterHackers/MCCentral#2671
Evaluate transparent normal fill for toolbar buttons
2018-01-16 19:01:09 -08:00
John Lewin
3cc73d0933 Left align menu
- Issue MatterHackers/MCCentral#2644
Bed/part menu should not be align right
2018-01-13 11:14:57 -08:00
John Lewin
2b2c63048b Disable View GCode buttons in the non-printer case
- Issue MatterHackers/MCCentral#2643
2018-01-13 11:14:57 -08:00
John Lewin
0869d580be Fix bed menu spacing, background color, add support for non-gradient bg 2018-01-12 23:19:44 -08:00
John Lewin
027bee90cd Fix incorrect IsPrinterMode state during startup 2018-01-11 22:26:05 -08:00
John Lewin
4168f1dfe6 Move bed menu, extract creation to helper function 2018-01-11 22:25:36 -08:00
John Lewin
1f8d5614e0 Remove unused button factories 2018-01-11 18:04:54 -08:00
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