Commit Graph

207 Commits

Author SHA1 Message Date
Tig
cea6e54b19 Ready for review.
- All unit tests pass
- Basic usage verified.
2024-04-28 08:48:46 -07:00
Tig
214ffb1633 TextFormater.AutoSize fixes 2024-04-27 13:48:23 -07:00
Tig
acc924b7b5 Unit test update 2024-04-26 22:10:23 -06:00
Tig
09565a0ef1 Tons of changes - mostly experiments, but some goodness.
There's a huge issue that TextFormatter is confused about AutoSize.
a) It behaves 'automatically' even when AutoSize == false (e.g. in Text_set).
b) It doesn't support auto sizing only one dimension.
2024-04-25 13:29:18 -06:00
Tig
6209aceb5f Reorganized PosDim unit tests. 2024-04-23 10:17:59 -06:00
Tig
0aef9d14db Removed notion of View.Autosize from Pos and Dim classes 2024-04-18 18:24:45 -06:00
Tig
a4d3bc7e58 Fixed more tests 2024-04-18 18:18:30 -06:00
Tig
69cb2719b5 Fixed TextFormatterTests 2024-04-18 17:52:21 -06:00
Tig
6c117e0f0a More unit tests 2024-04-18 15:51:19 -06:00
Tig
f3b5ed7afc Fixing tests... 2024-04-18 13:14:22 -06:00
Tig
a48146af82 Tons of unit test updates 2024-04-18 09:59:07 -06:00
Tig
3a8d1d546f Tweak 2024-04-17 15:42:10 -06:00
Tig
ef4c52c6bc Merged.
Fixed merge issues. Added more tests.
2024-04-17 15:17:37 -06:00
Tig
e3a0d8cbc5 API doc improvements 2024-04-17 13:01:06 -06:00
Tig
652f7aa1b9 Renamed API to simplify and make more clear 2024-04-17 08:05:21 -06:00
Tig
64b7149ff8 PosDim.cs code cleanup 2024-04-16 17:42:48 -06:00
Tig
e8467f25c4 Rewrote SetRelativeLayout to move logic in to the Pos & Dim classes. Massively beefed up unit tests. 2024-04-16 17:15:50 -06:00
Tig
264ba87e73 AnchorEnd() works! Cleaned up usages and modernized Sceanrios 2024-04-16 14:00:38 -06:00
Tig
162aa081ad Implemented AnchorEnd(); added .UseDimForOffset property 2024-04-16 11:47:51 -06:00
Tig
671a18f1b5 Added tests to test new fn; which isn't implemented yet, so they fail. 2024-04-16 11:22:53 -06:00
Tig
05d3399f35 Added primitive AnchorEnd tests 2024-04-16 11:19:10 -06:00
Tig
719f39c8b3 Removed dupe tests 2024-04-16 10:33:18 -06:00
Tig
537f909e9f Factored AnchorEnd unit tests out to separate file. 2024-04-16 09:59:00 -06:00
Tig
d3dfb16597 Initial commit. Made all calls to AnchorEnd() be AnchorEnd(0) in prep 2024-04-16 09:51:22 -06:00
Tig
00cc59add2 Smarter focuscolor fix just for Border 2024-04-15 00:08:26 -06:00
Tig
8da54ad41d Rebased onto bounds-contentarea and merged -broke 2024-04-14 21:52:45 -06:00
Tig
32e79bdd17 Code and API doc cleanup 2024-04-14 14:57:35 -06:00
Tig
88222c4dfd Fixed clipping - mostly: Still an issue w/ subviews of adornments 2024-04-14 13:22:25 -06:00
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