Commit Graph

107 Commits

Author SHA1 Message Date
Tig
214ffb1633 TextFormater.AutoSize fixes 2024-04-27 13:48:23 -07:00
Tig
b6b29fec1a Checked out Justifier from v2_1785-PosJustify 2024-04-21 18:00:14 -06:00
Tig
50fcb19af5 Keep Force16Colors set across apps to ease debugging of flicker issue 2024-04-15 14:48:26 -06:00
Tig
5c36db22a4 merge 2024-04-09 09:02:55 -04:00
Tig
bd0f89f8b1 Border changes color, not line style on drag 2024-04-08 11:59:53 -04:00
Tig
6c296bb299 Disabled Hover (#define HOVER).
Added Color.GetHighlightColor. Simple implementation for now. Needs to be more robust.
2024-04-08 10:16:30 -04:00
Tig
7702564a3d Merge branch 'v2_3269_Bounds-ContentArea' of tig:tig/Terminal.Gui into v2_3269_Bounds-ContentArea 2024-03-31 10:51:05 -06:00
tznind
b5747cce50 Add full constructor to ColorScheme 2024-03-22 20:30:48 +00:00
Tig
b187a8e70f Reamed Bounds -> Viewport - MOAR rename 2024-03-14 09:55:27 -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
1da6c39407 Subviews of adornments work! 2024-03-08 19:12:06 -07:00
Tig
a518cb37ee Refactored Diagnostics 2024-03-07 08:55:13 -07:00
Tig
a44ef779b5 Updated api docs 2024-03-06 21:06:36 -07:00
Tig
a8e9fcfca5 Added Thickness.Add + unit tests 2024-03-06 20:54:35 -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
Brandon Thetford
47fad6189d Re-apply backed-out naming change from parent branch 2024-02-20 20:21:35 -07:00
Brandon Thetford
a638edeeaf Rename Rect to Rectangle in preparation for removal 2024-02-20 20:19:52 -07:00
Brandon Thetford
13bd11d5d0 Undo naming change that isn't changed globally until next batch 2024-02-20 20:19:29 -07:00
Brandon Thetford
6865391bd1 Combine to one non-destructive mutation 2024-02-20 17:20:54 -07:00
dodexahedron
deaa7563fc This is already a value copy (struct) 2024-02-20 17:20:54 -07:00
Brandon Thetford
0fb31d19f7 Inline to avoid copies 2024-02-20 17:20:54 -07:00
dodexahedron
1e05e24998 Fix naming 2024-02-20 17:20:54 -07:00
Brandon Thetford
e7fdd4c5a1 Collection expression 2024-02-20 17:20:54 -07:00
Brandon Thetford
b4795c722a Split to one type per file 2024-02-20 17:20:54 -07:00
Brandon Thetford
05d41bc21c Make this more efficient 2024-02-20 17:20:54 -07:00
Brandon Thetford
e7b228a2c8 Fix for reflection-based configuration 2024-02-16 16:05:03 -07:00
Brandon Thetford
3cd0832cb0 Implement INotifyCollectionChanged and IDictionary by delegating to ColorSchemes 2024-02-15 19:49:09 -07:00
Brandon Thetford
e4024a5fc3 Simplify the type initializer and Reset method 2024-02-15 19:06:48 -07:00
Brandon Thetford
c0a838113c Remove unused class 2024-02-15 19:06:19 -07:00
Brandon Thetford
74c8920f32 record struct already does this by value 2024-02-15 19:05:26 -07:00
Brandon Thetford
37b58afc39 Missed a couple of opportunities for reference passing 2024-02-15 19:05:03 -07:00
Brandon Thetford
d8a9f0f9a0 Mark this ignored just in case 2024-02-15 18:54:56 -07:00
Brandon Thetford
17a565ed74 Simplify GetHashCode 2024-02-15 18:53:25 -07:00
Brandon Thetford
486582f985 Simplify constructor 2024-02-15 18:53:08 -07:00
Brandon Thetford
1e5c5b3c10 This should be a property 2024-02-15 18:52:55 -07:00
Brandon Thetford
e4350c6143 Simplify this constructor 2024-02-15 18:50:25 -07:00
Brandon Thetford
f5ead8b54e Remove unused internal constructor and its test
It was only used by that test.
2024-02-15 18:48:40 -07:00
Brandon Thetford
79997cea06 Turn this into a record struct 2024-02-15 18:42:17 -07:00
Brandon Thetford
4e391e3017 Carry reference passing through as appropriate 2024-02-15 18:42:00 -07:00
Brandon Thetford
166930101a Simplify this 2024-02-15 18:38:14 -07:00
Brandon Thetford
2d2b04b57e Reference passing to avoid some struct copies 2024-02-15 18:37:49 -07:00
Brandon Thetford
fa38c9a5f6 Make this a record type and remove now-redundant/illegal members 2024-02-15 18:35:28 -07:00
Brandon Thetford
a5e009c76b Rename these files so they nest in the solution explorer 2024-02-15 18:34:27 -07:00
Brandon Thetford
6305b03420 Move class to its own file 2024-02-15 18:33:02 -07:00
Brandon Thetford
9ff8030bbb Annotate constructor properly and use throw helper 2024-02-15 18:29:45 -07:00
Brandon Thetford
6f3d0aac6f Declare interface these already support 2024-02-15 18:24:14 -07:00
Brandon Thetford
142b621395 Replace 354 != null with is { } 2024-02-14 00:47:44 -07:00
Brandon Thetford
da3fe3663d Replace all 342 == null with is null 2024-02-14 00:45:15 -07:00
BDisp
7a041fcc73 Fixes #3229. TextFormatter should have a FillRemaining property. (#3245)
* Fixes #3229. TextFormatter should have a FillRemaining property.

* Remove fillRemaining parameter from the Draw method.
2024-02-12 17:25:09 -07:00