Commit Graph

121 Commits

Author SHA1 Message Date
Thomas Nind
522745f559 Fix #1120 (#1124)
* Added ObjectActivationButton (mouse)

* Fixed layout to match coding guidelines
2021-03-08 19:42:25 -07:00
tznind
db322b27ef Added GoTo method and renamed 'model' parameter where appropriate 2021-03-08 10:11:11 +00:00
tznind
dc22a890e9 Updated to match coding guidelines (whitespace, brackets etc) 2021-03-08 09:22:17 +00:00
tznind
ec85340285 Added ObjectActivated event 2021-03-02 19:14:38 +00:00
tznind
6ef5f1cd1d Merge remote-tracking branch 'upstream/master' into tree-view 2021-02-17 10:29:30 +00:00
tznind
01b899fb37 test for multi select, mouse fix and collapse selection fix 2021-02-16 20:06:29 +00:00
tznind
c02a238ef0 Merge branch 'master' into table-view 2021-01-27 08:18:37 +00:00
tznind
1a00376885 Added more tests and fixed GetContentWidth when Bounds have 0 Height 2021-01-24 11:12:44 +00:00
tznind
2884b8e94d Added horizontal scrollbar, fixed tests 2021-01-24 10:35:03 +00:00
tznind
6f787f4638 Merge branch 'master' into tree-view 2021-01-23 08:38:27 +00:00
Charlie Kindel
77add786fc Merge pull request #1081 from BDisp/scroll-bar-view
Fixes #1073, #1058, #480 #1049. Provides more automation to the ScrollBarView, allowing easily implement on any view.
2021-01-22 09:32:27 -08:00
Charlie Kindel
285cc82b9f Merge pull request #1085 from angelobreuer/master
Application.Shutdown() does not reset SynchronizationContext
2021-01-22 09:19:44 -08:00
BDisp
f9f68048a2 The host only need to pass the real sizes and the ScrollBarView automatically consider the extra line and column. 2021-01-22 02:21:56 +00:00
BDisp
e7f66f8350 Simplifies the code more and makes it more understandable on the ScrollBarView. 2021-01-19 10:54:40 +00:00
BDisp
58c2509772 Offers more simplicity to iterate with the ScrollBarView and its hosts. 2021-01-17 00:29:01 +00:00
BDisp
bedeca61e6 Fixing some bugs. 2021-01-15 23:04:49 +00:00
BDisp
0466a6ebc3 Avoiding throwing exception on the "All Views Tester" scenario. 2021-01-15 17:09:31 +00:00
BDisp
146d23422b Ensures that the ScrollBarView don't have two vertical or horizontal ScrollBarView. 2021-01-15 11:38:32 +00:00
BDisp
351cb8133f Fixed backward bug and added one more unit test to probe. 2021-01-14 01:35:20 +00:00
BDisp
5b86c460e8 Added ScrollBarViewTests.cs file with unit tests for ScrollBarView. 2021-01-14 00:57:10 +00:00
Angelo Breuer
3ca84f8381 Add tests for #1084 2021-01-13 16:25:34 +01:00
BDisp
b3850f7f61 Fixing FakeDriver and unit test. 2021-01-08 21:33:07 +00:00
BDisp
ea8d84f185 Fixing the FocusNearestView method. 2021-01-08 19:53:04 +00:00
BDisp
950c7dd19a Adding unit test. 2021-01-07 17:37:54 +00:00
tznind
d988a34444 Added SelectAll, better selection iteration and validation 2021-01-03 21:57:00 +00:00
tznind
b2e54ec83d Fixed page up/down offset and added test 2021-01-03 10:28:27 +00:00
tznind
0c2685bcbe Added test for box selection 2021-01-02 19:20:00 +00:00
tznind
f610cc8416 better handling of unicode in table view 2020-12-31 10:06:49 +00:00
tznind
65806b1ba2 Added SelectedCellChangedEventArgs and tests 2020-12-29 09:54:50 +00:00
tznind
52af2a609e Fixed namespace, comments and added tests 2020-12-29 06:47:51 +00:00
BDisp
7583128cad Removed from the unit test too. 2020-12-26 11:50:25 +00:00
tznind
edf46b6f6d Merge branch 'master' into tree-view 2020-12-16 14:24:55 +00:00
tznind
dc184ba469 Changed from object to generic <T> for TreeView 2020-12-16 12:04:46 +00:00
tznind
8fe8128b0b Replaced delegates with new interface ITreeBuilder 2020-12-15 09:37:59 +00:00
tznind
5dad1d2221 Added test for TreeNode usage 2020-12-14 07:30:13 +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
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
148b4d2784 Made ScrollOffset setter public and added helper method and tests 2020-12-02 13:28:46 +00:00
BDisp
bcc31e0da0 Trying fixing #518. Almost functions work on both Windows and Unix with the NetDriver. 2020-11-17 21:57:45 +00:00
BDisp
19c684a3e1 Added a Unloaded event to the Toplevel class. 2020-11-15 22:38:01 +00:00
Charlie Kindel
150914597a Merge pull request #984 from BDisp/ui-message-boxes
Fixes #979. Force call LayoutSubviews to perform layout.
2020-11-02 13:51:25 -07:00
BDisp
0fb29368cd Non printable character now returns -1 on Rune.ColumnWidth and ConsoleWidth. 2020-10-31 00:09:02 +00:00
BDisp
550392cab6 Fixes #979. Force call LayoutSubviews to perform layout. 2020-10-28 21:52:05 +00:00
Charlie Kindel
c1d3fcfb0c Merge pull request #946 from BDisp/lazy-shortcut-menu
Fixes #881, #928. Allowing more key combinations.
2020-10-28 11:31:03 -06:00
BDisp
9615769e63 Changed to \u notation. 2020-10-27 17:26:24 +00:00
BDisp
b1d0de9571 #41 and #949. Unit test to compare the difference between System.Rune and System.Text.Rune. 2020-10-27 17:26:12 +00:00
BDisp
01d4b4f55f Added wide improvements on keys managements. 2020-10-26 00:46:51 +00:00