Commit graph

67 commits

Author SHA1 Message Date
John Lewin
d4099475fc Use IconButton, collapse single use method into caller 2018-04-28 22:15:08 -07:00
John Lewin
8ffce7cd0c Use OnLoad rather than constructor to prevent timing issues on load
- Issue MatterHackers/MCCentral#3251
Collection modified exception during startup
2018-04-28 22:15:08 -07:00
John Lewin
dec42d4f5a Improve scaling behavior
- Issue MatterHackers/MCCentral#3230
2018-04-24 18:40:20 -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
87876c6ca2 Remove indirection to dependency 2018-04-07 08:21:39 -07:00
John Lewin
80ae5d9bef Remove dead code 2018-01-14 10:39:12 -08:00
John Lewin
91d8b746ae Switch to forward slash separator
- Issue MatterHackers/MCCentral#2500
Use forward slash as content separator instead of right arrow
2017-12-25 09:14:11 -08:00
John Lewin
511401665f Rename button 2017-12-25 09:14:11 -08:00
John Lewin
b0d7c192af Disable Up Folder button in RootContainer
- Issue MatterHackers/MCCentral#2479
Up Folder buttons should be disabled in root container
2017-12-24 19:40:14 -08:00
John Lewin
2c0f82dfd0 Rename LoadContainer to SetActiveContainer to clarify behavior 2017-12-18 10:53:26 -08:00
Lars Brubaker
5638bfa646 Put in loading of OBJ files
Load 64 bit matter slice in debug
Build ray trace thumbnails in 64 bit always
2017-11-03 13:43:55 -07:00
John Lewin
6c9f7c8922 Reduce complexity of ButtonFactory, use ImageBuffers vs String or Buffer 2017-10-15 00:00:20 -07:00
John Lewin
145ef1ad63 Move theme image adjustment functionality into StaticData.LoadIcon 2017-10-14 23:32:04 -07:00
John Lewin
87c0e628f8 Revise Winforms startup positioning
- Issue MatterHackers/MCCentral#2047
Invalid window position on test startup
2017-10-10 14:34:58 -07:00
John Lewin
28e49865b3 Use theme color 2017-09-25 14:01:17 -07:00
John Lewin
5a856f6d8f Fix button position/size - use consistent type for icon actions 2017-09-25 13:48:30 -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
e372b33358 Use existing factory with same margin overrides 2017-08-03 19:00:38 -07:00
John Lewin
4abea0ab0c Extract button factory options to new class 2017-08-03 19:00:37 -07:00
John Lewin
d6a97052bf Make standard button factory member names more generic 2017-08-01 21:18:00 -07:00
John Lewin
9c7e39ac38 Use LinkButtons in breadcrumb bar 2017-06-19 18:52:10 -07:00
John Lewin
b3ed045478 Only show ActiveContainer name if breadcrumb bar width < 250 2017-06-16 22:09:07 -07:00
John Lewin
564b7cc651 Use icons for terminal, eeprom, undo and redo printer actions
- Use placeholder images until custom MC assets are made
- Add attribution for placeholder images
- Remove disabled prototyping code
2017-06-04 14:46:31 -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
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
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
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
16c2230018 Initial screensaver prototype
- Consolidate title casing mechanism into PrintItemWrapper.GetFriendlyName
2017-01-19 12:31:53 -08:00
John Lewin
535a161115 Remove event keyword from private fields 2016-12-29 06:57:42 -08:00
Lars Brubaker
648f066582 Get the under menu not to open hover effect. 2016-12-20 09:46:43 -08:00
Lars Brubaker
1f979dbd89 Fixed library hover effect on android
Make sure we are using the correct events
2016-11-07 09:33:23 -08:00
Lars Brubaker
68788892e6 Make edit available all the time
Make an "oops can't search" for library selector.
2016-10-06 14:09:35 -07:00
John Lewin
4344fc9765 Use new ImageBuffer constructor with common defaults 2016-09-23 10:35:33 -07:00
John Lewin
e5a63b052e Migrate Theme support to Agg.UI 2016-06-03 17:22:19 -07:00
Lars Brubaker
b51b38b249 Moved TextWidget.GlobalPointSizeScaleRatio -> GuiWidget.DeviceScale
Significantly improved the layout consistency when enlarging the device scale.
Created a DeviceMargin and DevicePadding on GuiWidget
Deleted dead code
Made many images have default larger disk sizes and scale in memory.
Made the menus have horizontal spacers rather than dashed lines
2016-05-06 17:56:27 -07:00
larsbrubaker
a333961029 Made the row items not open their slide menus unless they represent the top widget under the mouse.
removed dead code.
2016-05-04 21:57:33 -07:00
Lars Brubaker
48fe200821 Made a new MenuItemColorStatesView that only changes colors.
Made DropDownMenu use the color changing menu states
Fixed a bug in the bread crumb renderer
Making the library options available all the time in a menu
2016-04-29 18:16:08 -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
John Lewin
308b2cbc87 Add visual indicator for http failures 2015-12-23 17:04:29 -08:00
Lars Brubaker
b2641f285c Made it possible to detect if a double click should be processed. 2015-10-22 17:09:16 -07:00
John Lewin
b900841d74 Remove queue/history library providers and filter shared items provider from selector
- Fixes #104131666, #104140048
2015-09-24 16:28:51 -07:00
Lars Brubaker
5de11eb5bf Make sure we refresh the display when clicking a thumbnail in the library selector. 2015-09-23 11:27:32 -07:00
John Lewin
fa908d15be Refresh root library view as needed
- Add LibraryRootNotice event
 - Hook LibraryRootNotice into new Socketeer LibraryRootNotice DeviceEvent
 - Listen for LibraryRootNotice in LibraryProviderSelector and call ReloadData to ping ProviderFactories for visibility
 - Refactor LibraryProviderSharedPlugin for clarity
 - Refactor LibraryProviderSharedPlugin to support refreshing visibility logic after ShouldBeShown() calls
 - Revise AcquireCollectionData() to use 'internal' access modifier for reuse in LibraryProviderSharedPlugin
 - Ensure the input field on CloudShareRedeemForm is focused by default, make buttons available to test automation
 - Add new test for 'Shared with Me' folder visibility
 - Update existing Purchased folder test to look for revised item name
 - Replace magic 'ProviderSelectorKey' token with static member for compile time consistency
2015-09-22 22:40:15 -07:00
Lars Brubaker
fd860f19d2 Put a bigger icon in touch 2015-09-22 12:21:11 -07:00
Lars Brubaker
43dc9a65da Made the back button say "Back" 2015-09-14 14:48:13 -07:00
Lars Brubaker
20b4bba75e Improving the scroll bars 2015-09-11 16:41:20 -07:00
Lars Brubaker
a0659dc8bb Made PrintItemWarppers have a ProviderLocator rather than a Provider
Fixed some null reference bugs
Fixed a bug with copy to library changing the queues file path
Made save as work better.
2015-09-11 14:36:57 -07:00
Lars Brubaker
3504d4dfe4 Made dispose on library providers get called much more consistently.
Made squlite provider do more operations async.
2015-09-10 12:42:52 -07:00
Lars Brubaker
727f9a1d31 Making the back navigation be labeled "back"
Turned off the hand cursor
2015-09-10 10:07:14 -07:00