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
9425b2a720
Fixes #2181 - (Really) Adds configuration manager ( #2365 )
2023-02-21 00:34:18 +13:00
Tig Kindel
67bee8b87c
updated v2 branch to develop
2023-02-21 00:02:19 +13:00
Tig Kindel
29ccbe36b7
attempting to merge
2023-02-20 23:40:42 +13:00
Tig Kindel
b7fe14ecff
attempting to merge
2023-02-20 22:54:39 +13:00
Thomas Nind
1e5ab49827
Merge branch 'develop' into line-canvas-fix-offsets
2023-02-19 17:06:21 +00:00
Tig Kindel
32c9c80a10
Merge branch 'tznind-splitcontainer' into v2
2023-02-15 16:11:47 +07:00
Tig Kindel
585857b1de
more expiermnets
2023-02-15 16:00:21 +07:00
Thomas
85a4471004
Remove the Draw method from LineCanvas and make GenerateImage easier to use
2023-02-14 22:11:18 +00:00
BDisp
721a8873b0
Removed Color.Invalid and added more unit tests.
2023-02-14 18:32:06 +00:00
Thomas
90a6c2c34c
Support for drawing at an offset within client area
2023-02-13 22:08:05 +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 Kindel
619a66aeef
messing with offset location
2023-02-13 07:56:38 +07:00
Tig Kindel
6558af1c7c
Revert "Merge branch 'splitcontainer' of tig:tznind/gui.cs into tznind-splitcontainer"
...
This reverts commit dc4fe69626 , reversing
changes made to ccadf81b4d .
2023-02-12 11:10:11 +07:00
Tig Kindel
dc4fe69626
Merge branch 'splitcontainer' of tig:tznind/gui.cs into tznind-splitcontainer
2023-02-12 10:57:21 +07:00
Tig Kindel
09ab30b854
Merge branch 'develop' into tznind-splitcontainer
2023-02-12 09:38:26 +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 Kindel
56eeadf934
Merge branch 'develop' into tznind-splitcontainer
2023-02-11 10:54:34 +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
tznind
0261e4bda2
Fix tests for renaming View to ContentView
2023-02-09 18:52:51 +00:00
tznind
236cc42f41
Add disposal tests
2023-02-09 18:47:23 +00:00
BDisp
29b92a3610
Add unit test deleting a word with accented char.
2023-02-09 14:12:51 +00:00
Tig Kindel
00d46ee3f1
udpated unit tests
2023-02-09 05:55:51 -08:00
Tig Kindel
040bbc41cb
merging tigs changes
2023-02-09 05:23:33 -08:00
Tig Kindel
9cb5e8c658
merging tigs changes
2023-02-09 05:23:06 -08:00
Tig
e92d2ccabe
Merge branch 'develop' into splitcontainer
2023-02-09 09:40:12 +09:00
BDisp
03b20371f6
Fixes #2333 . TextField is selecting badly a word on double click.
2023-02-08 19:17:15 +00:00
BDisp
5da7665e92
Fixes #2328 . TextView Autocomplete triggered by cursor move.
2023-02-08 00:12:52 +00:00
Tig
ff8ac0faac
Merge branch 'develop' into invisible-cursor-fix_2326
2023-02-08 07:25:36 +09:00
Tig Kindel
ea663ae113
fixing more merge screwups
2023-02-07 17:06:30 +09:00
Tig Kindel
44e734ae04
fixing merge screwups
2023-02-07 16:56:59 +09:00
Tig Kindel
2f2a4b4a42
merge fixes_2296
2023-02-07 16:47:02 +09:00
Tig Kindel
a052c6746c
Merge branch 'develop' into fixes_2296_attribute_make
2023-02-07 16:35:21 +09:00
Tig Kindel
2b26ec7bfb
merge fixes
2023-02-07 16:33:22 +09:00
BDisp
057bbcaea8
Fixes #2326 . Invisible cursor after modal dialog.
2023-02-06 23:47:09 +00:00
Tig Kindel
a0c2369a84
forgot to merge unit tests
2023-02-06 12:01:58 +09:00
Thomas
619435e534
Fix failing tests after merge by adding SetNeedsDisplay calls before ReDraw
2023-02-05 22:45:56 +00:00
Tig Kindel
e3b3151dec
Merge branch 'develop' of tig:gui-cs/Terminal.Gui into develop
2023-02-06 07:29:23 +09:00
Thomas Nind
c0e0f97622
Merge branch 'develop' into splitcontainer
2023-02-05 22:21:50 +00:00
Tig
57eab6767d
Merge branch 'develop' into normalize-drivers-fix_2317
2023-02-06 07:11:27 +09:00
Tig
c18d153b76
Merge branch 'develop' into fixes_2296_attribute_make
2023-02-06 07:08:44 +09:00
Tig
6a47427915
Merge pull request #2281 from tznind/line-drawer
...
Adds LineCanvas
2023-02-06 07:07:39 +09:00
BDisp
788eed4a4d
Fixes #2317 . Drivers do not normalize accented letters.
2023-02-05 00:25:14 +00:00
Tig
4d2701f61b
Merge branch 'v2' into nullable-bool-checked
2023-02-04 00:34:15 +09:00