Commit graph

320 commits

Author SHA1 Message Date
John Lewin
bbabf95c93 Improve DI, use constructor injection 2018-07-12 09:33:15 -07:00
John Lewin
0eb964ef83 Restore missing file 2018-07-11 17:17:41 -07:00
John Lewin
ad73662b65 Remove LinkButtonFactory 2018-07-11 09:27:12 -07:00
Lars Brubaker
c4701dbdb8 Only do it if there is a single child 2018-06-27 13:12:49 -07:00
Lars Brubaker
567c79ea3f Collapse single items that have children when dragging to bed 2018-06-27 13:12:06 -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
Lars Brubaker
1b572d0639 Get gifs working in markdown
Made theme default to dark blue
Made folders start out open
Fixed image converter
Fixed braille
2018-06-25 17:14:08 -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
9d2fcf9dc5 Revise debug Markdown helper menu action 2018-06-24 00:09:46 -07:00
Lars Brubaker
0afddd0531 Made help system use markdown
Made a markdown widget to reuse in help system
refactoring wpf to agg
2018-06-22 18:59:50 -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
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