Commit Graph

743 Commits

Author SHA1 Message Date
Charlie Kindel
3d984fae1a updated README 2020-05-20 15:23:21 -06:00
Charlie Kindel
5e4a13b24b UI catalog (#387)
* key down/up support

* line endings?

* line endings

* KeyDown/Up support

* line endings

* line endings

* Revert "Drop NuGet restore"

This reverts commit 5c7a0d05f0.

* Revert "Revert "Drop NuGet restore""

This reverts commit 2dc5fce865.

* updated demo

* defined styles

* Smarter StatusBar bottom tracking.

* Prepping for https://github.com/migueldeicaza/gui.cs/issues/376

* Oops.

* Fixed StatusBar 'snap to bottom'

* line endings

* Revert "Fixed StatusBar 'snap to bottom'"

This reverts commit 9a91c957e2.

* started UICatalog project

* Initial working POC.

* Fix newlines

* merge

* textalignment demo tweaks

* textalignment demo tweaks

* Unicode Menu Scenario

* not sure why this keeps changing

* re-added project to .sln file

* re-enabled status bar

* moved scenarios to dir

* building a dim and pos demo

* terminal.sln

* progress...barely

* fixed exit

* progress with some underlying fixes to Label

* added readme

* fixes build issue

* launch

* made default colors readable on Windows

* major UI Catalog upgrade

* added more demos and updated readme

* refactored and added more tests

* added ref to Issue #437

* added OnKeyUp support to Curses and Net drivers

* more tweaks - grab PR #438 first

* Added a OpenSelectedItem event to the ListView #429

* updates

* moved KeyUpHandler out of special ESC stuff

* more tweaks & improvements

* testing top window bug

* supported OpenSelectedItem

* lots of updates

* fixed regression, fixed #444

* better button scenario

* tweaks

* add Ready event to Toplevel

* dotfx .gitignroe

* ready for ready

* updated colors based on feedback; consolodated config code

* tweaked readme

* readme

* Added Editor demonstrating TextView

* Added Editor demonstrating TextView

* added hexeditor scenario

Co-authored-by: Miguel de Icaza <miguel@gnome.org>
Co-authored-by: BDisp <bd.bdisp@gmail.com>
2020-05-20 22:17:27 +01:00
BDisp
4339f6bf18 Forces conversion to long date format even if CultureInfo.CurrentCulture doesn't have it. (#431) 2020-05-20 22:17:26 +01:00
BDisp
8f8a771c8f Prevents mouse all events, which perform any of the mouse events, to be invoked if mouseEvent.ButtonState == 0 && mouseEvent.EventFlags == 0. (#453)
* Prevents mouse all events, which perform any of the mouse events, to be invoked if mouseEvent.ButtonState == 0 && mouseEvent.EventFlags == 0.

* Prevents another View under the menu from being triggered after the button is pressed in the menu.
2020-05-20 22:17:26 +01:00
Charlie Kindel
f3a50a4b57 Add Toplevel.Ready event (#446)
* add Ready event to Toplevel
2020-05-20 22:17:26 +01:00
Charlie Kindel
36cebd0889 Fixes All Warnings (#450)
* Revert "Drop NuGet restore"

This reverts commit 5c7a0d05f0.

* Revert "Revert "Drop NuGet restore""

This reverts commit 2dc5fce865.

* terminal.sln

* there. That wasn't so hard

* fixed some cases where <inheritdoc/> should have been used

* fixed some cases where <inheritdoc/> should have been used
2020-05-20 22:17:25 +01:00
Charlie Kindel
8afb0db831 UI catalog (#387)
* key down/up support

* line endings?

* line endings

* KeyDown/Up support

* line endings

* line endings

* Revert "Drop NuGet restore"

This reverts commit 5c7a0d05f0.

* Revert "Revert "Drop NuGet restore""

This reverts commit 2dc5fce865.

* updated demo

* defined styles

* Smarter StatusBar bottom tracking.

* Prepping for https://github.com/migueldeicaza/gui.cs/issues/376

* Oops.

* Fixed StatusBar 'snap to bottom'

* line endings

* Revert "Fixed StatusBar 'snap to bottom'"

This reverts commit 9a91c957e2.

* started UICatalog project

* Initial working POC.

* Fix newlines

* merge

* textalignment demo tweaks

* textalignment demo tweaks

* Unicode Menu Scenario

* not sure why this keeps changing

* re-added project to .sln file

* re-enabled status bar

* moved scenarios to dir

* building a dim and pos demo

* terminal.sln

* progress...barely

* fixed exit

* progress with some underlying fixes to Label

* added readme

* fixes build issue

* launch

* made default colors readable on Windows

* major UI Catalog upgrade

* added more demos and updated readme

* refactored and added more tests

* added ref to Issue #437

* added OnKeyUp support to Curses and Net drivers

* more tweaks - grab PR #438 first

* Added a OpenSelectedItem event to the ListView #429

* updates

* moved KeyUpHandler out of special ESC stuff

* more tweaks & improvements

* testing top window bug

* supported OpenSelectedItem

* lots of updates

* fixed regression, fixed #444

* better button scenario

* tweaks

* add Ready event to Toplevel

* dotfx .gitignroe

* ready for ready

* updated colors based on feedback; consolodated config code

* tweaked readme

* readme

* Added Editor demonstrating TextView

* Added Editor demonstrating TextView

* added hexeditor scenario

Co-authored-by: Miguel de Icaza <miguel@gnome.org>
Co-authored-by: BDisp <bd.bdisp@gmail.com>
2020-05-20 21:58:56 +01:00
BDisp
a89a50b44f Forces conversion to long date format even if CultureInfo.CurrentCulture doesn't have it. (#431) 2020-05-20 21:58:56 +01:00
BDisp
a7bfb599d2 Prevents mouse all events, which perform any of the mouse events, to be invoked if mouseEvent.ButtonState == 0 && mouseEvent.EventFlags == 0. (#453)
* Prevents mouse all events, which perform any of the mouse events, to be invoked if mouseEvent.ButtonState == 0 && mouseEvent.EventFlags == 0.

* Prevents another View under the menu from being triggered after the button is pressed in the menu.
2020-05-20 21:58:54 +01:00
BDisp
48aa8c79d4 Updates screen on Unix window resizing. (#419)
* Updates screen on Unix window resizing.
2020-05-20 21:58:54 +01:00
Charlie Kindel
ebccd54157 Add Toplevel.Ready event (#446)
* add Ready event to Toplevel
2020-05-20 21:58:53 +01:00
Charlie Kindel
4dd19aa7c2 Fixes All Warnings (#450)
* Revert "Drop NuGet restore"

This reverts commit 5c7a0d05f0.

* Revert "Revert "Drop NuGet restore""

This reverts commit 2dc5fce865.

* terminal.sln

* there. That wasn't so hard

* fixed some cases where <inheritdoc/> should have been used

* fixed some cases where <inheritdoc/> should have been used
2020-05-20 21:58:53 +01:00
Charlie Kindel
c99a5a45e8 UI catalog (#387)
* key down/up support

* line endings?

* line endings

* KeyDown/Up support

* line endings

* line endings

* Revert "Drop NuGet restore"

This reverts commit 5c7a0d05f0.

* Revert "Revert "Drop NuGet restore""

This reverts commit 2dc5fce865.

* updated demo

* defined styles

* Smarter StatusBar bottom tracking.

* Prepping for https://github.com/migueldeicaza/gui.cs/issues/376

* Oops.

* Fixed StatusBar 'snap to bottom'

* line endings

* Revert "Fixed StatusBar 'snap to bottom'"

This reverts commit 9a91c957e2.

* started UICatalog project

* Initial working POC.

* Fix newlines

* merge

* textalignment demo tweaks

* textalignment demo tweaks

* Unicode Menu Scenario

* not sure why this keeps changing

* re-added project to .sln file

* re-enabled status bar

* moved scenarios to dir

* building a dim and pos demo

* terminal.sln

* progress...barely

* fixed exit

* progress with some underlying fixes to Label

* added readme

* fixes build issue

* launch

* made default colors readable on Windows

* major UI Catalog upgrade

* added more demos and updated readme

* refactored and added more tests

* added ref to Issue #437

* added OnKeyUp support to Curses and Net drivers

* more tweaks - grab PR #438 first

* Added a OpenSelectedItem event to the ListView #429

* updates

* moved KeyUpHandler out of special ESC stuff

* more tweaks & improvements

* testing top window bug

* supported OpenSelectedItem

* lots of updates

* fixed regression, fixed #444

* better button scenario

* tweaks

* add Ready event to Toplevel

* dotfx .gitignroe

* ready for ready

* updated colors based on feedback; consolodated config code

* tweaked readme

* readme

* Added Editor demonstrating TextView

* Added Editor demonstrating TextView

* added hexeditor scenario

Co-authored-by: Miguel de Icaza <miguel@gnome.org>
Co-authored-by: BDisp <bd.bdisp@gmail.com>
2020-05-20 21:54:27 +01:00
BDisp
d1bb830616 Forces conversion to long date format even if CultureInfo.CurrentCulture doesn't have it. (#431) 2020-05-20 21:54:27 +01:00
BDisp
04c66b2acd Prevents mouse all events, which perform any of the mouse events, to be invoked if mouseEvent.ButtonState == 0 && mouseEvent.EventFlags == 0. (#453)
* Prevents mouse all events, which perform any of the mouse events, to be invoked if mouseEvent.ButtonState == 0 && mouseEvent.EventFlags == 0.

* Prevents another View under the menu from being triggered after the button is pressed in the menu.
2020-05-20 21:54:26 +01:00
BDisp
5f80fa6f22 Updates screen on Unix window resizing. (#419)
* Updates screen on Unix window resizing.
2020-05-20 21:54:24 +01:00
Charlie Kindel
4bb09aff19 Add Toplevel.Ready event (#446)
* add Ready event to Toplevel
2020-05-20 21:54:24 +01:00
Charlie Kindel
7e0c725454 Fixes All Warnings (#450)
* Revert "Drop NuGet restore"

This reverts commit 5c7a0d05f0.

* Revert "Revert "Drop NuGet restore""

This reverts commit 2dc5fce865.

* terminal.sln

* there. That wasn't so hard

* fixed some cases where <inheritdoc/> should have been used

* fixed some cases where <inheritdoc/> should have been used
2020-05-20 21:54:23 +01:00
Charlie Kindel
3d1b841efd UI catalog (#387)
* key down/up support

* line endings?

* line endings

* KeyDown/Up support

* line endings

* line endings

* Revert "Drop NuGet restore"

This reverts commit 5c7a0d05f0.

* Revert "Revert "Drop NuGet restore""

This reverts commit 2dc5fce865.

* updated demo

* defined styles

* Smarter StatusBar bottom tracking.

* Prepping for https://github.com/migueldeicaza/gui.cs/issues/376

* Oops.

* Fixed StatusBar 'snap to bottom'

* line endings

* Revert "Fixed StatusBar 'snap to bottom'"

This reverts commit 9a91c957e2.

* started UICatalog project

* Initial working POC.

* Fix newlines

* merge

* textalignment demo tweaks

* textalignment demo tweaks

* Unicode Menu Scenario

* not sure why this keeps changing

* re-added project to .sln file

* re-enabled status bar

* moved scenarios to dir

* building a dim and pos demo

* terminal.sln

* progress...barely

* fixed exit

* progress with some underlying fixes to Label

* added readme

* fixes build issue

* launch

* made default colors readable on Windows

* major UI Catalog upgrade

* added more demos and updated readme

* refactored and added more tests

* added ref to Issue #437

* added OnKeyUp support to Curses and Net drivers

* more tweaks - grab PR #438 first

* Added a OpenSelectedItem event to the ListView #429

* updates

* moved KeyUpHandler out of special ESC stuff

* more tweaks & improvements

* testing top window bug

* supported OpenSelectedItem

* lots of updates

* fixed regression, fixed #444

* better button scenario

* tweaks

* add Ready event to Toplevel

* dotfx .gitignroe

* ready for ready

* updated colors based on feedback; consolodated config code

* tweaked readme

* readme

* Added Editor demonstrating TextView

* Added Editor demonstrating TextView

* added hexeditor scenario

Co-authored-by: Miguel de Icaza <miguel@gnome.org>
Co-authored-by: BDisp <bd.bdisp@gmail.com>
2020-05-20 21:51:13 +01:00
BDisp
3b0fa82873 Forces conversion to long date format even if CultureInfo.CurrentCulture doesn't have it. (#431) 2020-05-20 21:51:12 +01:00
BDisp
3b7db8b904 Prevents mouse all events, which perform any of the mouse events, to be invoked if mouseEvent.ButtonState == 0 && mouseEvent.EventFlags == 0. (#453)
* Prevents mouse all events, which perform any of the mouse events, to be invoked if mouseEvent.ButtonState == 0 && mouseEvent.EventFlags == 0.

* Prevents another View under the menu from being triggered after the button is pressed in the menu.
2020-05-20 21:51:12 +01:00
BDisp
4170612bce Updates screen on Unix window resizing. (#419)
* Updates screen on Unix window resizing.
2020-05-20 21:51:11 +01:00
Charlie Kindel
9f636dbee8 Add Toplevel.Ready event (#446)
* add Ready event to Toplevel
2020-05-20 21:51:11 +01:00
Charlie Kindel
cb624ce7b6 Fixes All Warnings (#450)
* Revert "Drop NuGet restore"

This reverts commit 5c7a0d05f0.

* Revert "Revert "Drop NuGet restore""

This reverts commit 2dc5fce865.

* terminal.sln

* there. That wasn't so hard

* fixed some cases where <inheritdoc/> should have been used

* fixed some cases where <inheritdoc/> should have been used
2020-05-20 21:51:10 +01:00
Charlie Kindel
d9d83067c5 Merge branch 'master' into refactor_onload_onresize 2020-05-20 13:35:16 -06:00
Charlie Kindel
95d05dae68 fixed merge issues and one bug 2020-05-20 13:34:31 -06:00
BDisp
824b4e6568 Revert "Changed to ControlU to undo and to ControlR to redo in the TextField."
This reverts commit ea9eab881c.
2020-05-20 20:06:14 +01:00
Charlie Kindel
faaf89e20f Merge branch 'master' of tig:migueldeicaza/gui.cs 2020-05-20 12:16:44 -06:00
BDisp
ea9eab881c Changed to ControlU to undo and to ControlR to redo in the TextField. 2020-05-20 18:43:15 +01:00
Charlie Kindel
b3b82dc79c Make Windows default colors readable - Fixes #427 (#428)
* made default colors readable on Windows

* updated colors based on feedback; consolodated config code
2020-05-20 13:39:50 -04:00
Charlie Kindel
5b845307a2 UI catalog (#387)
* key down/up support

* line endings?

* line endings

* KeyDown/Up support

* line endings

* line endings

* Revert "Drop NuGet restore"

This reverts commit 5c7a0d05f0.

* Revert "Revert "Drop NuGet restore""

This reverts commit 2dc5fce865.

* updated demo

* defined styles

* Smarter StatusBar bottom tracking.

* Prepping for https://github.com/migueldeicaza/gui.cs/issues/376

* Oops.

* Fixed StatusBar 'snap to bottom'

* line endings

* Revert "Fixed StatusBar 'snap to bottom'"

This reverts commit 9a91c957e2.

* started UICatalog project

* Initial working POC.

* Fix newlines

* merge

* textalignment demo tweaks

* textalignment demo tweaks

* Unicode Menu Scenario

* not sure why this keeps changing

* re-added project to .sln file

* re-enabled status bar

* moved scenarios to dir

* building a dim and pos demo

* terminal.sln

* progress...barely

* fixed exit

* progress with some underlying fixes to Label

* added readme

* fixes build issue

* launch

* made default colors readable on Windows

* major UI Catalog upgrade

* added more demos and updated readme

* refactored and added more tests

* added ref to Issue #437

* added OnKeyUp support to Curses and Net drivers

* more tweaks - grab PR #438 first

* Added a OpenSelectedItem event to the ListView #429

* updates

* moved KeyUpHandler out of special ESC stuff

* more tweaks & improvements

* testing top window bug

* supported OpenSelectedItem

* lots of updates

* fixed regression, fixed #444

* better button scenario

* tweaks

* add Ready event to Toplevel

* dotfx .gitignroe

* ready for ready

* updated colors based on feedback; consolodated config code

* tweaked readme

* readme

* Added Editor demonstrating TextView

* Added Editor demonstrating TextView

* added hexeditor scenario

Co-authored-by: Miguel de Icaza <miguel@gnome.org>
Co-authored-by: BDisp <bd.bdisp@gmail.com>
2020-05-20 13:37:12 -04:00
BDisp
658e023904 Forces conversion to long date format even if CultureInfo.CurrentCulture doesn't have it. (#431) 2020-05-20 13:36:41 -04:00
BDisp
88d6047c74 Prevents mouse all events, which perform any of the mouse events, to be invoked if mouseEvent.ButtonState == 0 && mouseEvent.EventFlags == 0. (#453)
* Prevents mouse all events, which perform any of the mouse events, to be invoked if mouseEvent.ButtonState == 0 && mouseEvent.EventFlags == 0.

* Prevents another View under the menu from being triggered after the button is pressed in the menu.
2020-05-20 13:36:27 -04:00
BDisp
e3acbf2d90 Updates screen on Unix window resizing. (#419)
* Updates screen on Unix window resizing.
2020-05-20 13:32:18 -04:00
Charlie Kindel
921a6a6170 Add Toplevel.Ready event (#446)
* add Ready event to Toplevel
2020-05-20 13:27:48 -04:00
Charlie Kindel
a5a1ecbd8e Fixes All Warnings (#450)
* Revert "Drop NuGet restore"

This reverts commit 5c7a0d05f0.

* Revert "Revert "Drop NuGet restore""

This reverts commit 2dc5fce865.

* terminal.sln

* there. That wasn't so hard

* fixed some cases where <inheritdoc/> should have been used

* fixed some cases where <inheritdoc/> should have been used
2020-05-20 13:26:56 -04:00
Ross Ferguson
250efb96cd Make sure view is at front when shown 2020-05-20 03:34:59 +01:00
Charlie Kindel
97c6181567 Seeing how github actions will work 2020-05-19 20:08:01 -06:00
BDisp
b1934453fa Added a CloseFile method to the TextView as stated in #452. 2020-05-20 00:30:01 +01:00
BDisp
054ea9a573 Prevents MenuBar redraw twice if there more than one Application.Top with MenuBar too. 2020-05-20 00:06:22 +01:00
Charlie Kindel
b3f8f3bb29 missed some renames 2020-05-19 00:04:14 -06:00
Charlie Kindel
dc87bc4e07 sorry. for. my. OCD. 2020-05-18 23:10:45 -06:00
Charlie Kindel
c7b4b3472a oops. left args off Resized 2020-05-18 23:08:40 -06:00
Charlie Kindel
2c5d09a521 Refactored onload/onresize events to use event vs. Action<T> 2020-05-18 23:00:54 -06:00
Charlie Kindel
ea813ce1e7 Refactored keydown/up/press events to use event vs. Action<T> 2020-05-18 22:42:04 -06:00
Ross Ferguson
2dc0204d54 Detect if view is hosted inside a Dialog 2020-05-19 01:54:58 +01:00
BDisp
a29ca06fc8 Added ReadOnly feature to the TextField. Fixed some bugs too. 2020-05-18 15:15:42 +01:00
Ross Ferguson
0e125968e9 Remove code checked-in by error 2020-05-18 07:15:22 +01:00
Ross Ferguson
2c33836719 TextFieldAutoComplete demo works cross-platform. Fix list clearing issue. 2020-05-18 06:42:23 +01:00
BDisp
eb37e776e8 Added mouse features in the Unix version. Supports xterm-1006. 2020-05-17 18:15:43 +01:00