Tig
ca73f23ac1
View Keyboard/Mouse -> nullable enable
2024-08-26 14:33:15 -07:00
Tig
5191988d0f
IOrientation -> nullable enable
2024-08-26 14:20:28 -07:00
Tig
45ccf1d5d5
View.Hierarchy.cs -> nullable enable
2024-08-26 14:18:01 -07:00
Tig
1a16f43495
Refactored subview methods. Fixed issues.
2024-08-26 14:10:02 -07:00
Tig
4b479a60f3
Refactored subview methods
2024-08-26 13:52:33 -07:00
Tig
1b1a2524e7
Removed TabIndex etc...
2024-08-26 13:00:59 -07:00
Tig
a22a59ebbd
Added more nav tests
2024-08-23 14:57:19 -06:00
Tig
667a8ee152
Fixed label tests
2024-08-23 14:09:44 -06:00
Tig
f7ca649b54
Merge branch 'v2_develop' into v2_2491-Arrangement-Overlapped
2024-08-23 09:22:47 -06:00
BDisp
3b6abeb741
Fixes #3679 . WantContinuousButtonPressed mustn't force calling GrabMouse. ( #3680 )
...
Co-authored-by: Tig <tig@users.noreply.github.com >
2024-08-22 17:56:50 -06:00
Tig
3360c5ba89
Moved Window Test. Application.Begin behvior
2024-08-20 13:47:23 -06:00
Tig
d1d7ab5fa8
Done with refactor. Nav unit tests all pass. Fixing View unit tests...
2024-08-20 13:11:55 -06:00
Tig
794ad0bad7
Refactoring again... WIP broke
2024-08-19 19:30:16 -06:00
Tig
29f3550489
merged
2024-08-19 10:12:52 -06:00
Tig
b267e1698e
V2 fix warnings ( #3671 )
...
* Fixed NumericUpDown warning
* Fixed Aot Warning
* Fixed warnings in Application.cs
* Fixed more NumericUpDown warning
* Fixed CommandImpl warning
* Fixed Thickness warnings
* Fixed Label warning
* Fixed warning
* Fixed menubar test warning
* Fixed warnings
* Fixed warnings
* Removed dead code
* Fixed warnings
2024-08-19 10:09:15 -06:00
Brandon Thetford
dccc06366a
Categorize the test fixture
2024-08-18 18:31:23 -07:00
Brandon Thetford
219cfb559a
More code reduction. Put these in a primary constructor. Update uses.
2024-08-18 18:30:59 -07:00
Tig
ef7f88d3b4
OnEnter/Leave -> OnHasFocusChanging/OnHasFocusChanged
2024-08-18 16:58:26 -06:00
Tig
a03e30537c
reordered params for consistency
2024-08-18 16:00:35 -06:00
Tig
591baa65f0
GetFocused() -> back to Focused property (get only; computed).
2024-08-18 15:45:26 -06:00
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
6a13e777ff
class Pos -> record Pos
2024-08-14 13:02:11 -06:00
Tig
8edb06213e
class Dim -> struct Dim
2024-08-14 09:28:47 -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
6ec69d7644
Code cleanup & doc fix
2024-08-13 15:41:11 -06:00
Tig
a8f929bed9
Fixed DimAuto and tests
2024-08-13 14:12:32 -06:00
Tig
d47b184176
Added unit tests that fail
2024-08-06 09:38:05 -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