From: Jean-Philippe Bruyère Date: Mon, 12 Jul 2021 06:45:51 +0000 (+0200) Subject: replace FastEnum with Enums.NET for flags handling, Bubbling event as Flag, requiredL... X-Git-Tag: v0.9.5-beta~10 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=5c91d515f8e05171ff94323c49831f080a11adec;p=jp%2Fcrow.git replace FastEnum with Enums.NET for flags handling, Bubbling event as Flag, requiredLayouting, MAXLAYOUTINGTRY=>30 --- diff --git a/Crow.sln b/Crow.sln index 7db03c15..0e50f247 100644 --- a/Crow.sln +++ b/Crow.sln @@ -10,8 +10,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "global", "global", "{728545 EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Crow", "Crow\Crow.csproj", "{C2980F9B-4798-4C05-99E2-E174810F7C7B}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CrowDbgShared", "CrowDbgShared\CrowDbgShared.csproj", "{91F1CE07-EECE-4F1D-A3EE-7239B563654A}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{B2C7855A-2878-47FD-AD32-9A83DB4AB8C6}" ProjectSection(SolutionItems) = preProject Samples\Directory.Build.props = Samples\Directory.Build.props @@ -57,8 +55,6 @@ Global {56329D48-D382-4850-93DE-59C453894E8A}.Debug|Any CPU.Build.0 = Debug|Any CPU {56329D48-D382-4850-93DE-59C453894E8A}.Release|Any CPU.ActiveCfg = Release|Any CPU {56329D48-D382-4850-93DE-59C453894E8A}.Release|Any CPU.Build.0 = Release|Any CPU - {91F1CE07-EECE-4F1D-A3EE-7239B563654A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {91F1CE07-EECE-4F1D-A3EE-7239B563654A}.Release|Any CPU.ActiveCfg = Release|Any CPU {0CC6DFAB-2E4A-4786-976C-89053D5EA6A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0CC6DFAB-2E4A-4786-976C-89053D5EA6A2}.Debug|Any CPU.Build.0 = Debug|Any CPU {0CC6DFAB-2E4A-4786-976C-89053D5EA6A2}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/Crow/Crow.csproj b/Crow/Crow.csproj index d5d50114..972e22f1 100644 --- a/Crow/Crow.csproj +++ b/Crow/Crow.csproj @@ -39,7 +39,8 @@ - + + diff --git a/Crow/Default.style b/Crow/Default.style index 5c88c062..80131bce 100644 --- a/Crow/Default.style +++ b/Crow/Default.style @@ -134,6 +134,7 @@ MessageBox { //MinimumSize = "200,120"; AlwaysOnTop = "true"; Resizable = "false"; + AllowedStates = "Normal"; } Slider { Foreground = "Grey"; @@ -166,12 +167,15 @@ WindowIconBorder { Foreground="Transparent"; Height="12"; Width="12"; - MouseEnter="{Foreground=White}"; + MouseEnter="{Foreground=Grey}"; MouseLeave="{Foreground=Transparent}"; + MouseDown="{Background=${ControlHighlight}}"; + MouseUp="{Background=Transparent}"; } ToolWindow { Caption = "Window"; Template = "#Crow.ToolWindow.template"; + AllowedStates = "Normal"; Focusable = "true"; MinimumSize="50,50"; Width = "150"; @@ -183,7 +187,8 @@ DockStack { AllowDrop = "true"; AllowedDropTypes = "Crow.DockWindow"; } -DockWindow { +DockWindow { + AllowedStates = "Normal"; Focusable = "true"; AllowDrag = "true"; AllowDrop="true"; @@ -321,8 +326,9 @@ MessageBox, Popper, Slider, Spinner, TextBox, NumericControl { Background = "${ControlBackground}"; CornerRadius = "${ControlCornerRadius}"; Margin="0"; - BubbleMouseEvent="false"; + BubbleMouseEvent="MouseWheel|Keyboard"; } -TemplatedControl, GenericStack { - CacheEnabled="true"; -} \ No newline at end of file + +//TemplatedControl, GenericStack { +// CacheEnabled="true"; +//} \ No newline at end of file diff --git a/Crow/Icons/pin.svg b/Crow/Icons/pin.svg new file mode 100644 index 00000000..b36340b8 --- /dev/null +++ b/Crow/Icons/pin.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Crow/Icons/unpin.svg b/Crow/Icons/unpin.svg new file mode 100644 index 00000000..8396017f --- /dev/null +++ b/Crow/Icons/unpin.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/Crow/Templates/DirectoryView.template b/Crow/Templates/DirectoryView.template index 98094c90..7a157bdd 100644 --- a/Crow/Templates/DirectoryView.template +++ b/Crow/Templates/DirectoryView.template @@ -15,7 +15,7 @@ - +