Commit graph

20 commits

Author SHA1 Message Date
Lars Brubaker
bed90234e7 Made MatterControl run as a .net standard app
Moving matter control to a lib and creating a new exe to run it
2018-09-06 16:09:58 -07:00
John Lewin
b06892ff01 Pass clicked rather than owning widget 2018-08-08 08:46:26 -07:00
John Lewin
6e72278406 Wire up NodeMouseClick event 2018-08-08 08:46:26 -07:00
John Lewin
bbabf95c93 Improve DI, use constructor injection 2018-07-12 09:33:15 -07:00
John Lewin
1c914e36a3 Always show expansion icon for selection TreeView root nodes 2018-06-23 07:12:41 -07:00
Lars Brubaker
a7111987f4 Got the default mark down text to wrap
issue: MatterHackers/MCCentral#3722
Make text wrapping work in mark down
2018-06-22 14:11:00 -07:00
John Lewin
92c04869a6 Defer child node construction/rebuild until draw, mark as dirty 2018-06-07 17:07:26 -07:00
John Lewin
025d44acba Simplify 2018-06-07 17:07:26 -07:00
John Lewin
ea36c2a100 Remove unused code 2018-06-07 17:07:26 -07:00
John Lewin
f727fb2dc7 Add support for text only TreeNodes
- Issue MatterHackers/MCCentral#3520
2018-06-06 09:07:23 -07:00
John Lewin
b6b7a1c186 Flatten namespace 2018-06-05 08:35:38 -07:00
John Lewin
40618c926f Revise tree indentation 2018-06-01 09:04:42 -07:00
John Lewin
a382b26f4b Revise treenode selection rect to exclude checkbox region
- MatterHackers/MCCentral#3495
2018-06-01 09:04:42 -07:00
John Lewin
5244025ae3 Consolidate tree processing
- Only build treeview once, destroy/create child content on change
- Single recursive AddTree(IObject3D) method handles all nodes
- BuildTree caller assigns node.TreeView instance on root node
- MatterHackers/MCCentral#3483
Differing construction implementations results in inconsistent TreeNodes
2018-06-01 09:04:42 -07:00
John Lewin
3ceae5461b Inline RebuildTitleBar method
- Issue MatterHackers/MCCentral#3418
RebuildTitleBar fires when text changes
2018-05-31 06:43:32 -07:00
John Lewin
8798c23931 Use theme colors 2018-05-22 18:36:00 -07:00
John Lewin
2e1ac70f68 Unify tree styling with existing 2018-05-22 13:14:23 -07:00
John Lewin
d0e490fe41 Add theme dependency to TreeView, use theme for selection color 2018-05-22 07:00:00 -07:00
John Lewin
4840c00531 Remove border values 2018-05-21 17:51:42 -07:00
Lars Brubaker
1936b69cc8 Put TreeView into MatterContrlol 2018-05-21 13:30:06 -07:00