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
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
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
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
BDisp
41971a6e5a
Fix all tests.
2024-03-25 17:36:35 +00:00
BDisp
d2a2ff1f99
Fixes #3340 . Mouse ButtonShift doesn't work anymore on Windows Terminal.
2024-03-19 23:42:44 +00:00
Tig
8cf63d565a
Added some NeedDisplay unit tess
2024-03-18 12:46:35 -07: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
Tig
0649cd2149
Adds CanFocus/SetFocus test
2024-03-10 07:32:42 -08:00
Tig
7d6d5280f1
Adds CanFocus/SetFocus test
2024-03-10 07:30:42 -08:00
Tig
667912a610
Fixed a buinch of bugs. Updated unit tests including some that test all views to utilize TheoryData
2024-03-09 09:00:13 -09:00
Tig
7119ee74ff
Adornment w/ subview unit tests
2024-03-08 23:50:49 -07:00
Tig
e8c851631f
Ensured adornments layout
2024-03-08 23:25:14 -07:00
Tig
3e10486771
rebased and added mouseevent diag flag
2024-03-07 12:13:30 -07:00
Tig
1be3851154
Started on unit test
2024-03-07 09:04:24 -07:00
Tig
a518cb37ee
Refactored Diagnostics
2024-03-07 08:55:13 -07:00
Tig
4991fc00ee
Merge branch 'v2_3273_FOUND_finddeepestview' of tig:tig/Terminal.Gui into v2_3273_FOUND_finddeepestview
2024-03-06 22:19:21 -07:00
Tig
3f1e184e7e
Removed ClearFrame API. Not needed.
2024-03-06 22:03:37 -07:00
Tig
3888c86ee4
Fixed unit tests that broke due to rebase
2024-03-06 21:37:22 -07:00
Tig
3c3babb7fd
git rebase --onto v2_3298_REDO-xxxToScreen-improvements
2024-03-06 21:32:01 -07:00
Tig
745e2c21a2
Added low-level unit tests; found latent bugs in View.Clear, Bounds, etc... Fixed.
2024-03-06 20:38:25 -07:00
Tig
bb5c899864
cherry picked from old branch
2024-03-06 09:44:21 -07:00
Tig
17f9927a76
Re-removed clamped
2024-03-06 09:39:05 -07:00
Tig Kindel
23e65d63a7
Added Padding button to Adornments scenario
2024-03-04 12:29:10 -07:00
Tig Kindel
bcccce4394
Removed findAdornments param and made FindDeepestView internal
2024-03-04 12:13:34 -07:00
Tig Kindel
3d30b06212
Fixed Menu: Was not dealing with Border correctly
2024-03-04 12:10:52 -07:00
Tig Kindel
efaaec41c2
Added simple Arragement unit test
2024-03-04 11:09:39 -07:00
Tig Kindel
e3ad40a6fa
Reenabled PositionTopLevel and fixed bug in TextField
2024-03-04 09:54:52 -07:00
Tig Kindel
1eaf8a713d
Simplified test
2024-03-01 13:01:25 -07:00
Tig Kindel
7036f5f8f8
Cleaned up MouseClick related stuff.
2024-03-01 11:42:28 -07:00
Tig Kindel
bd8edbe201
Merged MouseEvent() and OnMouseEvent()
2024-02-29 17:29:25 -07:00
Tig Kindel
2432bf76b8
Added Adornment.FrameToScreen tests that prove old behavior was bad
2024-02-27 10:52:11 -07:00
Tig Kindel
f8283ecc83
Fixed Adornment.Bounds and added new tests
2024-02-27 09:58:54 -07:00
Tig Kindel
aa4e2c0ae7
FindDeepestView now correctly supports start with Adornments
2024-02-27 09:51:02 -07:00
Tig Kindel
3bc2909d73
WIP (broken) - support adornmnts
2024-02-27 08:21:01 -07:00
Tig Kindel
cecfb71ee1
Fixed Visible bug and addd unit tests
2024-02-27 08:00:59 -07:00
Tig Kindel
248efc2cc2
Simplified FindDeepestVieew
2024-02-27 07:43:13 -07:00
Tig Kindel
55b7858f46
Added FindDeepestView tests
2024-02-27 06:10:12 -07:00
Brandon Thetford
1ebc99b226
Fix this test for Release builds
2024-02-25 20:49:14 -07:00
Brandon Thetford
bfedfee9ee
Simplify construction of new Rectangle, Size, Point, and *F instances
...
Use *.Empty when possible.
Use `with` in a few cases.
Also add some TODO commentary
2024-02-25 20:05:00 -07:00