Commit graph

718 commits

Author SHA1 Message Date
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
51102b2152 Rename Parents -> Ancestors 2018-06-20 13:43:43 -07:00
John Lewin
3da126edcc Extract ItemAndParents to AncestorsAndSelf extension method 2018-06-20 13:40:12 -07:00
John Lewin
e23d130d3d Disable Markdown menu item in Release 2018-06-19 18:43:00 -07:00
Lars Brubaker
78d16dddfb If we don't find the provider id still look for the mesh id 2018-06-19 17:30:12 -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
0d7521696a Extract method for direct thumbnail generation of IObject3D 2018-06-14 15:21:00 -07:00
John Lewin
3c47b6bf92 HistoryContainer drag should use standard behavior
- Issue MatterHackers/MCCentral#3575
2018-06-14 15:21:00 -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
John Lewin
910705d35b Simplify 2018-06-12 21:16:26 -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
Lars Brubaker
46dc1210be Getting image path generation and extrude working with rebuild 2018-06-06 15:52:06 -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
John Lewin
743eb95982 Fix NoContentChangedOnLoad - skip load if null 2018-05-31 13:17:11 -07:00
John Lewin
c9aad50d19 Fix AddFiresContentChangedEvent - make base type abstract 2018-05-31 13:17:11 -07:00
John Lewin
74582d9a47 Remove unexpected throw 2018-05-31 09:38:04 -07:00
John Lewin
19f80d18fe Long lived instanced should not be used for ActiveContainer
- ActiveContainer references are disposed when trees collapse
- Use new instance for ActiveContainer
- Issue MatterHackers/MCCentral#3374
Long lived history containers disposed when navigated away from
2018-05-31 09:38:04 -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
1aa73db988 Remove BigRender cache as no longer valid
- Issue MatterHackers/MCCentral#3453
If part icons are built too small they don't rebuild at bigger sizes
2018-05-29 11:53:43 -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
732186a512 Render raytraced images at requested size 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
1631327dc0 Only fire ReloadContent after threshold elapsed 2018-05-14 17:25:20 -07:00
John Lewin
6b64a36b6c Use FileSystemContainer base on history containers
- Issue MatterHackers/MCCentral#3368
Add common FileSystemContainer delete logic to PlatingHistoryContainer
2018-05-14 17:00:00 -07:00
John Lewin
7f2cf2ecae Select file (if applicable) when shelling to Explorer.exe
- Issue MatterHackers/MCCentral#3372
On FileSystemContainer delete, ensure focus is moved to selected item
2018-05-14 16:42:04 -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