Commit graph

123 commits

Author SHA1 Message Date
John Lewin
7d8bb2d964 Decouple thumb generation for ListView control
- Issue MatterHackers/MCCentral#3357
ListView ActiveContainer_Changed fires far more than expected

- Issue MatterHackers/MCCentral#3363
Start page -> Part icon -> Click does not load workspace
2018-05-11 18:41:50 -07:00
John Lewin
ad62450575 Remove accidental shadowing of base property 2018-05-11 18:41:50 -07:00
John Lewin
6558003511 Remove ListView instance coupling, revise to ILibraryContainer 2018-05-11 18:41:50 -07:00
John Lewin
fd63b2c5fc Restore borders for hovered/selected list view items, use native borders
- Issue MatterHackers/MCCentral#3345
Restore borders for selected items, replace owner drawn with native
2018-05-09 20:39:53 -07:00
John Lewin
c172fb0825 Allow ImageWidget to drive height 2018-05-05 10:15:57 -07:00
John Lewin
f3db5f0aab Remove unused unregisterEvents pattern 2018-05-05 09:51:58 -07:00
John Lewin
5874b0459d Reduce scope, inline widget construction 2018-05-05 09:47:30 -07:00
John Lewin
c3e48de7a7 Remove redundant containers 2018-05-05 09:45:07 -07:00
John Lewin
bfff9c72bc Simplify naming 2018-05-05 09:39:10 -07:00
John Lewin
5b46c86dac Remove anonymous block 2018-05-05 09:38:17 -07:00
John Lewin
d10db194dc Remove unused widgets 2018-05-05 09:35:47 -07:00
John Lewin
16d5a04a23 Use common text styling 2018-05-05 09:26:26 -07:00
John Lewin
c2d130f284 Use common colors 2018-05-05 09:20:25 -07:00
John Lewin
ec7a84174b Remove ConditionalClickWidget from RowViewItem 2018-05-05 09:04:12 -07:00
John Lewin
d86f49a3a7 Remove IsActivePrint property from ListViewItemBase 2018-05-05 08:52:17 -07:00
John Lewin
608a6dc5b1 Remove hover action panel from classic list view items
- Issue MatterHackers/MCCentral#3306
2018-05-05 08:46:19 -07:00
John Lewin
42e4a794ce Inflate margin/padding variable to account for scale
- Issue MatterHackers/MCCentral#3248
Margin distribution incorrect when scaling enabled
2018-04-28 10:41:13 -07:00
John Lewin
3cf6f4a80b Guard for null
- Issue MatterHackers/MCCentral#3246
Null reference exception on listview drag when only start page is open
2018-04-27 18:38:57 -07:00
John Lewin
e5584ac618 Scale thumbnails if required, before calling ImageWidget setter
- Issue MatterHackers/MCCentral#3205
Folders and part icons don't scale with theme
2018-04-24 07:59:46 -07:00
John Lewin
8d9db18d69 Improve stroke weighs and balancing, add missing SetPreMultiply() 2018-04-21 14:59:45 -07:00
John Lewin
0d6cdf91f3 Use common rather than custom thumbnail tile color
- Issue MatterHackers/MCCentral#3152
Thumbnail tiles should use common color
2018-04-17 09:06:22 -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
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