Commit Graph

60 Commits

Author SHA1 Message Date
Tigger Kindel
1890677493 Added AbsoluteLayout unit tests 2023-03-29 20:50:33 -06:00
Thomas
c9ab7b5bd8 Change LineCanvas interpretation of Length=0 2023-03-20 21:04:26 +00:00
tznind
9b62c10ce9 WIP: Add some complexity to LineCanvas when length is 0 2023-03-20 20:21:58 +00:00
Thomas Nind
057cea44d2 Merge branch 'v2_develop' into events 2023-03-20 17:07:24 +00:00
Tig Kindel
42832cafa2 Fixes bug in MessageBox scenario that is latent in v1 2023-03-19 16:44:36 -07:00
Tig Kindel
ab2bda109b improved API docs, removed duplicate code, refactored to make more readable 2023-03-18 09:57:16 -06:00
tznind
2ed71e284c Move all nested eventargs out of parent classes to root 2023-03-15 19:35:21 +00:00
tznind
796e15a64d Added DrawEventArgs 2023-03-12 02:39:32 +00:00
tznind
3bec36ac47 Change Action to EventHandler for more events 2023-03-12 02:10:22 +00:00
tznind
43f67a6387 Convert more Actions to EventHandlers in View 2023-03-11 19:55:08 +00:00
tznind
fcc75e7147 Update View Action events to EventHandler events 2023-03-11 19:46:46 +00:00
tznind
02825d89ba Added SuperViewChangedEventArgs for Added/Removed to clarify situation 2023-03-11 12:01:04 +00:00
tznind
9c4f3eda16 Update Added/Removed and other events to use `EventHandler 2023-03-11 11:05:20 +00:00
tznind
58c267fd7c Switch to EventHandler for TopLevel methods
- Loaded,
- Ready
- Unloaded
- AllChildClosed
2023-03-11 10:08:36 +00:00
BDisp
2eb05113af Fix negative bounds on draw text and thus fixes scrolling. 2023-03-05 18:34:58 +00:00
Tigger Kindel
112f04c871 Fixed merge conflicts 2023-03-05 07:45:57 -07:00
BDisp
c7b5417f79 Fixes unit tests. 2023-03-04 02:02:02 +00:00
BDisp
c99b35578d Revert "Fixes unit tests to support Pos/Dim changes."
This reverts commit ad426ff261.
2023-03-03 18:35:10 +00:00
BDisp
29af067e01 Fixes merge errors. 2023-03-03 18:28:38 +00:00
BDisp
de5b2f5594 Resolving merge conflicts. 2023-03-03 17:55:22 +00:00
Tigger Kindel
22c4fdad24 merged again - fixed unit tests - probably deleted some of your changes 2023-03-03 10:40:47 -07:00
Tigger Kindel
4424974185 merged 2023-03-03 10:22:50 -07:00
Tigger Kindel
64e19ae562 Fixed unit tests: marginframe background 2023-03-03 09:06:25 -07:00
BDisp
5840ad25e8 Added IsLoaded property to allow control if a change was done before or after the toplevel was loaded. 2023-03-02 03:24:21 +00:00
BDisp
eac93a7973 Resolving merge conflicts. 2023-03-01 22:31:51 +00:00
BDisp
ff1773dab3 Sets borders position later. 2023-03-01 01:05:01 +00:00
BDisp
379d7a8492 Fixes 2342. Border: can't change border color in window by Border.BorderBrush. (#2345)
* Fixes 2342. Border: can't change border color in window by Border.BorderBrush.

* Fixes border initialization.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-02-28 22:41:09 +00:00
BDisp
82bafda5fe Added some more PosCenter unit tests. 2023-02-28 21:25:45 +00:00
BDisp
ecd82465f7 ToString must return the Pos/Dim class names. 2023-02-28 21:23:44 +00:00
BDisp
ebae3a8560 Fixes Revert "Illustrates #2331 (Scrollview not respecting clip) does not reproduce (#2332)" committed twice on 6bb90edcbf and 28d7be721c 2023-02-28 21:18:09 +00:00
BDisp
ab0ad0adc6 Added some more PosCenter unit tests. 2023-02-27 19:14:40 +00:00
BDisp
ad426ff261 Fixes unit tests to support Pos/Dim changes. 2023-02-27 15:12:00 +00:00
BDisp
534d4ea390 Fixes Revert "Illustrates #2331 (Scrollview not respecting clip) does not reproduce (#2332)" committed twice on 6bb90edcbf and 28d7be721c 2023-02-27 13:37:01 +00:00
BDisp
932aca89eb Merge #2382 into #2379. 2023-02-27 12:09:10 +00:00
BDisp
c6183c7658 Added one more condition to be consistent with others. 2023-02-27 12:09:10 +00:00
BDisp
288d81b781 Allows a subview reference the superview of the subview superview. 2023-02-27 12:09:09 +00:00
Tig Kindel
012100680e Pos.Combine unit tests 2023-02-27 12:09:07 +00:00
Tig Kindel
93b8dfdad1 fixing bugs caused by Pos.Combine bugfix 2023-02-27 12:09:05 +00:00
Tig Kindel
feae3b675d merged from develop after accident 2023-02-27 12:09:04 +00:00
Tig Kindel
28d7be721c Revert "Illustrates #2331 (Scrollview not respecting clip) does not reproduce (#2332)"
This reverts commit c85ff954aa.
2023-02-27 12:08:49 +00:00
Tigger Kindel
8c319ee189 merged develop - mostly 2023-02-26 16:15:39 -07:00
BDisp
1d2dc40c8a Fixes #2305. Improves the handling of escape sequence. (#2375)
* Changed ansi esc sequence used on exit.

* Changed ansi esc sequence used on exit.

* Improves HeightAsBuffer although currently only works on Windows.

* Fixes #2267. Toplevel.EnsureVisibleBounds throws an exception if border is null.

* Changing comment as requested.

* Fixes indentation.

* Seems not needed for now, maybe some update, comment for now.

* Renamed HeightAsBuffer to EnableConsoleScrolling and made it obsolete.

* Add comment on remarks for EnableConsoleScrolling.

* merged @bdisp's EnableConsoleScrolling PR

* Fixes buffer for Windows Terminal.

* Fixes issue in Windows Terminal on resizing causing some lines not be drawing after exceptions.

* merge #9

* merged #9

* use ESC [ ? 1047

* Tweaks with new esc codes

* Fixed curses driver to not nuke scroll buffer and to resize properly

* merge

* Cleand up netdriver escape codes

* fixed spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed merge issue and  spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed spaces->tabs

* fixed  build error

* removed old comments

* Resolving merge conflicts.

* Ensuring reset the EnableConsoleScrolling.

* Changing from HeightAsBuffer to EnableConsoleScrolling.

* Done requested changes.

* Reformatting.

* Rename to EscSeqReqStatus.

* Removing Console.Out.Flush ();

---------

Co-authored-by: Charlie Kindel <tig@users.noreply.github.com>
Co-authored-by: Tig Kindel <tig@kindel.com>
2023-02-25 15:30:44 -07:00
BDisp
ed27696b9e Fixes 2342. Border: can't change border color in window by Border.BorderBrush. (#2345)
* Fixes 2342. Border: can't change border color in window by Border.BorderBrush.

* Fixes border initialization.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-02-25 15:26:04 -07:00
Tig Kindel
517ec9e988 fixed merge issues 2023-02-24 17:16:08 -07:00
Tig Kindel
5c659110bf Merge branch 'v1_setrelativelayout_improvement' into v2 2023-02-24 17:11:54 -07:00
Tig Kindel
7fbece9dc4 Pos.Combine unit tests 2023-02-24 12:52:43 -08:00
Tig Kindel
eb3af67027 fixing bugs caused by Pos.Combine bugfix 2023-02-25 07:15:41 +13:00
Tig Kindel
d04bf94c74 merged from develop after accident 2023-02-25 05:42:43 +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
Tig Kindel
a824417145 attempting merge 2023-02-21 01:15:08 +13:00