Commit Graph

248 Commits

Author SHA1 Message Date
Tig
e28f73f175 Pos / Dim code cleanup 2024-05-14 16:01:42 -07:00
Tig
3e287c4bdd Moved PosXXX to not be nested classes 2024-05-14 15:45:04 -07:00
Tig
070d31d5ab Modernized RadioGroup to use Dim.Auto.
Upgrade AllViewsTester
2024-05-14 14:52:10 -07:00
Tig
82e681c45a Clarified what dimauot min/max mean.
Disabled diagnostic spew
2024-05-14 09:44:46 -07:00
Tig
a5eca55f29 Removed nullable from ContentSize 2024-05-13 14:17:05 -06:00
Tig
36b9171276 Removed ContentSize setter, replaced with SetContentSize 2024-05-13 13:42:14 -06:00
Tig
7786938eb9 Fixed ProgressBar to not set Height 2024-05-13 13:00:10 -06:00
Tig
922d3cbf62 Moved up TextTests.cs 2024-05-13 12:26:59 -06:00
Tig
c80f606561 Moved AutoSizeFalse tests to more logical locations; nuked invalid tests 2 2024-05-13 12:25:40 -06:00
Tig
e28b12e321 Moved AutoSizeFalse tests to more logical locations; nuked invalid tests 2024-05-13 12:24:49 -06:00
Tig
4e01779e0b Moved AutoSizeTrue tests to more logical locations; nuked invalid tests 2024-05-13 12:22:43 -06:00
Tig
c8690af514 Fixed AnchorEnd issue 2024-05-13 12:10:12 -06:00
Tig
ba4139f5f6 WIP fixing 3469 2024-05-13 09:50:23 -06:00
Tig
a8b9ddb2aa Partial fix 2024-05-13 09:50:21 -06:00
Tig
ef16f814cf Code cleanup 2024-05-09 09:30:57 -06:00
Tig
6982a85a70 Code cleanup 2024-05-09 09:07:31 -06:00
Tig
d391cc7ad2 MouseEvent: int X, int Y -> Point Position 2024-05-09 08:50:50 -06:00
Tig
a563e03ec2 More... 2024-05-08 17:02:34 -06:00
Tig
c03f349db4 ScreenToViewport -> Point 2024-05-08 15:24:02 -06:00
Tig
37a1464c7c ScreenToFrame -> Point 2024-05-08 15:02:47 -06:00
Tig
dcc7a9b518 Fixed a bunch of warnings 2024-05-08 10:24:49 -06:00
Tig
b7f3a85203 Fixed bug; added unit tests 2024-05-08 10:10:50 -06:00
Tig
a1249198bd PositionCursor unit tests and flashing cursor fixes 2024-05-07 10:07:14 -06:00
Tig
031ffeed19 No unit test use AutoSize! 2024-05-03 14:48:29 -06:00
Tig
acd308803e Fixed unit tests 2024-05-03 14:41:11 -06:00
Tig
65b36a9268 Updated almosta all tests to not use AutoSize 2024-05-03 14:01:02 -06:00
Tig
bd57b1df11 Removed un-needed AutoSize tests 2024-05-03 13:46:33 -06:00
Tig
1b74cdb50d Removed un-needed AutoSize tests 2024-05-03 13:37:10 -06:00
Tig
7dedfb83e8 Fixed AllViewsTester 2024-05-03 13:32:33 -06:00
Tig
ccaf1cf89b Merged bdisp test improvemnts 2024-05-03 11:24:36 -06:00
Tig
c79d2a95b4 Working on Dim.Absoulte 2024-05-03 11:16:02 -06:00
BDisp
695dc1664b Fix unit test error. 2024-05-02 18:20:10 +01:00
BDisp
067e666b4e Fixes title size not being updating on view size change. 2024-05-01 20:24:51 +01:00
Tig
acaa326c51 Merge branch 'v2_develop' into v2_2432-DimAuto 2024-04-30 16:02:11 -06:00
Tig
6e951882e0 Updated Draw_Text_Alignment 2024-04-30 11:35:41 -06:00
Tig
c36439b723 Fixed test name typo 2024-04-30 11:23:30 -06:00
Tig
30a540a088 Dim.DimAutoStyle.Subviews -> Content 2024-04-30 11:17:58 -06:00
Tig
f18c166d0f - Made Dim.DimAutoStyle flags.
Made View.ContentSize nullable, so _contentSize can be used to express 'desired contentsize
2024-04-30 11:09:11 -06:00
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
e6da3db22d Prototype/WIP for revamping how cursor handling works.
Views should not have to do complex cursor logic just to position / show a cursor.
Application should take care of more of the heavy liftig.
Advanced cursor handling should be possible.
ProcessCursor is poorly designed and fragile.
2024-04-26 13:19:11 -06:00
BDisp
986c681775 Applying dispose. 2024-04-26 00:21:54 +01:00
BDisp
46fcb58a71 Create IsViewLocationVisibleInViewport method. 2024-04-25 23:30:08 +01: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