Commit Graph

316 Commits

Author SHA1 Message Date
Tig
d3dfb16597 Initial commit. Made all calls to AnchorEnd() be AnchorEnd(0) in prep 2024-04-16 09:51:22 -06:00
Tig
56922b4357 Merge pull request #3323 from tig/v2_3269_Bounds-ContentArea
Fixes #3169. `Bounds` -> `Viewport`: Content Scrolling in `View`
2024-04-16 06:37:37 -06:00
Tig
069089ee27 Made Arrangement = ViewArrangement.Fixed the default for Toplevels 2024-04-15 17:08:12 -06:00
BDisp
92a5fe98c5 Merge branch 'v2_develop' into v2_view-dispose-mousegrabview-fix_3394 2024-04-14 23:42:28 +01:00
Tig
a655120e48 Merge branch 'v2_develop' into v2_3269_Bounds-ContentArea 2024-04-14 15:00:11 -06:00
tznind
caddcdb846 Fix null reference removing tab 2024-04-14 21:46:50 +01:00
BDisp
24aef987be Restoring unit test from v1. 2024-04-11 18:00:12 +01:00
Tig
7644f631f0 Refactored ViewportSettings - Now makes more sense and LixtView works as before 2024-04-11 10:42:18 -06:00
Tig
9f93dea5cb TODOs 2024-04-11 07:00:46 -06:00
BDisp
c42c88ccbc Ensures the menu bar grabs the mouse when removing a menu. 2024-04-10 18:16:51 +01:00
Tig
e5d01bfdb1 Fixed Button with WantContinuousPressed = true not responding to single clicks 2024-04-10 00:30:11 -04:00
Tig
5c36db22a4 merge 2024-04-09 09:02:55 -04:00
Tig
dceed59a5f Fixed more unit tests 2024-04-05 12:27:04 -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
e1a2793c5c Fixed fragile toplevel drag unit tests 2024-04-04 19:34:39 -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
1b21dd5ef1 merged 2024-04-03 05:47:35 -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
8483e29a9d Removed ScrollView dependency from CharMap to validate new View scrolling fn 2024-03-30 17:53:03 -06:00
Tig
17efda9926 Fixed ScrollViwe 2024-03-29 14:26:07 -06:00
Tig
d25f98f8e3 Everything appears to work (except ScrollView which I broke but will fix). 2024-03-28 23:57:36 -06:00
Tig
df5f04b645 Merged v2_develop 2024-03-26 14:36:23 -06:00
Tig
6ebee8d42b Fixed more bad code 2024-03-25 16:54:08 -06:00
BDisp
41971a6e5a Fix all tests. 2024-03-25 17:36:35 +00:00
BDisp
a551b977bb Invoke Activate and Deactivate on Begin method and fix ContextMenu to use it. 2024-03-25 15:35:02 +00:00
BDisp
408ae43e74 Fix ColorPickerTests. 2024-03-23 20:51:33 +00:00
BDisp
6a6fd3b480 Fix CheckBoxTests. 2024-03-23 20:49:20 +00:00
BDisp
11383402dd Fix ButtonTests. 2024-03-23 20:41:29 +00:00
BDisp
1f8ea90991 Fix AllViewsTests. 2024-03-23 20:00:47 +00:00
BDisp
88f8cf9015 Fix AppendAutocompleteTests. 2024-03-23 19:53:03 +00:00
BDisp
c8890628e9 Fixes #3338. Application.Run/End -> Callers must dispose Toplevel 2024-03-20 17:34:20 +00:00
Tig
6b1a429e56 Rebased with v2_develop 2024-03-18 16:05:54 -07:00
BDisp
d8c1a0c118 Merge branch 'v2_develop' into v2_mousegrabview-fix_3333 2024-03-17 22:47:20 +00:00
Tig
9aec5b1c6d Merge branch 'v2_3269_Bounds-ContentArea' of tig:tig/Terminal.Gui into v2_3269_Bounds-ContentArea 2024-03-17 15:38:30 -07:00
BDisp
0120a3648f Fixes #3333. Application.UnGrabbedMouse event doesn't allow grab another view after exit. 2024-03-17 20:06:03 +00:00
Tig
1549d0de1d Merge branch 'v2_3269_Bounds-ContentArea' of tig:tig/Terminal.Gui into v2_3269_Bounds-ContentArea 2024-03-17 11:20:43 -07:00
Tig
bd4eeb9fab Merge branch 'v2_develop' into v2_3313-Application-End-Top 2024-03-17 07:50:56 -08:00
Tig
ab07ec665b Removed erroneous Disosal and fixed poorly coded unit test: A toplevel manually creatged must be disposed by creator 2024-03-17 07:41:37 -08:00
Tig
73a6e66139 Tweaked unit tests 2024-03-16 08:46:29 -08:00
BDisp
2b3a67c7a9 Fix typo. 2024-03-14 23:02:23 +00:00
BDisp
534ab2a631 Fixes #3326. Menu is responding even outside the limits, not moving to the view that has the mouse. 2024-03-14 22:42:21 +00:00
Tig
ebc47de514 Reamed Bounds -> Viewport test rename 2024-03-14 10:24:31 -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
52b464f305 Simplified and renamed GetLocationThatFits 2024-03-11 11:39:22 -08:00
Tig
591434054c Simplified and renamed GetLocationThatFits 2024-03-11 11:38:44 -08:00
Tig
919f8e5991 Merge branch 'v2_develop' into v2_3273_FOUND_finddeepestview 2024-03-10 10:56:14 -06:00