Commit Graph

1840 Commits

Author SHA1 Message Date
tznind
bbfb6b28c0 added csharp syntax to markdown 2021-01-22 22:08:47 +00:00
tznind
518e58d90d added docs on generic treeview 2021-01-22 22:04:14 +00:00
tznind
4b6f3569ef Added basic use cases and new article 2021-01-22 19:57:39 +00:00
tznind
c7174c3b46 Handled case where nodes return null for ToString 2021-01-11 09:47:03 +00:00
tznind
aef698ac1f Added unicode symbols option to UICatalog 2020-12-30 19:20:43 +00:00
tznind
dc761b2338 Swapped sizes of file tree and node tree in UICatalog Scenario 2020-12-30 18:43:26 +00:00
tznind
0222105d7c Added PositionCursor implementation 2020-12-30 18:32:50 +00:00
tznind
7d7be9ef48 Fixed long treeview lines overspilling control bounds 2020-12-30 14:24:45 +00:00
tznind
4795f321bf Added menu separators to UICatalog TreeViewFileSystem Scenario 2020-12-30 13:21:36 +00:00
tznind
78f0c7c276 Added mouse support 2020-12-30 07:20:40 +00:00
tznind
51aefce32b changed expand color settings to use ColorScheme 2020-12-18 18:52:09 +00:00
tznind
64042132ed Fixed collapse scrolling and color for expand/collapse 2020-12-16 19:25:27 +00:00
tznind
869a6f1fd7 Changed Scenario menu items to use radio buttons 2020-12-16 14:49:40 +00:00
tznind
edf46b6f6d Merge branch 'master' into tree-view 2020-12-16 14:24:55 +00:00
tznind
899ef1ffea Fixed mixing public fields and properties 2020-12-16 14:21:28 +00:00
tznind
33cf23c0d7 Moved styling logic into new class TreeStyle 2020-12-16 13:48:07 +00:00
tznind
3d1b40cd08 Updated scenario to show both trees at once 2020-12-16 12:53:32 +00:00
tznind
dc184ba469 Changed from object to generic <T> for TreeView 2020-12-16 12:04:46 +00:00
tznind
5014d8ce61 Merge branch 'tree-view' of https://github.com/tznind/gui.cs into tree-view 2020-12-15 11:06:31 +00:00
tznind
5c5d0eee0a Added ShowExpandableSymbol option to toggle displaying '+' symbol 2020-12-15 11:05:27 +00:00
tznind
a95ab9e1ba Spaced out branch lines and fixed bug when ShowBranchLines is off 2020-12-15 10:18:55 +00:00
tznind
a1904950fa Removed minus symbol for collapsing nodes 2020-12-15 10:04:33 +00:00
tznind
dc0a378729 Changed selection rendering to cover whole row 2020-12-15 09:59:54 +00:00
tznind
8fe8128b0b Replaced delegates with new interface ITreeBuilder 2020-12-15 09:37:59 +00:00
tznind
e7dcd49506 Changed GetLinePrefix to use Runes directly (instead of strings)
This fixes printing in some consoles
2020-12-14 09:25:02 +00:00
tznind
5dad1d2221 Added test for TreeNode usage 2020-12-14 07:30:13 +00:00
tznind
d68dbca108 fixed root node indentation 2020-12-14 07:21:15 +00:00
tznind
6af7cd85d1 added ShowLines and TreeNode support 2020-12-13 23:07:18 +00:00
tznind
7394b5013e clarified consent to use under MIT 2020-12-13 18:33:26 +00:00
Charlie Kindel
92c2171388 Merge pull request #1036 from BDisp/netdriver-mouse-support
Fixes #518. Added mouse support for the NetDriver.
2020-12-12 11:43:44 -08:00
Charlie Kindel
890d6fa43f Merge pull request #1029 from BDisp/windowsdriver-usc--docking
Fixes #1028. WindowsDriver does not handle Window docking properly with the -usc argument.
2020-12-12 11:43:10 -08:00
Charlie Kindel
8546dadc66 Merge pull request #1035 from BDisp/nuget-packages-update
Fixes #1034. The NuGet packages need to be updated.
2020-12-12 11:42:41 -08:00
Charlie Kindel
173146e66c Merge pull request #1031 from BDisp/gets-colorscheme-attributes
Fixes #1030. Getting colors from the Attributes of a ColorScheme.
2020-12-12 11:41:54 -08:00
BDisp
412c325922 Fixing a incompatible ReadOnly TextField color with the NetDriver if its selected. This work with all drivers. 2020-12-12 13:34:33 +00:00
BDisp
a3e3e7fb25 Fixed bug if WindowTop is bigger than 0. 2020-12-12 12:59:44 +00:00
BDisp
d06c87493d Fixing mouse not working on Unix in low coordinates. 2020-12-12 12:43:35 +00:00
BDisp
152d4e4d35 Allowing Key.AltMask + Key.Space to open the MenuBar too. 2020-12-12 11:22:31 +00:00
BDisp
9dacb7d3ee Fixes #518. Added mouse support for the NetDriver. 2020-12-12 01:17:09 +00:00
tznind
7af2763f43 Added method RebuildTree
Similar to RefreshObject but for all visible branches.  Call this method when making large scale changes behind the scenes to objects including hierarchy changes.
2020-12-09 13:24:30 +00:00
BDisp
b7f91af247 Fixes #1034. The NuGet packages need to be updated. 2020-12-09 11:43:41 +00:00
tznind
8ce042eb52 Fixed RefreshObject when Equality method is overridden in model objects
Now when you call RefreshObject the Branch.Model is always updated to the latest reference even when Equals indicates we already have it in children
2020-12-08 14:13:27 +00:00
tznind
2bd3f76553 Added GetChildren and GetParent 2020-12-08 14:11:55 +00:00
BDisp
9fd083ba5f Typo fixing. 2020-12-04 21:34:45 +00:00
BDisp
b8a1ed5c24 Fixes #1030. Getting colors from the Attributes of a ColorScheme. 2020-12-04 21:25:15 +00:00
BDisp
149561a964 No need to create another MenuBarItem. Added a new constructor to the MenuBarItem allowing a list of MenuItem arrays. 2020-12-04 14:35:35 +00:00
BDisp
eec477a89f Fixes #1028. WindowsDriver does not handle Window docking properly with the -usc argument. 2020-12-02 17:46:20 +00:00
tznind
b75b79b068 Added RefreshObject and IsExpanded
RefreshObject notifies tree of changes to a model (e.g. it's children) and clears cached knowledge but persists the branch expansion state
2020-12-02 15:10:54 +00:00
tznind
f5875034f7 xmldocs for SelectionChangedEventArgs constructor 2020-12-02 14:02:17 +00:00
tznind
148b4d2784 Made ScrollOffset setter public and added helper method and tests 2020-12-02 13:28:46 +00:00
tznind
dcacf8eb6f Added SelectionChanged event 2020-12-01 13:41:27 +00:00