aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Input/MouseEventArgs.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-15 14:58:36 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-15 14:58:36 +0100
commitc1b29a565bdbf37fd88d268588710ce8f4f84d5b (patch)
tree37ec254f01bb8d2bad971c137fa787ca76a194d1 /src/Input/MouseEventArgs.cs
parent0efa7446134489edd303b349ae1220f1c4228e9a (diff)
CrowIDE WIP, context commands, tooltips, PointIsIn(ref point), configuration no longer static.
also: - remove default null value for datasource - dschange sender changed in group and privateContainer - try closing menuItem, should debug - Contains search also template in TemplatedContainer - change in nodeAddress: expresion starting with '/' means current node - MouseEventArgs CTOR with one source button - RemoveWidget trigger check HoverWidget - Orientation binding in Menu template
Diffstat (limited to 'src/Input/MouseEventArgs.cs')
-rw-r--r--src/Input/MouseEventArgs.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Input/MouseEventArgs.cs b/src/Input/MouseEventArgs.cs
index e1f7ae2a..cf883f13 100644
--- a/src/Input/MouseEventArgs.cs
+++ b/src/Input/MouseEventArgs.cs
@@ -257,6 +257,12 @@ namespace Crow
this.IsPressed = pressed;
}
+ public MouseButtonEventArgs(MouseButton button)
+ : base()
+ {
+ this.button = button;
+ }
+
/// <summary>
/// Constructs a new <see cref="MouseButtonEventArgs"/> instance.
/// </summary>