Commit Graph

4891 Commits

Author SHA1 Message Date
Tig
262e878078 Fixed Clipping scenario - ClearNeedsDisplay was not calling into subviews 2024-03-18 12:19:04 -07:00
Tig
a27708a3f9 Fixed Clipping scenario - SetSubViewNeedsDisplay 2024-03-18 10:04:03 -07:00
Tig
ae008f72b5 Merge pull request #3334 from BDisp/v2_mousegrabview-fix_3333
Fixes #3333. Application.UnGrabbedMouse event doesn't allow grab another view after exit.
2024-03-18 08:42:20 -07:00
Tig
ea9c040afb Merge pull request #3335 from tig/v2_3331-CharMap-ScrollBars
Fixes #3331. Fixed incorrect clip code in CharMap scenario and added comments.
2024-03-18 08:41:16 -07:00
BDisp
d8c1a0c118 Merge branch 'v2_develop' into v2_mousegrabview-fix_3333 2024-03-17 22:47:20 +00:00
BDisp
704f1407d8 Break the loop if the superview is found. 2024-03-17 22:46:44 +00:00
Tig
d81a1ee977 Merge pull request #3330 from tig/v2_3313-Application-End-Top
Fixes #3313. `Application.End` leaves `Top` invalid
2024-03-17 14:34:42 -08:00
Tig
40b28d2120 Fixed incorrect clip code.
Changed to draw on OnDrawContent override.
Added comments to clarify drawing code.
2024-03-17 15:32:02 -07:00
BDisp
1573bb025b Check for the superview instead of check if it contains on the subviews. 2024-03-17 21:11:11 +00:00
BDisp
0120a3648f Fixes #3333. Application.UnGrabbedMouse event doesn't allow grab another view after exit. 2024-03-17 20:06:03 +00:00
Tig
bd4eeb9fab Merge branch 'v2_develop' into v2_3313-Application-End-Top 2024-03-17 07:50:56 -08:00
Tig
ab07ec665b Removed erroneous Disosal and fixed poorly coded unit test: A toplevel manually creatged must be disposed by creator 2024-03-17 07:41:37 -08:00
Tig
73a6e66139 Tweaked unit tests 2024-03-16 08:46:29 -08:00
Tig
68a07cfddb Verify runstate.Top never equals Top 2024-03-16 08:04:40 -08:00
Tig
f9332fd8d5 Merge pull request #3327 from BDisp/v2_menu-mouse-fix_3326
Fixes #3326. Menu is responding even outside the limits, not moving to the view that has the mouse.
2024-03-16 07:37:03 -08:00
BDisp
2b3a67c7a9 Fix typo. 2024-03-14 23:02:23 +00:00
BDisp
534ab2a631 Fixes #3326. Menu is responding even outside the limits, not moving to the view that has the mouse. 2024-03-14 22:42:21 +00:00
Tig
a5b1d6836e Merge pull request #3295 from tig/v2_3273_FOUND_finddeepestview
Fixes #3273 (Again).  Updates `FindDeepestView` etc... to finish `Adornment`
2024-03-13 20:34:29 -08:00
Tig
df4f479ce6 Fixed drag bug; added mouse unit tests 2024-03-13 20:24:46 -08:00
Tig
f9b3959637 Fixed drag bug 2024-03-11 17:35:24 -08:00
Tig
2057cb47d5 Simplified FrameToScreen 2024-03-11 12:12:35 -08:00
Tig
ebb33bf9fc Simplified ScreenToFrame 2024-03-11 12:09:25 -08:00
Tig
11c1be60b9 Simplified View.CrateAdornments; removed reflection 2024-03-11 11:57:24 -08:00
Tig
d630612864 Simplified and renamed GetLocationThatFits 2024-03-11 11:39:51 -08:00
Tig
52b464f305 Simplified and renamed GetLocationThatFits 2024-03-11 11:39:22 -08:00
Tig
a094d02c8b Simplified and renamed GetLocationThatFits 2024-03-11 11:39:08 -08:00
Tig
591434054c Simplified and renamed GetLocationThatFits 2024-03-11 11:38:44 -08:00
Tig
064262bed6 Simplified and made FindDeepestView more efficient 2024-03-11 11:10:17 -08:00
Tig
63405dfd7d Code Cleanup 2024-03-11 08:13:39 -08:00
Tig
e40ef4b52b Merge branch 'v2_3273_FOUND_finddeepestview' of tig:tig/Terminal.Gui into v2_3273_FOUND_finddeepestview 2024-03-11 07:48:02 -08:00
Tig
80d8e87639 Removed debug spew. 2024-03-11 07:46:04 -08:00
Tig
919f8e5991 Merge branch 'v2_develop' into v2_3273_FOUND_finddeepestview 2024-03-10 10:56:14 -06:00
Tig
e4e3ffeafd Merge pull request #3311 from tig/v2_3310-OnMouseClick-CanSetFocus 2024-03-10 10:52:54 -06:00
Tig
61a356bffc Merge branch 'v2_develop' into v2_3273_FOUND_finddeepestview 2024-03-10 10:13:12 -06:00
Tig
ce89aaf961 Merge branch 'v2_develop' into v2_3310-OnMouseClick-CanSetFocus 2024-03-10 09:34:01 -06:00
Tig
a46bf922bd Merge pull request #3305 from tig/v2_3304-diagnosticflags
Fixes #3304. Refactored `ConsoleDriver.Diagnostics`
2024-03-10 09:33:36 -06:00
Tig
fcfef158df Merge pull request #3307 from tig/v2-updatenuget
v2 - Updates nuget packages
2024-03-10 09:33:20 -06:00
Tig
e1036ed867 Merge pull request #3309 from tig/v2_3306-FileLayoutAdustments
Fixes #3308. Tweaks R# settings to not re-order on file layout
2024-03-10 09:33:09 -06:00
Tig
0649cd2149 Adds CanFocus/SetFocus test 2024-03-10 07:32:42 -08:00
Tig
7d6d5280f1 Adds CanFocus/SetFocus test 2024-03-10 07:30:42 -08:00
Tig
dabb8df0ac Adds Label mouse click test 2024-03-10 07:16:41 -08:00
Tig
348c0dc199 View.OnMouseClick now Can/Setfocus.
Label now uses Command.HotKey on MouseClick
2024-03-10 07:09:56 -08:00
Tig
6a60b195de Reverted file changes. 2024-03-10 06:40:04 -08:00
Tig
667912a610 Fixed a buinch of bugs. Updated unit tests including some that test all views to utilize TheoryData 2024-03-09 09:00:13 -09:00
Tig
796e797586 Disabled line-based border POC and prototype close button 2024-03-09 08:47:59 -07:00
Tig
8f10195342 Line based Border POC 2024-03-09 00:44:05 -07:00
Tig
6d0d2abaf5 updated Line 2024-03-08 23:59:50 -07:00
Tig
7119ee74ff Adornment w/ subview unit tests 2024-03-08 23:50:49 -07:00
Tig
e8c851631f Ensured adornments layout 2024-03-08 23:25:14 -07:00
Tig
f2df778be9 Renamed method 2024-03-08 20:28:30 -07:00