Commit graph

158 commits

Author SHA1 Message Date
John Lewin
99d78e1b8f Fix null reference exception
- Issue MatterHackers/MCCentral#3941
Start page plate buttons throw when library panel is collapsed
2018-08-07 12:00:19 -07:00
John Lewin
844c601f8a Preserve selection on selected items, require control key to unselect
- Issue MatterHackers/MCCentral#3960
ListView selection behavior inconsistent with expectations
2018-08-07 07:35:51 -07:00
John Lewin
e8adc6350f Reset scroll position when changing containers
- Issue MatterHackers/MCCentral#3888
Unable to see contents of zip files below some directories
2018-07-18 13:24:15 -07:00
John Lewin
fc7c6b5061 Clear ListView and show loading animation during update 2018-07-13 16:13:53 -07:00
Lars Brubaker
b76f65a875 making sure we don't try to access a null
issue: MatterHackers/MCCentral#3723
Null reference exception in recently revised statement
2018-06-26 10:09:55 -07:00
John Lewin
a2c65cfbff Use theme aware 'rebuilding' icon
- Issue MatterHackers/MCCentral#3759
rebuilding icon should be theme aware
2018-06-26 08:40:28 -07:00
John Lewin
2ab9405c65 Fix ToolTips on library IconListView items
- Issue MatterHackers/MCCentral#3630
Tooltips no longer appear on truncated item labels
2018-06-24 23:12:05 -07:00
John Lewin
a6272635b4 Load from library thumbnail cache 2018-06-21 21:52:47 -07:00
LarsBrubaker
e9e55f874e Making Object3D classes consistent
issue: MatterHackers/MCCentral#3702
Consider adding 'Object3D' suffix to Object3D types or use consistent format
2018-06-21 21:03:13 -07:00
John Lewin
6dea15a6d7 Consolidate thumbnails behavior into new Thumbnails class 2018-06-21 10:50:40 -07:00
John Lewin
b491cc8e5a Add type for thumbnail cache, move to ApplicationController 2018-06-21 10:03:13 -07:00
John Lewin
a71ced7dcd Move raytracePending reset into MeshContentProvider result assignment 2018-06-20 22:34:24 -07:00
John Lewin
0e574131a9 Revise IContentProvider GetThumbnail signature
- Issue MatterHackers/MCCentral#3695
ContentProvider GetThumbnail fails for non-mesh content
2018-06-20 22:34:24 -07:00
John Lewin
5760ac0166 Remove ThumbnailKey 2018-06-20 21:11:37 -07:00
John Lewin
cc2fa957d9 Allow non-MeshContent providers to supply thumbnails 2018-06-20 16:28:10 -07:00
John Lewin
e6ac6d30ff Reschedule Raytracing when applicable 2018-06-20 16:27:00 -07:00
John Lewin
3ad00853b0 Extract Raytrace scheduling to dedicated method 2018-06-20 16:26:25 -07:00
John Lewin
1d5f64d22b Revert to non-async OnLoad/OnDraw methods 2018-06-20 16:19:40 -07:00
John Lewin
64d3a11586 Remove redundant LoadItemThumbnail method, 'shouldGenerate' Func 2018-06-20 16:18:08 -07:00
John Lewin
a10251c057 Rename variable to match behavior 2018-06-20 16:18:00 -07:00
John Lewin
eba2cfb0a5 Remove delegate parameter, use SetItemThumbnail instance member 2018-06-20 14:44:36 -07:00
Lars Brubaker
c1588fcd04 Created the data to allow thumbnails to be cached by mesh id
Estimated memory size for mesh
Mesh Render Id
Get long hash for color
default constructor for face and vertex

issue: MatterHackers/MCCentral#3519
Improve thumbnail generation for complicated models
2018-06-19 17:04:20 -07:00
LarsBrubaker
9ceb19e6c4 Made double clicke work again
issue: MatterHackers/MCCentral#3550
Double Clicking on Part is unresponsive
2018-06-09 10:47:41 -07:00
John Lewin
c08d358338 Pass active listview reference to child container constructor
- Issue MatterHackers/MCCentral#3485
Unable to select folders in listview
2018-05-31 13:17:11 -07:00
Lars Brubaker
4c15d3e7ad guard for image not changed 2018-05-31 09:22:08 -07:00
Lars Brubaker
25883fc0bc Working on mesh wrapper and rebuild issues 2018-05-31 09:05:08 -07:00
John Lewin
f2a36f28d9 Update PrintHistoryListItem for recent changes
- Issue MatterHackers/MCCentral#3472
Print History folder multiplies
2018-05-31 06:43:32 -07:00
John Lewin
9a2afeecf6 Requeue raytracing if off-screen when dequeued
- Issue MatterHackers/MCCentral#3412
Add ability to re-try thumbnail generation after canceling due to
not-visible on screen
2018-05-21 14:46:22 -07:00
John Lewin
86abcaaf3a Remove indirection, assume defaults set correctly from provider 2018-05-21 14:46:22 -07:00
John Lewin
f1614ba82d Remove specialized case for MeshContentProvider 2018-05-21 14:46:22 -07:00
John Lewin
f5cf6c48eb Revise IContentProvider.GetThumbnail signature 2018-05-21 14:46:22 -07:00
John Lewin
e934bb40ff Move OnLoad to base type 2018-05-21 14:46:22 -07:00
Lars Brubaker
1936b69cc8 Put TreeView into MatterContrlol 2018-05-21 13:30:06 -07:00
Lars Brubaker
030b97a558 Put icon is the tree view 2018-05-18 12:02:02 -07:00
John Lewin
555af7fe47 Use correct cursor for single click actions 2018-05-17 20:04:50 -07:00
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