From: Jean-Philippe Bruyère Date: Thu, 15 Feb 2018 13:58:36 +0000 (+0100) Subject: CrowIDE WIP, context commands, tooltips, PointIsIn(ref point), configuration no longe... X-Git-Tag: v0.9.5-beta~175 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=c1b29a565bdbf37fd88d268588710ce8f4f84d5b;p=jp%2Fcrow.git 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 --- diff --git a/Crow.csproj b/Crow.csproj index 4de640dd..a061ae54 100644 --- a/Crow.csproj +++ b/Crow.csproj @@ -30,7 +30,7 @@ true full true - DEBUG_UPDATE0;DEBUG_FOCUS0;DEBUG_LAYOUTING0;TRACE0;DEBUG;MEASURE_TIME;DEBUG_LOAD0;DEBUG_BINDING;DEBUG_CLIP_RECTANGLE0 + DEBUG_UPDATE0;DEBUG_FOCUS0;DEBUG_LAYOUTING0;TRACE0;DEBUG;MEASURE_TIME;DEBUG_LOAD0;DEBUG_BINDING0;DEBUG_CLIP_RECTANGLE0 false $(SolutionDir)build\Debug @@ -371,10 +371,18 @@ Crow.Tooltip.template + + Crow.ContextMenu.template + + + + PreserveNewest + + diff --git a/Default.style b/Default.style index 9a0f3f54..4eaabf4c 100644 --- a/Default.style +++ b/Default.style @@ -29,6 +29,7 @@ Menu { Height = Fit; Width = Stretched; VerticalAlignment = Top; + SelectionBackground = Transparent; } MenuItem { Caption = MenuItem; @@ -38,6 +39,7 @@ MenuItem { Foreground = LightGray; MouseEnter = {Background = vgradient|0:UnitedNationsBlue|1:Onyx;Foreground=White;} MouseLeave = {Foreground=LightGray;Background=Transparent;} + SelectionBackground = Transparent; } MessageBox { Background = 0.3,0.3,0.3,0.3; diff --git a/Icons/Icon_no.svg b/Icons/Icon_no.svg new file mode 100644 index 00000000..c7613fbc --- /dev/null +++ b/Icons/Icon_no.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Icons/compiler_error.svg b/Icons/compiler_error.svg new file mode 100644 index 00000000..1b505681 --- /dev/null +++ b/Icons/compiler_error.svg @@ -0,0 +1,13 @@ + + + + Layer 1 + + X + + + Layer 2 + + ! + + \ No newline at end of file diff --git a/Icons/compiler_warning.svg b/Icons/compiler_warning.svg new file mode 100644 index 00000000..9dac3772 --- /dev/null +++ b/Icons/compiler_warning.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + 3D effect warning triangle + 18/9/07 + + + Tim O'Ryan + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Icons/compiler_warning_orange.svg b/Icons/compiler_warning_orange.svg new file mode 100644 index 00000000..233437ff --- /dev/null +++ b/Icons/compiler_warning_orange.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + 3D effect warning triangle + 18/9/07 + + + Tim O'Ryan + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Icons/project.svg b/Icons/project.svg new file mode 100644 index 00000000..1f9a1f1b --- /dev/null +++ b/Icons/project.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/Icons/projectRef.svg b/Icons/projectRef.svg new file mode 100644 index 00000000..3ebd7b5f --- /dev/null +++ b/Icons/projectRef.svg @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/Icons/warning_construction.svg b/Icons/warning_construction.svg new file mode 100644 index 00000000..4c101ec0 --- /dev/null +++ b/Icons/warning_construction.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + 3D effect warning triangle + 18/9/07 + + + Tim O'Ryan + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Templates/ContextMenu.template b/Templates/ContextMenu.template new file mode 100644 index 00000000..3fb29552 --- /dev/null +++ b/Templates/ContextMenu.template @@ -0,0 +1,43 @@ + + + + + + + + + + diff --git a/Templates/Menu.template b/Templates/Menu.template index c560043c..99ae5545 100644 --- a/Templates/Menu.template +++ b/Templates/Menu.template @@ -1,2 +1,2 @@  - + diff --git a/Templates/MenuItem.template b/Templates/MenuItem.template index 0f93b20c..511c5265 100644 --- a/Templates/MenuItem.template +++ b/Templates/MenuItem.template @@ -13,7 +13,7 @@ Background="{./Background}">