From: Jean-Philippe Bruyère Date: Thu, 8 Aug 2019 14:16:03 +0000 (+0200) Subject: mouse handling uniformisationn Handled property in eventHandler, xcb cursor, mouseCur... X-Git-Tag: v0.9.5-beta~137^2~17 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=351fcf0e73381f5dfba14185f1aaea592f9283c4;p=jp%2Fcrow.git mouse handling uniformisationn Handled property in eventHandler, xcb cursor, mouseCursor property in Widget, ... --- 351fcf0e73381f5dfba14185f1aaea592f9283c4 diff --cc Crow/Crow.csproj index 8bad25f6,8bad25f6..7a133093 --- a/Crow/Crow.csproj +++ b/Crow/Crow.csproj @@@ -33,7 -33,7 +33,7 @@@ full -- TRACE;DEBUG;DESIGN_MODE;_DEBUG_CLIP_RECTANGLE;NETFRAMEWORK;NET471 ++ TRACE;DESIGN_MODE;_DEBUG_CLIP_RECTANGLE;_DEBUG_FOCUS;_DEBUG_DRAGNDROP;DEBUG;NETFRAMEWORK;NET471 true diff --cc Crow/Default.style index 1e017ce6,5343c09f..4a03e706 --- a/Crow/Default.style +++ b/Crow/Default.style @@@ -27,7 -27,7 +27,6 @@@ Icon Width = "12"; Height = "12"; } -- Wrapper { Orientation = "Vertical"; } @@@ -38,7 -38,7 +37,15 @@@ Button Label { Height = "Fit"; Width = "Fit"; -- Margin = "0"; ++ Margin = "0"; ++} ++TextBox { ++ Background = "White"; ++ Foreground = "Black"; ++ Selectable = "True"; ++ Text = "TextBox"; ++ Margin = "1"; ++ MouseCursor = "IBeam"; } Menu { Margin = "1"; @@@ -96,13 -96,13 +103,6 @@@ TabItem //MouseLeave = "{Foreground=LightGrey;Background=Jet;}"; AllowDrag = "true"; } --TextBox { -- Background = "White"; -- Foreground = "Black"; -- Selectable = "True"; -- Text = "TextBox"; -- Margin = "1"; --} Window { Caption = "Window"; Focusable = "true"; diff --cc Crow/Templates/MenuItem.template index f6f9a9ac,ae31c862..b619a8b1 --- a/Crow/Templates/MenuItem.template +++ b/Crow/Templates/MenuItem.template @@@ -1,6 -1,7 +1,6 @@@  -