Commit Graph

139 Commits

Author SHA1 Message Date
Tig
86f05d1479 Found and fixed FindDeepestView bug and added unit tests 2024-04-12 12:19:48 -06:00
Tig
2203f0b164 Fixed bug in SetViewport; added unit tests 2024-04-12 11:48:48 -06:00
Tig
7644f631f0 Refactored ViewportSettings - Now makes more sense and LixtView works as before 2024-04-11 10:42:18 -06:00
Tig
d49bc3c06f Renamed ScrollSettings enum members to be more clear 2024-04-11 07:34:49 -06:00
Tig
ad411ce5eb Fixed FrameToScreen 2024-04-11 06:14:22 -06:00
Tig
5d85242020 WIP fixing FrameToScreen 2024-04-11 06:05:19 -06:00
Tig
e8640e9d92 Found and fixed bug in non-recursive FindDeepestView; added reltaed unit test 2024-04-10 11:18:17 -04:00
Tig
e5d01bfdb1 Fixed Button with WantContinuousPressed = true not responding to single clicks 2024-04-10 00:30:11 -04:00
Tig
6b80b23340 Updated conceptual API documentation; added mouse.md 2024-04-09 21:38:14 -04:00
Tig
5c36db22a4 merge 2024-04-09 09:02:55 -04:00
Tig
40ae272944 Refactored MouseEnter/Leave APIs to match design guidelines 2024-04-06 08:15:57 -04:00
Tig
cca32726fc Refactored API to support extensibilty... eg Hover (not implemented yet). 2024-04-05 17:25:23 -04:00
Tig
ba429cffc2 Merged (Rebased) continous button PR 2024-04-05 12:15:13 -04:00
Tig
50f9b3559e Merge branch 'v2_3269_Bounds-ContentArea' of tig:tig/Terminal.Gui into v2_3269_Bounds-ContentArea 2024-04-05 11:48:57 -04:00
Tig
c5b7b084a9 Way too big a committ.... but I got carried away.
- Started MouseEventEventArgs -> MouseEvent transition - for OnMouseEvent. Partially fixes #3029.
- Refactored Appliation.OnMouseEvent and View.OnMouseEvent to match design guidelines.
- Re-impleented highlight, enabling extensibility (see Border).
- Beefed up unit tests
2024-04-04 18:50:13 -04:00
Tig
dd8fe76cab Rebased with v2_develop - broke stuff. 2024-04-03 21:27:10 -04:00
Tig
f68adf77ae Fixed core bug. Wasn't what we thought it was. 2024-04-03 15:04:35 -05:00
Tig
1b21dd5ef1 merged 2024-04-03 05:47:35 -06:00
Tig
2ed6ed52c7 beefed up unit tests 2024-04-02 16:38:42 -06:00
Tig
c1896ee048 Renamed to HighlightOnPress and added unit tests 2024-04-02 16:22:55 -06:00
Tig
d57b58be1a Updated ViewMouse unit tests 2024-04-01 14:24:32 -06:00
Tig
cf97b5b708 Fixed some unit tests. Prepared for Issue #3368 2024-04-01 11:22:27 -06:00
Tig
7702564a3d Merge branch 'v2_3269_Bounds-ContentArea' of tig:tig/Terminal.Gui into v2_3269_Bounds-ContentArea 2024-03-31 10:51:05 -06:00
Tig
9b75effe49 Backed out some changes and fixed unit tests 2024-03-31 10:21:04 -06:00
Tig
8483e29a9d Removed ScrollView dependency from CharMap to validate new View scrolling fn 2024-03-30 17:53:03 -06:00
Tig
465c04f59f API doc updates 2024-03-29 01:39:59 -06:00
Tig
d25f98f8e3 Everything appears to work (except ScrollView which I broke but will fix). 2024-03-28 23:57:36 -06:00
BDisp
d7fec3c3f1 Add unit test that proof setting TabIndex before all views are added, will have unexpected result. 2024-03-27 15:43:55 +00:00
BDisp
f272f8941f Revert "Add one more unit test and replace True/False to Equal/NotEqual."
This reverts commit b9c0bcb613.
2024-03-27 15:41:35 +00:00
BDisp
b9c0bcb613 Add one more unit test and replace True/False to Equal/NotEqual. 2024-03-27 15:15:59 +00:00
BDisp
ae5e41fd6b Fixes #3351. TabIndex with the same setter value but with wrong index return without set the correct value. 2024-03-27 00:17:31 +00:00
Tig
4f59a64b2c Merged v2_develop 2024-03-26 17:27:38 -06:00
Tig
df5f04b645 Merged v2_develop 2024-03-26 14:36:23 -06:00
BDisp
41971a6e5a Fix all tests. 2024-03-25 17:36:35 +00:00
Tig
90e38384c4 WIP towards scrolling working 2024-03-21 06:42:00 -07:00
Tig
fd4fdb8b1a More unit tests and code cleanup 2024-03-20 07:33:02 -07:00
Tig
f55d9bbdcd ViewportToScreen now deals with + location. Updated unit tests. 2024-03-20 07:01:31 -07:00
Tig
6f664c9c6a Added ContentSize property and first unit test 2024-03-19 17:52:44 -07:00
BDisp
d2a2ff1f99 Fixes #3340. Mouse ButtonShift doesn't work anymore on Windows Terminal. 2024-03-19 23:42:44 +00:00
Tig
6b1a429e56 Rebased with v2_develop 2024-03-18 16:05:54 -07:00
Tig
8cf63d565a Added some NeedDisplay unit tess 2024-03-18 12:46:35 -07:00
Tig
7767bd13fa Made View.Move and View.AddRune constrain; added unit tests 2024-03-17 10:43:39 -07:00
Tig
ebc47de514 Reamed Bounds -> Viewport test rename 2024-03-14 10:24:31 -08:00
Tig
b187a8e70f Reamed Bounds -> Viewport - MOAR rename 2024-03-14 09:55:27 -08:00
Tig
0900333e12 Reamed Bounds -> Viewport - more rename 2024-03-14 08:12:50 -08:00
Tig
3a40dec249 Reamed Bounds -> Viewport in comments 2024-03-14 07:39:12 -08:00
Tig
f6ff36968e Reamed Bounds -> ViewPort to see how it feels 2024-03-14 07:30:27 -08:00
Tig
df4f479ce6 Fixed drag bug; added mouse unit tests 2024-03-13 20:24:46 -08:00
Tig
919f8e5991 Merge branch 'v2_develop' into v2_3273_FOUND_finddeepestview 2024-03-10 10:56:14 -06:00
Tig
ce89aaf961 Merge branch 'v2_develop' into v2_3310-OnMouseClick-CanSetFocus 2024-03-10 09:34:01 -06:00