Commit Graph

1485 Commits

Author SHA1 Message Date
Tig
2e62263b69 Removed AutoSize from Slider 2024-05-03 12:58:56 -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
75669a4a76 Rewritten this unit test. 2024-05-03 17:38:26 +01:00
BDisp
af42151aac Removing duplicate InlineData. 2024-05-03 00:17:10 +01:00
BDisp
37bad48b4a Adding more horizontal and vertical text unit tests variants. 2024-05-02 19:21:52 +01: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
4d49ae8a99 Merge pull request #32 from BDisp/tig_v2_2432-DimAuto
Improving TextFormatter.
2024-05-01 10:47:27 -06:00
Tig
acaa326c51 Merge branch 'v2_develop' into v2_2432-DimAuto 2024-04-30 16:02:11 -06:00
BDisp
5031faaa50 Change TODO to FIXED. 2024-04-30 22:23:33 +01:00
BDisp
d1189648da Add vertical unit tests to the Draw_Text_Alignment method. 2024-04-30 22:17:49 +01:00
BDisp
96af356428 Fix unit test. 2024-04-30 21:02:50 +01:00
BDisp
1d86d65428 Resolving merge conflicts. 2024-04-30 20:53:34 +01: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
BDisp
25be329f90 Merge branch 'v2_2432-DimAuto' into tig_v2_2432-DimAuto 2024-04-30 11:22:47 +01:00
BDisp
b7293e0470 Performing text reverse during formatting instead during drawing. 2024-04-29 23:21:32 +01:00
Tig
f51ec9cf66 Addded comments to remind myself of issues 2024-04-29 12:47:48 -06:00
Tig
a75d5b7966 WIP to get rid of Slider.AutoSize 2024-04-29 12:38:33 -06:00
BDisp
d66a28e9e6 Add more unit tests. 2024-04-29 13:22:45 +01: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
3e87d5e786 TextFormatter Unit tests pass again 2024-04-27 08:09:48 -07:00
Tig
71c0d379f8 Merged and attempted to apply @bdisp's fixes 2024-04-27 07:17:29 -07:00
Tig
acc924b7b5 Unit test update 2024-04-26 22:10:23 -06:00
BDisp
d074ff0328 Improves @tig prototype. 2024-04-26 23:54:11 +01: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
b6b29fec1a Checked out Justifier from v2_1785-PosJustify 2024-04-21 18:00:14 -06:00
Tig
2fdbce4a76 Fixed all unit tests. Doesn't mean things aren't broken tho. 2024-04-21 12:35:32 -06:00
Tig
f134d1a113 Started to add more primitve unit tests for vertical text 2024-04-21 11:22:27 -06:00
Tig
c65596b2d0 Sorta fixed vertical. Broke wide runes 2024-04-21 11:05:27 -06:00
Tig
91e3e75dc0 Sorta fixed vertical. Broke wide runes 2024-04-21 09:18:57 -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
7b5df8386e Fixed all TextFormatterTests 2024-04-18 17:54:54 -06:00
Tig
69cb2719b5 Fixed TextFormatterTests 2024-04-18 17:52:21 -06:00
Tig
83bc6aa632 Added more TextFormatter tests 2024-04-18 16:15:59 -06:00
Tig
785215d957 Added TextFormatter unit tests that show Right has bug 2024-04-18 16:07:50 -06:00
Tig
6c117e0f0a More unit tests 2024-04-18 15:51:19 -06:00
Tig
00ac1bbf7a Renamed API to simplify and make more clear. Fixed Text formatting vertical/right aligned text. Fixed crash in scenario 2024-04-18 14:16:55 -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