Commit graph

101 commits

Author SHA1 Message Date
John Lewin
9c00f026c0 Restore icon for Add menu item, improve icon support in MenuItem
- Render non-enabled menu icons with new lazy DisabledImage property
- Move SettingsRow into CustomWidgets namespace
2018-04-07 11:07:38 -07:00
John Lewin
13c10644bc Move buttons into menu, remove now unused SmallMarginButtonFactory 2018-04-07 10:22:54 -07:00
John Lewin
32faf1c279 Revise async 2018-03-27 09:27:09 -07:00
John Lewin
c89aeca2b6 Remove dead code causing compiler warnings 2018-03-27 09:27:07 -07:00
John Lewin
16ed93f518 Remove unnecessary async specifiers 2018-03-27 09:27:07 -07:00
John Lewin
d722988f5a Remove logging 2018-03-16 17:45:47 -07:00
John Lewin
06e9a73b03 Extract embedded types to new files 2018-03-07 12:25:57 -08:00
John Lewin
52a143e955 Implement library/listview sorting
- Issue MatterHackers/MCCentral#2865
Add sorting fields to ILibraryItem as promised by sort menu
2018-02-27 17:39:27 -08:00
John Lewin
51eb7dfaf2 Force correct remainingSpace value 2018-02-21 16:42:36 -08:00
John Lewin
81c81dd26e Fix resize/layout/reflow issues with ListView/Explorer controls 2018-02-21 16:42:36 -08:00
John Lewin
586c37b9d7 Guard for null 2018-02-16 12:21:46 -08:00
John Lewin
ea450868fa Proxy TooltipText from TextWidget to IconListView 2018-02-15 14:29:38 -08:00
John Lewin
78341ef3e2 Use specialized type for missing files in Queue
- Prevent DragDrop with filter for MissingFileItem
- Allow MissingFileItem in ListView in addition to IsContentFileType
2018-02-15 14:27:01 -08:00
John Lewin
9e13da5def Add sorting to library view
- Issue MatterHackers/MCCentral#2475
2018-02-14 09:45:13 -08:00
John Lewin
6185ae5223 Sort containers by name and use Linq query, rather than method, syntax 2018-02-14 08:13:38 -08:00
John Lewin
f440981e51 Rename ILibraryContentStream -> ILibraryAssetStream 2018-02-12 19:26:38 -08:00
John Lewin
7a4d4df4c0 Rename ILibraryContentItem -> ILibraryObject3D
- Rename member .GetContent() -> .GetObject3D()
2018-02-12 19:26:38 -08:00
Lars Brubaker
81f7cdb8b2 Removing secondary accent color 2018-01-24 09:30:05 -08:00
John Lewin
d1a015e3e1 Use new background for thumbnail background highlight color 2018-01-16 22:59:36 -08:00
Lars Brubaker
50138c00c6 Make themes default to have more contrast when required 2018-01-08 16:42:27 -08:00
John Lewin
04bb036120 Guard for null
- Issue MatterHackers/MCCentral#2499
Repair expected CloudLibrary behavior
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
5f09954b92 Limit back-to-back double click actions to a single occurrence 2017-12-21 15:25:49 -08:00
John Lewin
080658256c Use pattern matching 2017-12-21 15:17:39 -08:00
John Lewin
4ee5a1b0f9 Remove redundant Invalidate 2017-12-18 10:53:26 -08:00
John Lewin
00c0be94c2 Fix library performance issues due to resize on display
- Issue MatterHackers/MCCentral#2435
Large thumbnail images behind poorly performing ListView control
2017-12-18 10:53:26 -08:00
John Lewin
c8b700d6c6 DisplayContainer should never call Load, DoubleClick should always Load 2017-12-18 10:53:26 -08:00
John Lewin
2c0f82dfd0 Rename LoadContainer to SetActiveContainer to clarify behavior 2017-12-18 10:53:26 -08:00
John Lewin
494c2b6d82 Remove redundant helper method 2017-12-15 14:55:10 -08:00
John Lewin
d5c6c76625 Update padding values to match actual
- Issue MatterHackers/MCCentral#2402
Spacing calculation seems to be off
2017-12-12 08:53:22 -08:00
John Lewin
8a8c898043 Add ContentReloaded to ListView, wait in tests for ContentReloaded 2017-12-07 14:54:41 -08:00
John Lewin
cdd18ff1b8 Disable menu items in non-writable containers
- Issue MatterHackers/MCCentral#2265
Edit button doesn't appear to work in Root
2017-11-16 13:50:26 -08:00
John Lewin
69de19d4ca Revised Tabs
- Add tab close
- Show new tab on + tab button click
- Revise Close icon - only show circle on hover
- Add micro-thumbnails for sidebar prototype
- Issue MatterHackers/MCCentral#2243
Revise main tabs
- Issue MatterHackers/MCCentral#2242
Can't switch back from GCode2D view as all controls are lost
2017-11-12 23:13:45 -08:00
John Lewin
7f1f605c94 Scroll ListView by item height on mousewheel scroll events
- This matches Windows Explorer behavior
- Issue MatterHackers/MCCentral#2237
Mouse wheel scroll events are sluggish in library/list view
2017-11-10 17:45:16 -08:00
John Lewin
9cff33b282 Add gutter icon support to MenuItems
- Convert checkbox items to simple MenuItems with check icon
- Issue MatterHackers/MCCentral#2235
Add icon support to popup menus
2017-11-10 13:15:44 -08:00
John Lewin
07d488c85a Use smaller icon view in SaveAs window
- Add IconListView constructor parameter to set width/height at once
- Issue MatterHackers/MCCentral#1540
Save As window should not use large thumbnail view
2017-11-08 22:53:25 -08:00
John Lewin
6da5a4693c Move "Show Folders" filter to PrintLibraryWidget -> ContainerFilter
- Issue MatterHackers/MCCentral#2152
Folders checkbox honored by SaveAs window resulting in empty list
2017-11-08 18:22:21 -08:00
Lars Brubaker
cfca964294 More Refactoring of RGBA_Bytes 2017-11-01 18:13:47 -07:00
Lars Brubaker
359784877f Unify Vector2 3 and 4 to have upper case field members 2017-10-31 12:53:46 -07:00
Lars Brubaker
8d1fecab8c Changed RGBA_Bytes -> Color 2017-10-31 11:43:25 -07:00
John Lewin
2211b5c234 Call BeginReload and thus RecomputeFlowValues before adding Folders
- Drop reflowingContent bool, track last reflown width instead
- Issue MatterHackers/MCCentral#2151
Investigate LibraryQueueViewRefreshesOnAddItem failure
2017-10-31 07:57:26 -07:00
John Lewin
9b13955907 Set padding after computing leftRightMargin
- Issue MatterHackers/MCCentral#2151
Investigate LibraryQueueViewRefreshesOnAddItem failure
2017-10-31 07:57:25 -07:00
John Lewin
53077dba74 Remove anonymous block 2017-10-31 07:57:24 -07:00
John Lewin
fb71cd2150 Fix null reference error during reflow
- Issue MatterHackers/MCCentral#2140
Investigate AddToQueueFromLibraryButtonAddsItemsToQueue
2017-10-30 16:15:31 -07:00
John Lewin
160c410319 Restore ListView mode switching, fix missing list items
- MatterHackers/MCCentral#2130
ListView item counts change as reflow occurs
- MatterHackers/MCCentral#2128
Switching listview modes results in empty list
2017-10-26 10:57:46 -06:00
Lars Brubaker
7ed9c7374c Put invalidate on IObject3D
Made insertion group center on bed if not dragging
Put names into mirror buttons
Working on new mirror test
Refactoring
2017-10-25 17:05:57 -07:00
John Lewin
ec8c3cb7c7 Reduce use of Modify 2017-10-21 09:31:17 -07:00
John Lewin
c674bc329c Revise LibraryContainer Load events 2017-10-09 13:20:56 -07:00
John Lewin
5bb26006c6 Clearing model should clear associated widgets 2017-10-09 07:50:47 -07:00
John Lewin
37b539f89d Whitespace 2017-10-08 19:36:23 -07:00