Commit graph

288 commits

Author SHA1 Message Date
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
3ec34e0adc Remove ViewControls2D, use shared ViewControls across Layer2D/3D views 2017-05-26 21:28:35 -07:00
John Lewin
bce4137069 Remove sidebar, fix ViewControl buttons 2017-05-26 13:46:12 -07:00
John Lewin
4d4b9dca8e Continue migrating sidebar items to new locations 2017-05-26 02:10:22 -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
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
f9c769998d Migrate View3D>Edit>Display options to ViewControls3D overflow menu 2017-05-22 18:17:35 -07:00
John Lewin
4d84844f96 Throw exceptions for missing functionality rather than Debug.Break
- Fix unexpected abort in NUnit testruns
- Tests should fail rather than crash, highlighting areas needing focus
2017-05-21 22:37:30 -07:00
John Lewin
03a593f1b5 Move to new library model and view
- Add new listview control for library content
- Migrate library providers to containers
  - Cloud, Sqlite, Directories, Queue, History
- Migrate SideBar components to containers
  - Primatives, Text, Braille, ImageConverter
- Create new library container types
  - Zip files, Calibration parts, Printer SDCards
- Reduce leftnav to Library, Settings, Controls, Options
- Add DragDrop support for image content
2017-05-20 00:41:02 -07:00
Lars Brubaker
309132452b Cache the selection shadow mesh. 2017-04-07 11:54:53 -07:00
Lars Brubaker
c29e9a8b39 Made the selection show able to give feedback about demo mode 2017-04-07 11:54:21 -07:00
John Lewin
d647cf8a86 Add DragDrop support for image content 2017-04-05 19:03:04 -07:00
Lars Brubaker
ceaa1a94da Moved drag drop to be in our mouse data rather than mirrored api 2017-04-05 16:25:43 -07:00
John Lewin
c0ea951169 Add new UngroupCommand implementation
- Ensures that ungrouped content inherits parent transforms
2017-03-28 17:44:50 -07:00
John Lewin
78b0834e7d Extract distinct volumes from mesh on Ungroup
- Rename event to clarify intent
2017-03-28 10:31:43 -07:00
John Lewin
907609b587 Design tools 2017-03-15 16:29:56 -07:00
Lars Brubaker
9200ef1a9f compile and continue 2017-03-06 17:41:06 -08:00
Lars Brubaker
3d89a6d071 Fixing the export button to work correctly. 2017-03-06 17:32:46 -08:00
Lars Brubaker
4d96a26cd0 Moved all the easy static localized strings to non-static strings 2017-03-01 13:48:49 -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
9c55f8f982 New default constructor, moved hanchor vanchor
removed cover
2017-02-01 16:39:24 -08:00
John Lewin
8510ca5b3d Remove duplicate .Click event from ButtonBase 2017-01-17 15:31:08 -08:00
John Lewin
ace89e1e5a Use .Localize extension function 2017-01-04 10:52:06 -08:00
Lars Brubaker
ecaf2d3cdf Interactive user prompts should confirm the action requested 2016-12-12 17:42:22 -08:00
Lars Brubaker
83a3c87557 Quality settings override correctly. 2016-12-06 17:54:27 -08:00
John Lewin
408fc580f4 Remove duplicate semicolons 2016-12-01 15:14:53 -08:00
Lars Brubaker
a03b05cc1f Don't apply the scale directly
now that we don't record the original size. Don't set this automatically.
2016-10-12 17:50:08 -07:00
Lars Brubaker
907f4306f6 fixing colors 2016-10-10 15:16:33 -07:00
Lars Brubaker
8b72131769 Fixed down arrows on edit model page
MatterHackers/MCCentral#538
Lost down arrow for edit options on 3D view
2016-10-06 10:59:51 -07:00
Lars Brubaker
cd7406d82b Created a UserSettingsKey and SystemSettingsKey
Moved some settings into this, lots more to do
2016-08-30 10:30:55 -07:00
Lars Brubaker
f13432ca9a improving undo and making the buttons show 2016-08-08 14:54:55 -07:00
John Lewin
9f01abe653 Backport onload event from scene_bundle 2016-07-24 17:26:24 -07:00
John Lewin
208d9b334a Rename Draw events 2016-07-24 16:32:04 -07:00
Lars Brubaker
626727d781 Parse temp on contains T: rather than starts with T:
Move parts to bed on scale.
2016-07-15 17:07:45 -07:00
Lars Brubaker
20a83a9f78 Make sure we make copies of images that we are modifying in image button creation.
Trying to make eula draw faster
Keep rotated objects on the bed.
2016-07-07 10:28:51 -07:00
Lars Brubaker
6f1760e33b Fixed #1002 bed temp not being set on pre-heat. 2016-06-22 17:13:05 -07:00
Lars Brubaker
591dcb17da Made the scale control work with single transforms
scale control was in transition and this makes it usable. fixes #1005
made clearing an override send an update message.
2016-06-22 16:29:14 -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
773f6ddc9b More settings moved to GetValue
extruder_count
bed_temperature
2016-06-16 10:31:18 -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
814763ed72 Convert some accessors to use GetValue<T> 2016-06-15 16:15:47 -07:00
John Lewin
d27db87a65 Migrate StyledDropDownList to Agg 2016-06-03 18:11:51 -07:00
John Lewin
e5a63b052e Migrate Theme support to Agg.UI 2016-06-03 17:22:19 -07:00
Lars Brubaker
f6dd491f7c Made the pencil icon the right color. 2016-05-16 17:47:25 -07:00