Commit graph

309 commits

Author SHA1 Message Date
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
John Lewin
e23d130d3d Disable Markdown menu item in Release 2018-06-19 18:43:00 -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
John Lewin
be93c86733 Fix Android 2018-06-19 15:15:25 -07:00
John Lewin
9fa0c470cc Markdig prototype
- Issue MatterHackers/MCCentral#3660
Add Markdown implementation for help guides
2018-06-19 13:03:40 -07:00
John Lewin
5142141daf Limit Edit to mcx only
- Issue MatterHackers/MCCentral#3583
'Edit' should be disabled for mesh (or do the code in the other bug
for editing meshes)
2018-06-13 12:28:05 -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
Lars Brubaker
ff6e220b4c Made invalidate args so we can pass source and invalidate type
Rebuild does not propagate to parent
2018-05-22 16:17:13 -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
435701603b Add support for caller specified right margin, use IconButton 2018-05-17 13:27:52 -07:00
John Lewin
9967e14328 Switch to constant padding with right margin on buttons
- Previously layout was using variable padding with left margin
2018-05-17 12:41:00 -07:00
John Lewin
9915f7bd5f Skip removal confirmation in FileSystemContainers
- User must manually remove anyway
- Issue MatterHackers/MCCentral#3373
Skip removal validation on FileSystemContainer children
2018-05-14 17:36:39 -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
f651026b15 Add and use application viewstate type for library view mode
- Issue MatterHackers/MCCentral#3315
ListView mode/state not synced with actual
2018-05-09 07:52:05 -07:00
John Lewin
6441440764 Improve readability, add uncommitted change 2018-05-09 07:50:50 -07:00
Lars Brubaker
baf82bd76d Fixing folder move sending to library provider
Part of issue: MatterHackers/MatterControl#3238
can't move a folder in cloud library
2018-05-07 18:00:34 -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