Tig
8e70e2ae8f
Updated navigation.md
2024-08-01 12:57:05 -06:00
Tig
7dd0c4c656
Nav mostly works again
2024-08-01 09:31:24 -06:00
Tig
4226d8172e
Discovered serious issues with how HasFocus, OnEnter/OnLeave, etc... work in some edge cases.
...
This will require re-visiting the design at a deep level and fixing some long-standing but ignored issues such as how OnEnter/OnLeave don't follow proper cancelation design. Also, there's a need for keeping track of the old focus state of a tree of subviews when that tree loses focus; FocusDireciton is a hack that causes tons of confusion.
2024-08-01 06:08:48 -06:00
Tig
47e1c87590
Added AllViews_AtLeastOneNavKey_Leaves
2024-07-31 09:05:26 -04:00
Tig
3d00102125
Added BUGBUGs
2024-07-31 02:27:58 -04:00
Tig
37f349004a
WIP: More. Trying to fix TableView regression
2024-07-31 02:07:48 -04:00
Tig
cf1435ae96
WIP: Fixed stuff. Broke stuff. Making progress.
2024-07-29 16:59:58 -04:00
Tig
f2eb9ce6e2
WIP: More refining
2024-07-29 10:17:10 -04:00
Tig
65592b4135
WIP: Refining TabStop and GroupStop
2024-07-28 10:37:22 -04:00
Tig
d407683d5b
Made View.Navigation nullable enable.
...
Changed TabIndex to int?.
Changed TabStop to int?.
Changed TabStop flags.
2024-07-27 17:21:47 -04:00
Tig
d507426c6d
Changed semantics of TabIndexes, TabIndex, and CanFocus relative to TabStop.
...
CanFocus is not coupled with the tab index or tab stop other than to automatically set TabStop when set to True.
A TabIndex of -1 is only used to indicate TabStop_set has not been called.
Once nullable is enabled, we'll change _tabIndex to be nullable.
Changing CanFocus does not impact TabIndex (except in that it sets TabStop if it's None).
2024-07-27 11:55:41 -04:00
Tig
fa4b9dc60f
Added BUGBUGs and TODOs re TabIndex
2024-07-27 11:07:21 -04:00
Tig
4ede0648f4
TabStop -> now of type TabStop.
...
Updated unit tests.
2024-07-27 10:58:52 -04:00
Tig
5d1467dc2a
Converted TabStop to auto property
2024-07-27 10:39:31 -04:00
Tig
e41b24fd40
Removed coupling between TabStop and CanFocus
2024-07-27 10:38:50 -04:00
Tig
207266b68f
Fixed unit test
2024-07-27 10:30:30 -04:00
Tig
ee3c48ae50
Progress
2024-07-27 09:29:50 -04:00
Tig
3f19a6f04a
Added low-level Focus tests
2024-07-26 08:00:45 -04:00
Tig
aa9d42fc01
Renamed FocusNearestView to be understandable
2024-07-26 06:41:51 -04:00
Tig
911f2c66de
Rewrote FocusNearestView to be understandable
2024-07-26 06:32:24 -04:00
Tig
66f83ad2e6
Reduced duplicated code by leverating Navigationdirection enum
2024-07-25 16:37:22 -06:00
Tig
4b785c8f7c
Prepping to reduce duplicated code in FocusNext/Prev
2024-07-25 15:41:30 -06:00
Tig
78f527e4a1
Fixed post merge errors.
2024-07-25 14:54:58 -06:00
Tig
a935ef83df
Merge remote-tracking branch 'refs/remotes/origin/v2_2491-Toplevel-Redesign' into v2_2491-Toplevel-Redesign
2024-07-25 14:50:19 -06:00
Tig
15e6b4eff2
Documenting focus code
2024-07-25 14:40:11 -06:00
Tig
ccec0eec11
Documenting focus code
2024-07-25 12:16:10 -06:00
Tig
9b89fe6466
Code cleanup and API docs - getting better understanding of navigation code.
2024-07-25 11:21:49 -06:00
Tig
d874f56282
Reorganized View source files to get my head straight
2024-07-25 10:40:28 -06:00
Tig
3a40851848
WIP: More - Modify Focus logic to properly deal with ViewArrangement.Overlapped.
2024-07-24 19:45:25 -06:00
Tig
ca4d10b509
WIP: Modify Focus logic to properly deal with ViewArrangement.Overlapped.
2024-07-24 19:22:59 -06:00
Tig
331d9726d7
nullable enable TopLevel
2024-07-24 16:18:20 -06:00
Tig
cbecae5d47
Moved Overlapped stuff to ApplicationOverlap static class. Fixed nullable warnings.
2024-07-24 15:48:41 -06:00
Tig
cb3e80666f
Moved Overlapped stuff to ApplicationOverlap static class. Fixed nullable warnings.
2024-07-24 15:43:35 -06:00
Tig
f37ec5e04f
Moved Overlapped stuff to ApplicationOverlap static class. Fixed nullable warnings.
2024-07-24 15:42:04 -06:00
Tig
022050db73
Fixed nullable warnings 7
2024-07-24 15:09:48 -06:00
Tig
689c0cd93f
Fixed nullable warnings 5
2024-07-24 14:37:23 -06:00
Tig
3b35189106
Fixed nullable warnings 4
2024-07-24 14:36:20 -06:00
Tig
04dbe68dbf
Fixed nullable warnings 3
2024-07-24 14:20:08 -06:00
Tig
73a9dc37c4
Fixed nullable warnings 2
2024-07-24 14:15:32 -06:00
Tig
0c56dfeb5a
Moved view navigation out of Toplevel and into Application (via ViewNavigation static class).
2024-07-24 12:56:55 -06:00
Tig
4a56b84324
removed unneeded AlternateBack/FormardKey code from Toplevel
2024-07-24 12:41:28 -06:00
Tig
c088f2e98c
removed unneeded key handling code from Toplevel
2024-07-24 12:38:59 -06:00
Tig
22dcbc1a78
removed un needed key handling code from TextView
2024-07-24 12:36:45 -06:00
Tig
c03dd32031
Moved Toplevel keybindings out of Toplevel to Application.
...
Still need to move navigation code out of Toplevel
2024-07-24 12:28:30 -06:00
Tig
feaf5c0f6c
WIP (Very Broken) try to move keybindings out of Toplevel to app
2024-07-23 18:12:43 -06:00
Tig
f8e8aff29f
More Toplevel.cs organization & docs
2024-07-23 15:36:36 -06:00
Tig
fe5cbe4df3
More Toplevel.cs organization & docs
2024-07-23 14:42:50 -06:00
Tig
d813b1f137
Fixed dumb enum cast in KeyBinding code
2024-07-23 14:19:57 -06:00
Tig
d44e8d3b81
More Toplevel.cs organization & docs
2024-07-23 09:59:30 -06:00
Tig
47010805cd
Toplevel.cs organization
2024-07-23 09:41:21 -06:00