Commit graph

53 commits

Author SHA1 Message Date
Lars Brubaker
5165270687 removing dead code. 2017-06-26 17:19:27 -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
c17b06d3d0 Tweak GCode view to support rendering widgets on top of MeshViewer 2017-06-24 13:55:12 -07:00
John Lewin
878d004a50 Remove inherited MeshViewer, push rendering to external mesh viewer 2017-06-24 13:17:43 -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
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
15263ed806 Try out temp controls in scene before move to Controls section 2017-06-16 22:39:00 -07:00
Lars Brubaker
ea87a164dd Making it possible to have layout engines for popup windows. 2017-06-13 14:32:09 -07:00
John Lewin
604d131a1b Make helper method pin SliceSettings tab as needed
- Use "Slice Settings" tab name expected by tests
2017-06-12 20:35:48 -07:00
John Lewin
77878d780b Expose pinned tabs to automation
- Expose pin button to automation
- Expose unpinned tabs to automation
- Use tabTitle variable instead of nameWidget.Key
- Hold  pin state outside of widgets
- Add PinStatusChanged to allow for external storing of pin state
2017-06-12 20:32:52 -07:00
Lars Brubaker
04a486044d Moved tab controls into printer
Put terminal into tab controls
2017-06-12 16:51:17 -07:00
larsbrubaker
3dc2e09637 A fun and hacky start at docking control. 2017-06-10 18:40:57 -07:00
John Lewin
a4d93b1869 Revise layout, sync up more sizes and colors 2017-06-08 10:14:06 -07:00
John Lewin
55e217641a Better expose reusable components
- Move ActiveView3D reference to ApplicationController
- Use ActivewView3D reference rather than ChildrenRecursive search
- Reuse EditPrinter button on action bar to get more tests passing
- Move IsContentFileType helper to LibraryConfig
- Make PlatingHelpers operate on IEnumerable<IObject3D> versus Scene
- Pass Scene.Children rather than Scene
- When plating multiple items, pass the updated IEnumerable context
2017-06-02 13:23:08 -07:00
John Lewin
5d55a3d83c Move world transforms outs of TrackballTumbleWidget
- Host on MeshViewer in MatterControl
2017-06-01 18:29:01 -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
fa3eea5467 Move Undo/Redo button to PrinterActionsBar 2017-05-26 01:14:22 -07:00
John Lewin
7c4ff5569b Fix more menu issues
- Restore ViewControls3D Overflow menu selection
- Revise DropList styling
- Revert to prior mechanism for DynamicPopupContent
- Create redirector in PrinterTabPage for dynamic overflow menu
2017-05-26 00:23:20 -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
Lars Brubaker
77c3b78eb1 Merge branch 'design_tools' of https://github.com/MatterHackers/MatterControl into design_tools
# Conflicts:
#	PartPreviewWindow/PartPreviewContent.cs
2017-05-24 15:07:06 -07:00
Lars Brubaker
912101fe32 sync 3d views transform 2017-05-24 14:48:00 -07:00
John Lewin
459dd3d304 Sync tab styling
- Fix temperature widget flow orientation for toolbar
- Create reusable constructor function for tabcontrols
- Conditional printer tab title of "Printer" or [PrinterName]
2017-05-23 21:29:03 -07:00
John Lewin
1e643617c5 Adjust tab styling
- Pass separator bars to tabs, disable drawn borders
- Remove ActionBar from leftnav
- Remove PrintProgressBar from leftnav
- Revise BreadCrumb button attributes
- Revise UpFolder icon
- Revise overflow/pancake menu icon
- Create OverflowButton to encapsulate common menu item
- Use horizontal/VerticalLine for consistent color/weight separators
- Reduce visual clutter
  - Minimize regions created by color and line separators
  - Reduce the contrast of separator lines
  - Reduce the contrast of region backgrounds
  - Use consistent background colors across sibling tab pages
2017-05-23 14:54:36 -07:00
John Lewin
907609b587 Design tools 2017-03-15 16:29:56 -07:00
Lars Brubaker
6ff4755f51 Made the tuning controls layout correctly (hack)
Fixed tab background color on part preview window
Change the background color back for controls
2017-02-24 10:17:34 -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
7a062a2cb2 Make system window control if in single os screen mode. 2017-01-19 10:35:42 -08:00
John Lewin
535a161115 Remove event keyword from private fields 2016-12-29 06:57:42 -08:00
Lars Brubaker
b4deffa944 More localizations 2016-12-16 15:25:00 -08:00
John Lewin
e92c2f0b2b Refactor tab control, remove exceptions when requested pages missing
- Fixes #986
 - Rename TabePageControlledByTab to TabPage
 - Remove excess TabPage setter (SwitchToPage)
2016-06-21 13:44:03 -07:00
Lars Brubaker
6ee626e794 Refactoring print settings strings into SettingsKey string consts
Made a new ReloadUiWhenChanged propertie for Properties.json
2016-06-21 09:38:37 -07:00
Lars Brubaker
2ee52deea6 More settings moved to GetValue
bed_size
bed_shape
build_height
bed_temperature
min_fan_speed
also Moved BedShape out of class and into namespace
2016-06-16 10:22:38 -07:00
larsbrubaker
7f65698864 Converted more settings methods to GetValue<T> 2016-06-16 06:58:28 -07:00
John Lewin
e5a63b052e Migrate Theme support to Agg.UI 2016-06-03 17:22:19 -07:00
Lars Brubaker
895eea253c Converted lots of get properties to methods in SettingsProfile 2016-04-27 18:57:51 -07:00
John Lewin
4496720772 Json Profiles 2016-04-27 14:35:57 -07:00
John Lewin
77633139aa Add support for closing MatterControl while printing
- Rename CloseAndRemoveAllChildren
2016-01-12 11:20:39 -08:00
larsbrubaker
0bf526dc02 Put in some more tooltips. 2015-08-15 16:38:07 -07:00
Lars Brubaker
4f8acd3974 Don't hook close button when embedded. 2015-08-13 15:41:33 -07:00
Lars Brubaker
6474ddc043 Make sure we close the children when Reloading the PartPreviewContent 2015-08-13 15:23:21 -07:00
Lars Brubaker
b8f61ae1e5 Made more code use tool tips.
Wrote more tool tips.
2015-08-10 10:15:28 -07:00
larsbrubaker
1f935c23cd Put in some more tool tips. 2015-08-09 20:05:49 -07:00
Lars Brubaker
591528ee91 Ran code maid against this code. 2015-04-08 15:20:10 -07:00
Lars Brubaker
b891465f27 Turned off switching to gcode view (was confusing when switching queue items). 2015-01-10 12:47:06 -08:00
Lars Brubaker
dd34371608 Don't add pop out on android. 2015-01-06 12:41:54 -08:00
Lars Brubaker
3481fc9ef3 Put pop outs in the embedded 3d view and gcode veiew. 2015-01-06 12:37:30 -08:00
Lars Brubaker
1085d0e66b Switch to gcode in the embedded view if loaded. 2014-12-17 16:59:09 -08:00
larsbrubaker
326cc83672 Fixed a problem with the sync to print.
Refactoring for clarity.
2014-12-16 23:02:46 -08:00