Tig Kindel
2b0adf072d
Merge branch 'visual_style_manager' into v2_config_manager
2023-02-21 13:58:58 +13:00
BDisp
47eb43fd6e
Fixes 2368. Nested views with height of 1 not rendering correctly. ( #2370 )
2023-02-21 13:55:07 +13:00
Thomas Nind
40af5ed98a
Adds Snake Scenario ( #2353 )
...
* Add empty snake scenario
* Move snake head around
* Snake now has a tail
* Rest of logic implementation
* Ctrl K D layout fixes
* Game gets faster as you collect more apples
* Adjust speed increase rate down
* Use white on black for snake and border and red for apple
* Fix ScenarioTests not Disposing Scenario
* Add disposes and fix to use LineCanvas.GenerateImage
* Fix stack overflow, doh!
---------
Co-authored-by: Tig <tig@users.noreply.github.com >
2023-02-21 11:59:46 +13:00
Tig Kindel
6bb90edcbf
Revert "Illustrates #2331 (Scrollview not respecting clip) does not reproduce ( #2332 )"
...
This reverts commit c85ff954aa .
2023-02-21 11:53:10 +13:00
BDisp
c85ff954aa
Illustrates #2331 (Scrollview not respecting clip) does not reproduce ( #2332 )
...
* Proves that the issue #2331 don't have reason to happen.
* fixes #2336
* Fixes #2331 . ScrollView may not be honoring clip region; CustomButton shows outside
* More appropriate solution for the issue #2331 .
* Start refactoring LineCanvas for mixing line style support (e.g. double into single)
* Add remaining resolvers
* Implement corner border style mixing in LineCanvas
* Refactor and simplify resolvers
* Move tests to Core folder and namespace to Terminal.Gui.CoreTests
* Fixes #2333 . TextField is selecting badly a word on double click.
* Add unit test deleting a word with accented char.
* Fixes 2331. ScrollView may not be honoring clip region.
* Add a custom button scenario.
* Fixes #2350 . Clipping broke (see Clipping scenario).
* Is preferable use NeedDisplay instead of Bounds.
---------
Co-authored-by: Tig Kindel <tig@users.noreply.github.com >
Co-authored-by: tznind <tznind@dundee.ac.uk >
2023-02-21 00:53:38 +13:00
Tig
81d3ad8aeb
Merge pull request #2352 from tznind/animation
...
Adds Animation Scenario
2023-02-20 22:29:49 +13:00
Tig
3ecf42a61c
Merge pull request #2344 from tznind/line-canvas-fix-offsets
...
Fixes 2343 - LineCanvas not respecting X and Y of clip bounds
2023-02-20 22:17:17 +13:00
Thomas Nind
1e5ab49827
Merge branch 'develop' into line-canvas-fix-offsets
2023-02-19 17:06:21 +00:00
Thomas
0e84090c31
Add caching and comments
2023-02-18 07:56:45 +00:00
Thomas
8371a74bf9
CC attribution
2023-02-17 23:18:20 +00:00
Thomas
2b0d14f41f
Resizing
2023-02-17 23:12:48 +00:00
Thomas
db38b35bb7
spinning world
2023-02-17 22:56:02 +00:00
tznind
c28d97f203
Add gif
2023-02-17 22:10:40 +00:00
tznind
81a892ad11
Add image scenario
2023-02-17 22:09:29 +00:00
Tig
65607ba0e0
Merge pull request #2349 from BDisp/basic-colors-scenario-fix_2348
...
Fixes #2348 . The Basic Colors scenario doesn't output the blue on white properly.
2023-02-15 07:15:08 +07:00
Thomas
85a4471004
Remove the Draw method from LineCanvas and make GenerateImage easier to use
2023-02-14 22:11:18 +00:00
Thomas Nind
a10d4b78ec
Merge branch 'develop' into line-canvas-fix-offsets
2023-02-14 21:54:22 +00:00
BDisp
43efe8a563
Ensures working even if a value less than -1 is used.
2023-02-14 18:43:58 +00:00
BDisp
721a8873b0
Removed Color.Invalid and added more unit tests.
2023-02-14 18:32:06 +00:00
Tig
8014eda472
Merge pull request #2347 from BDisp/windowsdriver-cleanup-fix_2346
...
Fixes #2346 . If WindowsDriver is maximized crash on the Cleanup method.
2023-02-14 10:35:09 +07:00
Thomas
90a6c2c34c
Support for drawing at an offset within client area
2023-02-13 22:08:05 +00:00
BDisp
276ffe0343
Fixes #2348 . The Basic Colors scenario doesn't output the blue on white properly.
2023-02-13 20:52:00 +00:00
BDisp
444add330f
Fixes #2346 . If WindowsDriver is maximized crash on the Cleanup method.
2023-02-13 20:21:27 +00:00
Thomas Nind
aa4e125b67
Merge branch 'develop' into line-canvas-fix-offsets
2023-02-13 08:10:04 +00:00
tznind
319fb8a3d4
Add TestLineCanvas_PositiveLocation
2023-02-13 08:09:37 +00:00
tznind
fd989430bc
whitespace formatting fixes
2023-02-13 01:58:19 +00:00
tznind
235114e60d
Fix LineCanvas not respecting X and Y of clip bounds
2023-02-13 01:54:01 +00:00
Tig
2ead01a3c8
Merge pull request #2339 from tznind/line-canvas-style-mixing
...
LineCanvas support for mixing double and single lines
2023-02-12 09:36:57 +07:00
Thomas Nind
d555576a13
Merge branch 'develop' into line-canvas-style-mixing
2023-02-11 08:19:03 +00:00
Thomas
985df1d3c2
Move tests to Core folder and namespace to Terminal.Gui.CoreTests
2023-02-11 08:17:35 +00:00
Tig
538d574ee9
Merge pull request #2334 from BDisp/textfield-word-select-fix_2333
...
Fixes #2333 . TextField is selecting badly a word on double click.
2023-02-11 10:51:55 +07:00
Thomas
a443ec7986
Refactor and simplify resolvers
2023-02-11 00:03:37 +00:00
Thomas
f716dbe596
Implement corner border style mixing in LineCanvas
2023-02-10 23:29:07 +00:00
Thomas
5af44d2c53
Add remaining resolvers
2023-02-10 17:10:00 +00:00
tznind
5a37db7c18
Start refactoring LineCanvas for mixing line style support (e.g. double into single)
2023-02-10 08:23:58 +00:00
Tig
20c685b1bf
Merge pull request #2338 from BDisp/scrollview-clip-fix_2331
...
Fixes #2331 . ScrollView may not be honoring clip region; CustomButton shows outside
2023-02-09 16:38:24 -08:00
Tig
4c7c3403f5
Merge branch 'develop' into textfield-word-select-fix_2333
2023-02-09 16:31:52 -08:00
BDisp
51c64babc7
More appropriate solution for the issue #2331 .
2023-02-09 23:41:27 +00:00
BDisp
895b3894f5
Fixes #2331 . ScrollView may not be honoring clip region; CustomButton shows outside
2023-02-09 18:43:04 +00:00
BDisp
29b92a3610
Add unit test deleting a word with accented char.
2023-02-09 14:12:51 +00:00
Tig
76457772a1
Merge pull request #2337 from tig/fixes_2336_ignore_border
...
Fixes #2336 . Adds a `IgnoreBorderPropertyOnRedraw` to `View`
2023-02-09 22:13:48 +09:00
Tig
db754473ff
Merge branch 'develop' into fixes_2336_ignore_border
2023-02-09 22:08:52 +09:00
Tig Kindel
44ab0b5b74
fixes #2336
2023-02-09 05:03:46 -08:00
BDisp
03b20371f6
Fixes #2333 . TextField is selecting badly a word on double click.
2023-02-08 19:17:15 +00:00
Tig
882b917a08
Merge pull request #2330 from BDisp/autocomplete-move-fix_2328
...
Fixes #2328 . TextView Autocomplete triggered by cursor move.
2023-02-08 15:06:09 +09:00
BDisp
5da7665e92
Fixes #2328 . TextView Autocomplete triggered by cursor move.
2023-02-08 00:12:52 +00:00
Tig
f9bef3707c
Merge pull request #2327 from BDisp/invisible-cursor-fix_2326
...
Fixes #2326 . Invisible cursor after modal dialog.
2023-02-08 07:37:58 +09:00
Tig
8bfe99537c
Merge pull request #2324 from BDisp/devcontainer-fix_2323
...
Fixes #2323 . The devcontainer.json settings isn't work with the current develop branch.
2023-02-08 07:29:36 +09:00
Tig
ff8ac0faac
Merge branch 'develop' into invisible-cursor-fix_2326
2023-02-08 07:25:36 +09:00
Tig
8e0626dea3
Merge pull request #2320 from tig/fixes_2300_consoledriver_cleanup
...
Fixes #2300 . Removes unused `ConsoleDriver` APIs
2023-02-07 17:11:05 +09:00