Commit Graph

3908 Commits

Author SHA1 Message Date
BDisp
6396d92907 Merge branch 'v2_develop' into events-fix 2023-03-17 17:24:55 +00:00
BDisp
0448e53926 Fix changed event and reformat in UnitTests. 2023-03-17 17:12:46 +00:00
BDisp
d9ff0da007 Fix changed event and reformat in Scenarios. 2023-03-17 17:12:10 +00:00
BDisp
836d868057 Fix changed event and reformat in Views. 2023-03-17 17:11:16 +00:00
BDisp
663a92dd97 Reformatting. 2023-03-17 17:08:37 +00:00
BDisp
df3a012b77 Remove unnecessary partial statement. 2023-03-17 17:05:44 +00:00
BDisp
8385f3de13 Change MouseEventArgs to MouseEventEventArgs. 2023-03-17 17:04:34 +00:00
BDisp
5bdce08d49 Grouping Wizard events in WizardEventArgs.cs file. 2023-03-17 17:02:54 +00:00
BDisp
7e98e694a3 Grouping ListView events in ListViewEventArgs.cs file. 2023-03-17 17:01:19 +00:00
BDisp
9733ba6de3 Grouping HexView events in HexViewEventArgs.cs file. 2023-03-17 16:59:04 +00:00
BDisp
ebb898aa3e Grouping Menu events in MenuEventArgs.cs file. 2023-03-17 16:57:58 +00:00
BDisp
1154eebc75 Grouping Toplevel events in ToplevelEventArgs. 2023-03-17 16:55:14 +00:00
BDisp
3960ff4e7a Grouping views events in the ViewEventArgs.cs file. 2023-03-17 16:46:08 +00:00
BDisp
b949d78064 Detaching Added handler. 2023-03-17 10:16:09 -06:00
BDisp
330a0e8d2f Fixes#2404. Tabbing to MenuBar and open/close. 2023-03-17 10:16:09 -06:00
BDisp
69a1c6ebde Recovering GrabbingMouse and UnGrabbingMouse implementation. 2023-03-17 11:47:39 +00:00
BDisp
2d9c4dc65b Fix ScenarioTests unit test. 2023-03-17 11:32:38 +00:00
BDisp
846494ea7c Resolving merge conflicts. 2023-03-17 11:24:53 +00:00
Tig
c94f9165f4 Makes UI Catalog Scenarios use Theme and top-level color scheme (#2401)
* lots of clean up

* scenarios now get themes from uicatalog
2023-03-16 07:50:09 -06:00
tznind
7aae407efe Get rid of the EventArgs folder 2023-03-15 19:41:03 +00:00
tznind
fe2ed669c5 Merge branch 'events' of https://github.com/tznind/gui.cs into events 2023-03-15 19:35:29 +00:00
tznind
2ed71e284c Move all nested eventargs out of parent classes to root 2023-03-15 19:35:21 +00:00
Thomas Nind
8fedfdd616 Merge pull request #162 from BDisp/events-mouse-grab-fix
Fixes #2413. GrabMouse ungrab other view that was grabbed and still need it.
2023-03-14 09:09:42 +00:00
BDisp
82bf8f0546 Fixes https://github.com/gui-cs/Terminal.Gui/issues/2413. GrabMouse ungrab other view that was grabbed and still need it. 2023-03-13 21:41:33 +00:00
tznind
53597b7cec Add TextChangedEventArgs (correctly this time) 2023-03-12 19:20:14 +00:00
tznind
4b5fbfb89c Revert "Added TextChangedEventArgs"
This reverts commit fe2710ad2d.
2023-03-12 09:24:18 +00:00
tznind
7a52f45a10 Add PointEventArgs 2023-03-12 09:18:06 +00:00
tznind
50a299adea Made HistoryTextItem inherit from EventArgs 2023-03-12 09:14:15 +00:00
tznind
fe2710ad2d Added TextChangedEventArgs 2023-03-12 09:08:58 +00:00
tznind
6a33f142e0 Added MenuOpenedEventArgs class 2023-03-12 03:06:12 +00:00
tznind
e347a255b7 Add HexViewEditEventArgs 2023-03-12 02:54:46 +00:00
tznind
6f5ef32fb7 Switch event Action to event EventHandler 2023-03-12 02:47:18 +00:00
tznind
997bfe63a9 Added MouseFlagsChangedEventArgs 2023-03-12 02:44:39 +00:00
tznind
796e15a64d Added DrawEventArgs 2023-03-12 02:39:32 +00:00
tznind
09683a2cd5 Refactor more event Action to event EventHandler 2023-03-12 02:31:22 +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
17a33f3b11 Refactor Action<bool?> Toggled to EventHandler<ToggleEventArgs> 2023-03-11 19:26:00 +00:00
tznind
02825d89ba Added SuperViewChangedEventArgs for Added/Removed to clarify situation 2023-03-11 12:01:04 +00:00
tznind
1491e01d6a Fix xmldoc 2023-03-11 11:11:41 +00:00
tznind
9c4f3eda16 Update Added/Removed and other events to use `EventHandler 2023-03-11 11:05:20 +00:00
tznind
7764006932 Add ViewEventArgs 2023-03-11 10:49:47 +00:00
tznind
17e2d1d341 Refactor Action<Size> events to EventHandler<SizeChangedEventArgs> 2023-03-11 10:43:10 +00:00
tznind
5187310b9a Refactor 'AlternateKey' events in Toplevel to use new signature 2023-03-11 10:35:03 +00:00
tznind
bdcbd55856 Switch to EventHandler<ToplevelEventArgs> for
- Activate
- Deactivate
- ChildClosed
- Closed
- ChildLoaded
- ChildUnloaded
2023-03-11 10:18:39 +00:00
tznind
58c267fd7c Switch to EventHandler for TopLevel methods
- Loaded,
- Ready
- Unloaded
- AllChildClosed
2023-03-11 10:08:36 +00:00
tznind
a949b790ec Refactor HotKeyChanged event 2023-03-11 09:57:54 +00:00
tznind
83ed8ec958 AddTimeout now uses sender/event args 2023-03-11 09:14:33 +00:00
tznind
e7950433d8 Standardize on EventHandler 2023-03-11 09:02:33 +00:00