Commit graph

284 commits

Author SHA1 Message Date
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
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
d29f8c5f65 Remove 'Add to Queue' library menu
- Issue MatterHackers/MCCentral#3291
2018-05-03 23:10:54 -07:00
John Lewin
f2a7ad5ec7 Restore 'Share' support, add Action<ILIbraryItem> to AppController 2018-05-03 16:40:50 -07:00
Lars Brubaker
6bf019c5b4 Change make permanent to apply (consistent with solidworks)
issues:
MatterHackers/MCCentral#3273
Selection object should not have delete and make permanent
MatterHackers/MCCentral#3277
check on text makes group of meshes
MatterHackers/MCCentral#3276
disable delete on text
MatterHackers/MCCentral#3263
Need a material none button (unset)
2018-05-02 14:34:51 -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
3906d1b659 Improve scaling 2018-04-26 07:56:29 -07:00
John Lewin
dec42d4f5a Improve scaling behavior
- Issue MatterHackers/MCCentral#3230
2018-04-24 18:40:20 -07:00
Lars Brubaker
1ed62bb181 Confirm before removing 2018-04-24 17:32:54 -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
Lars Brubaker
c63173f199 Moving all user settings test strings into UserSettingsKey
prototyping user tips system
2018-04-18 14:38:21 -07:00
John Lewin
55368ff9e6 Remove small, xsmall icons from release builds 2018-04-18 12:57:59 -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
11a68c1457 Prevent FileDialogs.OpenFileDialog from blocking test automation
- Use RunOnIdle as expected
- Issue MatterHackers/MCCentral#3121
Investigate DragTo3DViewAddsItem failure
2018-04-13 17:34:47 -07:00
John Lewin
f8a15c3b96 Convert static icons to instance, use theme colors 2018-04-12 13:18:28 -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
0e52895252 Restrict "Open Package" to MCX content only
- Issue MatterHackers/MCCentral#3097
Open Package should only be enabled on MCX selections
2018-04-12 07:58:09 -07:00
John Lewin
bd3db106b0 Prefer local reference to static 2018-04-07 22:53:34 -07:00
John Lewin
d72772f62c Update tests to redirect to new menu items 2018-04-07 11:21:02 -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