Commit Graph

395 Commits

Author SHA1 Message Date
Tig
61191d732f Fixed View unit test 2024-08-17 17:07:45 -06:00
Tig
4f51838923 Fixed bogus SubView unit test 2024-08-17 17:07:08 -06:00
Tig
68eb5616c4 Fixed hotkey unit test 2024-08-17 17:01:33 -06:00
Tig
b31caea3f6 Good progress. Tons of primitive tests. still pretty broken 2024-08-17 16:58:00 -06:00
Tig
2375ee35a9 WIP 2024-08-17 08:49:24 -06:00
Tig
42a9ecb151 Fixed unit tests 2024-08-15 06:38:07 -06:00
Tig
aa4f5228e6 Merged and fixed issues.
Progess on thinking through new design, but not working yet.
2024-08-13 16:41:29 -06:00
Tig
7ed969f1aa Fix typos 2024-08-05 09:40:07 -06:00
Tig
9865f72801 Merged with v2_develop.
Code cleanup
2024-08-05 09:14:33 -06:00
Tig
79e50b4d8f Nuked AlternateFwd/BkKeys.
Added Next/PrevTabGroupKey.
Fixed tests.
2024-08-02 13:41:53 -06:00
Tig
bb16e695fa merged with v2_develop 2024-08-02 11:56:45 -06:00
Tig
2f71fc0bc3 Code cleanup 2024-08-02 10:59:53 -06:00
Tig
8e70e2ae8f Updated navigation.md 2024-08-01 12:57:05 -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
469b3572d5 Revamped Scenario 2024-07-31 10:33:37 -04:00
Tig
6f4c7be477 Cleaned up some unit tests 2024-07-31 10:14:05 -04:00
Tig
38e517c921 Added AllViews_AtLeastOneNavKey_Leaves 2024-07-31 09:05:57 -04:00
Tig
47e1c87590 Added AllViews_AtLeastOneNavKey_Leaves 2024-07-31 09:05:26 -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
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
4ede0648f4 TabStop -> now of type TabStop.
Updated unit tests.
2024-07-27 10:58:52 -04:00
Tig
e41b24fd40 Removed coupling between TabStop and CanFocus 2024-07-27 10:38:50 -04:00
Tig
66f83ad2e6 Reduced duplicated code by leverating Navigationdirection enum 2024-07-25 16:37:22 -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
2ec07b8575 Merge branch 'v2_develop' into v2-IOrientation 2024-07-25 13:52:10 -06:00
Tig
022050db73 Fixed nullable warnings 7 2024-07-24 15:09:48 -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
44ce74a5c0 Refactored Application into smaller files.
Made Application #nullable enable
2024-07-22 16:52:02 -06:00
Tig
6220863b9c Fixed issues @bdisp noted: 2024-07-22 14:26:59 -06:00
Tig
2097a17213 Default orientation is Horiz 2024-07-22 13:24:24 -06:00
Tig
840e198e85 Beefed up unit tests 2024-07-22 12:25:49 -06:00
Tig
74521d831d Added Orientation unit tests.
Code cleanup
2024-07-22 12:06:51 -06:00
Tig
f0d4c48b50 Learning how to use [CombinatorialData] moar 2024-07-21 16:42:11 -06:00
Tig
8ca972bc74 Learning how to use [CombinatorialData] 2024-07-21 16:18:18 -06:00
Tig
149bedf19b Added more AnchorEnd unit tests.
Found bugs with Pos.View and Dim.View.
Fixed.
2024-07-20 14:22:04 -06:00
Tig
c7ae986789 Review feedback 2024-07-20 13:12:31 -06:00
Tig
0e70444e08 Renamed Width/Height/Size 2024-07-20 11:36:05 -06:00
Tig
6550cde7b5 Nuked Textformatter.AutoSize.
Removed references to AutoSize throughout.
Updated unit tests.
2024-07-20 11:17:46 -06:00
Tig
3ed30767a0 Addressed review feedback from @dodexahedron. 2024-07-20 10:00:54 -06:00
Tig
b4e1b3ec5e All unit tests pass.
Made TextFormatter have independent Width/Height.
2024-07-18 15:24:11 -06:00
Tig
2cecc7762a WIP - Trying to make TextFormatter have indepdentent width/height 2024-07-17 16:18:58 -06:00
Tig
51433c0112 Refactored DimAuto unit tests 2024-07-17 11:25:45 -06:00
Tig
37088737b7 Removed lame title test 2024-07-17 10:54:38 -06:00
Tig
e566dce521 Fixed Horizontal FormatAndGetSize Fill issue; Vertical is still broken 2024-07-17 09:07:54 -06:00
Tig
f6064be449 Fixed SetTextFormatterSize 2024-07-17 08:14:09 -06:00
Tig
4654d4a85f Undid PosCenter change 2024-07-16 18:49:03 -06:00