Commit Graph

437 Commits

Author SHA1 Message Date
Charlie Kindel
2abb20ec8a merge 2020-05-29 17:48:22 -06:00
Charlie Kindel
1024f073b2 Fixing many clipping issues (#580)
* almost got clip rect working

* fixes many bugs related to clipping incl #399

* Merge tweaks.
2020-05-29 17:41:49 -06:00
Charlie Kindel
2e6d5ed02d almost got clip rect working 2020-05-29 08:15:37 -06:00
Charlie Kindel
7c911ca830 Fix #522 - Last view of FrameView not drawn (#575)
* PoC

* PoC progress

* progress

* Fixed #522 - updated sample

* reverted untested PR

* reverted untested PR

* backed out more PRs that weren't ready
2020-05-28 16:29:35 -06:00
Charlie Kindel
bdf50eb84c Merge pull request #563 from BDisp/background-drawing
Fixes #562 background drawing issue.
2020-05-28 09:15:47 -06:00
BDisp
fc7e8255a2 Placing in the right place in the Core folder. 2020-05-28 14:09:53 +01:00
BDisp
849a5dab18 Fixed changes in the correct place. 2020-05-28 14:03:45 +01:00
BDisp
4194319a7c Fixed to CamelCase. 2020-05-28 14:02:35 +01:00
BDisp
608ab1c0c6 Focus and mouse events handlers enhanced. Closes #517 2020-05-28 14:02:20 +01:00
Charlie Kindel
6144c9da66 added contribution guidelines, project layout docs, etc... 2020-05-28 06:08:49 -06:00
Charlie Kindel
da02d63281 more merging 2020-05-27 19:25:33 -06:00
Charlie Kindel
9abe84125d merged docs 2020-05-27 19:23:18 -06:00
Charlie Kindel
a1055c643f moved PosDim to Core 2020-05-27 17:29:20 -06:00
Charlie Kindel
1ac4ce3d0d moved Dialogs to Windows 2020-05-27 17:28:32 -06:00
Charlie Kindel
532285db8d Moved NetDriver's IMainLoopDriver impl to NetDriver.cs 2020-05-27 17:24:08 -06:00
Charlie Kindel
140bb276ee moved mainloop out of CursesDriver 2020-05-27 17:10:36 -06:00
Charlie Kindel
e9882531fe renamed Drivers to ConsoleDrivers 2020-05-27 16:51:05 -06:00
Charlie Kindel
05c9ec7e2f Merge pull request #555 from BDisp/curses-resize-color
Fixed resizing update and correct the Toplevel colors without colors.
2020-05-27 11:40:40 -06:00
Charlie Kindel
353baf7dc2 Merge pull request #553 from BDisp/driver-shutdown
Fixes #515, #518 and #536.
2020-05-27 11:39:42 -06:00
BDisp
67f25189fd Fixed resizing update and correct the Toplevel colors without colors. 2020-05-27 17:40:16 +01:00
Charlie Kindel
ebfd7112a6 merged latest master 2020-05-27 09:22:42 -06:00
BDisp
d629d5b51b Fixes #515, #518 and #536. 2020-05-27 15:59:28 +01:00
Charlie Kindel
fe340deed8 final fixes 2020-05-26 23:08:01 -06:00
Charlie Kindel
c84bdd09b2 defended against -1 vsize 2020-05-26 22:59:53 -06:00
Charlie Kindel
9b106b44a9 removed diagnostics 2020-05-26 22:38:47 -06:00
Charlie Kindel
fe624dcbd5 new 'DrawFrame' impl 2020-05-26 22:33:27 -06:00
Charlie Kindel
a1efbb8ed3 merge from master 2020-05-25 23:41:49 -06:00
BDisp
c4588b3a97 Added keyDownHandler to Unix 2020-05-25 22:51:34 +01:00
Charlie Kindel
fc765d65f9 Merge pull request #540 from tig/progress_invoke_fix
Expanded Progress demo
2020-05-25 12:50:55 -06:00
Charlie Kindel
fc1ed282a3 updated to really show stuff off 2020-05-25 12:40:46 -06:00
BDisp
a7384fbf03 No needed call the Wakeup now. 2020-05-25 18:50:15 +01:00
BDisp
997a7c31b5 Fixes #540 2020-05-25 17:34:35 +01:00
Charlie Kindel
a1e88285a7 updated docs to match 2020-05-24 23:01:01 -06:00
Charlie Kindel
a3515187b3 merged 2020-05-24 22:28:40 -06:00
Charlie Kindel
4d7ae9d2f2 refactored per #541 2020-05-24 22:23:35 -06:00
Charlie Kindel
55af2f7584 Merge pull request #534 from BDisp/use-system-console
I just raised NetDriver up. I don't know if it's worth it.
2020-05-24 22:22:07 -06:00
Charlie Kindel
63b464caae more 2020-05-24 20:40:24 -06:00
Charlie Kindel
040422b71d refactored core.cs to see how it feels 2020-05-24 19:52:28 -06:00
Charlie Kindel
fd2feb15fa Merge branch 'master' into progress_invoke_fix 2020-05-24 19:18:45 -06:00
Charlie Kindel
06383a4742 added two demos 2020-05-24 19:18:28 -06:00
Fabian R
649d9e1a38 Merge branch 'upstream/master_origin' into menubaritem_refactor 2020-05-24 17:41:30 -05:00
BDisp
f1c6218ad6 Added a Key.Tab to Unix. Fixes https://github.com/migueldeicaza/gui.cs/issues/531#issuecomment-633238032 2020-05-24 16:00:52 +01:00
BDisp
f7e9ccc766 Added F11 and F12 keys #220. Changed keyDownHandler to before keyHandler. 2020-05-24 14:04:58 +01:00
Fabian R
46b4c9025b Improved View Key event handling
+ Added Handled property of type bool to the KeyEventEventArgs class.
+ Added ability to stop further propagation for already handled events on Views for Keyboard related event subscribers (like KeyDown, KeyUp and KeyPress). The driver will check the Handled property of the KeyEventEventArgs passed to the subscribers and will stop any further invocations when its found true.
+ Updated Example project to expose the ability to programatically Open/Close a MenuBar from custom keystrokes.

This commit fixes an issue where the library would crash if the Subviews collection of the currently active View gets updated from inside any of the Keyboard event handlers, such as when the view is updated as a result of a custom Hotkey/Coldkey press.
2020-05-24 06:36:42 -05:00
BDisp
b0ed406f5b I just raised NetDriver up. I don't know if it's worth it. 2020-05-24 10:34:40 +01:00
Fabian R
262830aa43 Merge branch 'menubaritem_refactor' of https://github.com/KDERazorback/gui.cs into menubaritem_refactor 2020-05-24 01:31:39 -05:00
Charlie Kindel
635f7fddcd Merge pull request #523 from tig/shutdown_cleanup
Shutdown cleanup
2020-05-23 20:34:36 -06:00
Charlie Kindel
f3bfa47c38 Merge branch 'master' into docs 2020-05-23 19:46:12 -06:00
Charlie Kindel
3fc96f2906 Merge pull request #525 from KDERazorback/master
Edge case handling and Quality-of-life improvements on Core, ListView and MenuBar
2020-05-23 19:45:45 -06:00
Charlie Kindel
f4b26fa245 Merge pull request #524 from BDisp/date-time-field-read-only
Patch to bypass a wrong invalid date with DateTime.
2020-05-23 19:40:24 -06:00