Commit Graph

4994 Commits

Author SHA1 Message Date
Tig
2ed6ed52c7 beefed up unit tests 2024-04-02 16:38:42 -06:00
Tig
c1896ee048 Renamed to HighlightOnPress and added unit tests 2024-04-02 16:22:55 -06:00
Tig
45309c7564 Better looking invert color logic 2024-04-02 15:51:10 -06:00
Tig
e1219707f6 API docs 2024-04-02 15:40:00 -06:00
Tig
dc7b504890 RadioButton now works 2024-04-02 15:37:00 -06:00
Tig
d9d5f860c3 Made RadioGroup utilize InvertColorsOnPress.
Works, but not optimally. The entire view invert. What would be really nice is if just the radio item under the mouse inverted. We can fix this later.
2024-04-02 14:56:11 -06:00
Tig
06cc7d8f71 Moved view highlight on press code into View. Updated all Views that would benefit.
Note this breaks Charmap because ScrollView blindly grabs mouse on Enter. This will be fixed in #3323.
2024-04-02 14:49:13 -06:00
Tig
1cca002393 Got new button fn working on WindowsDriver; Now debugging netdriver and curses 2024-04-02 08:45:28 -06:00
Tig
d57b58be1a Updated ViewMouse unit tests 2024-04-01 14:24:32 -06:00
Tig
f3c3825f34 Init->Main in Buttons scenario 2024-04-01 12:36:20 -06:00
Tig
cf4ead194f Initial commit 2024-04-01 12:27:51 -06:00
Tig
ca7b8bb0ee fixed OnMouseClick logic 2024-04-01 12:17:52 -06:00
Tig
b980f07688 Test button 2024-04-01 12:17:28 -06:00
Tig
f65c49a858 More Prototype scrollbuttons in Padding for CharMap 2024-04-01 12:17:02 -06:00
Tig
a7079edf77 Prototype scrollbuttons in Padding for CharMap 2024-04-01 12:15:15 -06:00
Tig
43e4a83664 Merge pull request #3360 from tig/v2_3359_CM_Reset
Fixes #3359.  Updates Unit Tests to do CM.Reset
2024-03-31 10:52:52 -06:00
Tig
0ef67d785b Merge pull request #3353 from BDisp/v2_tabindex-fix_3351
Fixes #3351. TabIndex with the same setter value but with wrong index return without set the correct value.
2024-03-31 10:48:59 -06:00
Tig
5b367b3df1 Merge pull request #3361 from tznind/visible-to-designer
Make terminal gui internal methods visible to TGD
2024-03-30 13:31:36 -06:00
tznind
f3e832bfd8 Make terminal gui internal methods visible to TGD 2024-03-30 11:02:01 +00:00
Tig
e7a116eb46 Code cleanup 2024-03-29 10:36:12 -06:00
Tig
57a57375f4 Updated code style for internal statics 2024-03-29 10:28:32 -06:00
Tig
f3536f8a86 Added Reset() call to AutoInitShutdown.After 2024-03-29 10:01:06 -06:00
Tig
646b8dd597 Added Reset() calls to CM tests 2024-03-29 10:00:31 -06:00
Tig
ab1c89b203 Merge pull request #3346 from tznind/color-scheme-ctor
Fixes #3345 - Add full constructor to ColorScheme
2024-03-29 07:37:02 -06:00
BDisp
d7fec3c3f1 Add unit test that proof setting TabIndex before all views are added, will have unexpected result. 2024-03-27 15:43:55 +00:00
BDisp
f272f8941f Revert "Add one more unit test and replace True/False to Equal/NotEqual."
This reverts commit b9c0bcb613.
2024-03-27 15:41:35 +00:00
BDisp
b9c0bcb613 Add one more unit test and replace True/False to Equal/NotEqual. 2024-03-27 15:15:59 +00:00
BDisp
ae5e41fd6b Fixes #3351. TabIndex with the same setter value but with wrong index return without set the correct value. 2024-03-27 00:17:31 +00:00
Tig
6070e80e23 Merge pull request #3339 from tig/v2_3338-Toplevel-Must-Be-Disposed
Fixes #3338. `Application.Run/End` -> Callers must dispose Toplevel
2024-03-26 12:12:59 -06:00
Tig
fda20df9ab Another attempt to fix Dispose in BWC 2024-03-26 12:07:08 -06:00
Tig
1e5ac783c5 Fixed dispose calls (one I missed). 2024-03-26 11:45:56 -06:00
Tig
5b03d739a6 Fixed quit scenario bug. WorkerApp, when hidden, was eating QuitKey 2024-03-26 09:23:45 -06:00
Tig
0b90274a15 Merged @bdisp latest fixes 2024-03-26 08:42:29 -06:00
Tig
253fd2b7b2 Fixed bug in scenario where hitting ENTER to start worker crashed listview 2024-03-26 08:19:32 -06:00
Tig
35d78fd985 Merged @bdisp's latest 2024-03-25 17:15:27 -06:00
Tig
66f5fb826d Merged @bdisp's latest and code cleanup 2024-03-25 17:12:41 -06:00
Tig
d3599c9daf Merge pull request #27 from BDisp/tig_v2_3338-Toplevel-Must-Be-Disposed
Set Visible to false on Closing event.
2024-03-25 17:01:38 -06:00
Tig
6ebee8d42b Fixed more bad code 2024-03-25 16:54:08 -06:00
BDisp
155e0a4232 Prevents run stagingUI if OverlappedTop is null. 2024-03-25 21:59:07 +00:00
BDisp
feed69d53f Prevents throwing if MainLoop is null. 2024-03-25 21:57:26 +00:00
BDisp
c8b3e15028 Prevents run iteration if toplevel's stack is empty. 2024-03-25 21:56:37 +00:00
BDisp
e764202ff1 Merge branch 'v2_3338-Toplevel-Must-Be-Disposed' into tig_v2_3338-Toplevel-Must-Be-Disposed 2024-03-25 21:54:37 +00:00
BDisp
ff404ac8f5 Resolving merge conflicts. 2024-03-25 21:48:13 +00:00
Tig
9c0fb02593 Updated CM scenario 2024-03-25 15:46:18 -06:00
Tig
09c7104d07 fixed unit tests 2024-03-25 15:24:57 -06:00
Tig
fffae452e2 Added Main to Scenario. Updated a few scenarios to test out. 2024-03-25 15:20:24 -06:00
BDisp
09b9e41641 Set Visible to false on Closing event. 2024-03-25 20:43:46 +00:00
Tig
561d671746 Removed un-needed and un-used RequestStop override from Scenario 2024-03-25 14:18:43 -06:00
Tig
5c6560299b Makes Run<T> and Run() return the Toplevel that gets created 2024-03-25 13:50:50 -06:00
Tig
29534c4c45 Added comments to Scenario 2024-03-25 13:44:00 -06:00