Commit graph

67 commits

Author SHA1 Message Date
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
John Lewin
a28e92bd27 Restore to prior bed plates
- Maintain all ViewMode across ReloadAll
- Move more GCode renderer data to model
2017-11-29 15:22:18 -08:00
John Lewin
e67e915d4c Always enable GCode2D view 2017-11-29 14:41:55 -08:00
John Lewin
5b1fec7144 Expose controls for conditional Enable 2017-11-29 13:45:01 -08:00
LarsBrubaker
168e95f798 Make sure we can switch to part select in touchscreen mode
This will eventually be removed when the tumble control is done
2017-11-29 07:45:03 -08:00
John Lewin
db1228b7f7 Guard for null 2017-11-27 18:09:29 -08:00
John Lewin
da5600fbb7 Move ViewMode/ViewModeChanged to model, listen and respond in UI
- Issue MatterHackers/MCCentral#2290
After slicing the view is switched to 3D GCode but the button...
2017-11-27 17:36:36 -08:00
John Lewin
a3cbe6acbe Compute opaque theme colors, save before slice, revise icon styling
- Change slicing hash generation method/name
- Add ComputeFileSha1 to ApplicationController
- Issue MatterHackers/MCCentral#2307
Same color supplied for both tab and border
- Issue MatterHackers/MCCentral#2304
Have to Save file to make slicing go after change to scene
2017-11-21 11:11:07 -08:00
John Lewin
d90cd35134 Scene actions should be bound to their context, not to ActivePrinter
- Issue MatterHackers/MCCentral#2211
Scene operations (subtract, intersect) do not work in Part view
2017-11-15 18:04:51 -08:00
John Lewin
ca6c8ccdee Smaller home/reset view icon 2017-11-13 16:08:06 -08:00
John Lewin
c0eb7b67b5 Use common menu styling for ViewControls3D overflow menu
- Add new RadioIconButton based on SimpleButton
- Fix layout issues caused by FixBoundsAndChildrenPositions removal
- Issue MatterHackers/MCCentral#2220
ViewControls3D should use theme colors
- Issue MatterHackers/MCCentral#2217
Popup menu uses inconsistent styling
2017-11-09 15:49:18 -08:00
John Lewin
ae5160c02e Prefer object constructor over GenerateIconButton helper
- Allows for the use of Initializer pattern, less abstraction
2017-11-09 12:45:11 -08:00
John Lewin
c831eb6484 Improve SelectedObjectPanel visibility/positioning, try toolbar buttons 2017-10-20 07:26:33 -07:00
John Lewin
ac41480e41 Remove ViewControlsBase 2017-10-19 09:04:11 -07:00
John Lewin
773354766a Sync up variable names with type changes 2017-10-15 15:50:48 -07:00
John Lewin
f5f32fb53e Rename OverflowDropdown -> OverflowMenu 2017-10-15 15:40:31 -07:00
John Lewin
4b3246f408 Simplify, extract menu behaviors from OverflowDropdown for reuse 2017-10-15 15:36:42 -07:00
John Lewin
31661a8b98 Missing theme settings for Touchscreen icons 2017-10-15 01:24:33 -07:00
John Lewin
1e8190eaa6 Make ButtonFactory helper proxies private, accessible through .Options 2017-10-15 00:22:47 -07:00
John Lewin
145ef1ad63 Move theme image adjustment functionality into StaticData.LoadIcon 2017-10-14 23:32:04 -07:00
John Lewin
56609532c9 Fix button sizing, use new IconButton type 2017-09-30 10:40:09 -07:00
Lars Brubaker
8854dc467c Working on new group system 2017-09-12 18:39:02 -07:00
John Lewin
3a9833697d Platform providers
- New Provider model
- Remove WindowsFileDialogs project
- Remove PlatformAbstract assembly, use AggContext
- Rename OsInformation to OperatingSystem
2017-08-22 13:42:34 -07:00
John Lewin
580312f05d Move Undo operations to ViewControls3D 2017-08-14 12:38:50 -07:00
John Lewin
74186a28a0 Fix ViewControls border, spacing and color 2017-08-10 09:40:03 -07:00
John Lewin
40e729ab8c Use common button spacing 2017-08-10 06:00:11 -07:00
Lars Brubaker
f7d4163125 Refactoring VAnchor and HAnchore names
Making more debug info for show bounds
2017-08-07 15:47:27 -07:00
John Lewin
b2c898be6c Move 2D layer view to same context as siblings views 2017-07-10 16:28:41 -07:00
John Lewin
ae02c29c76 Use concept layer assets 2017-07-07 17:58:23 -07:00
John Lewin
e0e663746a Fix initial button checked state 2017-07-07 12:28:03 -07:00
John Lewin
1a9d90bc15 Ensure view and button state are always synced 2017-07-07 12:28:02 -07:00
John Lewin
5e85b29e11 Move view mode selection buttons into main toolbar, revise icons 2017-07-06 18:15:53 -07:00
John Lewin
34a377ede2 Exact PrinterTabPage to new file 2017-07-06 14:54:26 -07:00
John Lewin
0784900080 Always in part select mode on desktop 2017-07-05 13:55:38 -07:00
John Lewin
171016c16f Use initializer syntax 2017-07-03 09:30:30 -07:00
John Lewin
fc45a60d35 Revise PauseOnLayerDoesPauseOnPrint test
- Now intermittently passing
- Make Layer toggle button and Bedplate Save button automatable
- Save Bedplate before leaving AddDefaultFileToBedplate
- Revise casing on AddDefaultFileToBedplate
2017-06-03 19:10:12 -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
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
John Lewin
4559073237 Move more widgets to printer action bar
- Extract elements in PrinterConnectAndSelectControl to components
- Use new components in printer action bar
- Extract more factories to shared components
- Move shared color to ThemeConfig
- Add support for widget generation during ShowPopup
2017-05-24 14:19:02 -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
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
f9c769998d Migrate View3D>Edit>Display options to ViewControls3D overflow menu 2017-05-22 18:17:35 -07:00
John Lewin
907609b587 Design tools 2017-03-15 16:29:56 -07: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
John Lewin
535a161115 Remove event keyword from private fields 2016-12-29 06:57:42 -08:00
Lars Brubaker
6d3a8535af Fixed home icon being the wronge size on touch. 2016-10-28 14:11:45 -07:00