From: Jean-Philippe Bruyère Date: Wed, 20 May 2020 22:46:43 +0000 (+0200) Subject: styling and debugging X-Git-Tag: v0.9.5-beta~113^2~25 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=f1cda0b040c750e0fdfb5df35349aff6af163446;p=jp%2Fcrow.git styling and debugging --- diff --git a/Crow.sln b/Crow.sln index 0974d737..d8a144c8 100644 --- a/Crow.sln +++ b/Crow.sln @@ -1,27 +1,28 @@ - Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30104.148 +MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "global", "global", "{7285454A-930F-4536-AB84-C076B44C0C80}" ProjectSection(SolutionItems) = preProject Directory.Build.props = Directory.Build.props README.md = README.md EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Crow", "Crow\Crow.csproj", "{C2980F9B-4798-4C05-99E2-E174810F7C7B}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Crow", "Crow\Crow.csproj", "{C2980F9B-4798-4C05-99E2-E174810F7C7B}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{B2C7855A-2878-47FD-AD32-9A83DB4AB8C6}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelloWorld", "Samples\HelloWorld\HelloWorld.csproj", "{F535A8AB-CD93-49AB-B1B0-FFF9AE51ED6A}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HelloWorld", "Samples\HelloWorld\HelloWorld.csproj", "{F535A8AB-CD93-49AB-B1B0-FFF9AE51ED6A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShowCase", "Samples\ShowCase\ShowCase.csproj", "{56329D48-D382-4850-93DE-59C453894E8A}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ShowCase", "Samples\ShowCase\ShowCase.csproj", "{56329D48-D382-4850-93DE-59C453894E8A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ControlLib", "Samples\ControlLib\ControlLib.csproj", "{91F1CE07-EECE-4F1D-A3EE-7239B563654A}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ControlLib", "Samples\ControlLib\ControlLib.csproj", "{91F1CE07-EECE-4F1D-A3EE-7239B563654A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "unitTests", "unitTests\unitTests.csproj", "{0CC6DFAB-2E4A-4786-976C-89053D5EA6A2}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "unitTests", "unitTests\unitTests.csproj", "{0CC6DFAB-2E4A-4786-976C-89053D5EA6A2}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BasicTests", "Samples\BasicTests\BasicTests.csproj", "{7AEB6DD5-916E-4415-84E1-78EC6E5881CE}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BasicTests", "Samples\BasicTests\BasicTests.csproj", "{7AEB6DD5-916E-4415-84E1-78EC6E5881CE}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PerfTests", "PerfTests\PerfTests.csproj", "{18EBB41F-815E-4BF5-B80F-C9E2FAB2993A}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PerfTests", "PerfTests\PerfTests.csproj", "{18EBB41F-815E-4BF5-B80F-C9E2FAB2993A}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -34,18 +35,18 @@ Global {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Release|Any CPU.ActiveCfg = Release|Any CPU {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Release|Any CPU.Build.0 = Release|Any CPU {F535A8AB-CD93-49AB-B1B0-FFF9AE51ED6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F535A8AB-CD93-49AB-B1B0-FFF9AE51ED6A}.Release|Any CPU.ActiveCfg = Release|Any CPU {F535A8AB-CD93-49AB-B1B0-FFF9AE51ED6A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F535A8AB-CD93-49AB-B1B0-FFF9AE51ED6A}.Release|Any CPU.ActiveCfg = Release|Any CPU {F535A8AB-CD93-49AB-B1B0-FFF9AE51ED6A}.Release|Any CPU.Build.0 = Release|Any CPU {56329D48-D382-4850-93DE-59C453894E8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {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 - {56329D48-D382-4850-93DE-59C453894E8A}.Debug|Any CPU.Build.0 = Debug|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}.Release|Any CPU.ActiveCfg = Release|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 {0CC6DFAB-2E4A-4786-976C-89053D5EA6A2}.Release|Any CPU.Build.0 = Release|Any CPU {7AEB6DD5-916E-4415-84E1-78EC6E5881CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7AEB6DD5-916E-4415-84E1-78EC6E5881CE}.Debug|Any CPU.Build.0 = Debug|Any CPU @@ -56,6 +57,18 @@ Global {18EBB41F-815E-4BF5-B80F-C9E2FAB2993A}.Release|Any CPU.ActiveCfg = Release|Any CPU {18EBB41F-815E-4BF5-B80F-C9E2FAB2993A}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {F535A8AB-CD93-49AB-B1B0-FFF9AE51ED6A} = {B2C7855A-2878-47FD-AD32-9A83DB4AB8C6} + {56329D48-D382-4850-93DE-59C453894E8A} = {B2C7855A-2878-47FD-AD32-9A83DB4AB8C6} + {91F1CE07-EECE-4F1D-A3EE-7239B563654A} = {B2C7855A-2878-47FD-AD32-9A83DB4AB8C6} + {7AEB6DD5-916E-4415-84E1-78EC6E5881CE} = {B2C7855A-2878-47FD-AD32-9A83DB4AB8C6} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {00D4E149-7131-49F4-BAAD-559AA961A78E} + EndGlobalSection GlobalSection(MonoDevelopProperties) = preSolution Policies = $0 $0.StandardHeader = $1 @@ -94,10 +107,4 @@ Global description = @C.R.O.W. c# Rapid Open Widgets\n\nCrow is a pure c# widget toolkit with XML definition of interface, bindings, styling...\n version = 0.8.0 EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {F535A8AB-CD93-49AB-B1B0-FFF9AE51ED6A} = {B2C7855A-2878-47FD-AD32-9A83DB4AB8C6} - {56329D48-D382-4850-93DE-59C453894E8A} = {B2C7855A-2878-47FD-AD32-9A83DB4AB8C6} - {91F1CE07-EECE-4F1D-A3EE-7239B563654A} = {B2C7855A-2878-47FD-AD32-9A83DB4AB8C6} - {7AEB6DD5-916E-4415-84E1-78EC6E5881CE} = {B2C7855A-2878-47FD-AD32-9A83DB4AB8C6} - EndGlobalSection EndGlobal diff --git a/Crow/Crow.csproj b/Crow/Crow.csproj index f9881ede..2e1911d7 100644 --- a/Crow/Crow.csproj +++ b/Crow/Crow.csproj @@ -4,6 +4,7 @@ netstandard2.0 $(CrowVersion) + $(CrowVersion) $(CrowPackageVersion) C# Rapid Open Widget Toolkit @@ -11,33 +12,33 @@ MIT Jean-Philippe Bruyère https://github.com/jpbruyere/Crow - GUI Widget toolkit Interface C# .Net Mono + GUI Widget toolkit Interface C# Net False https://github.com/jpbruyere/Crow/wiki https://opensource.org/licenses/MIT crow.png - Copyright 2013-2019 + Copyright 2013-2020 - This release should solve most of ms dotnet exception, the win32 backend is - still untested. Next beta will have a glfw backend. + This release is a major step to finaly get a 1.0 version of crow. + A single glfw backend to handle os layers, and NetCore target for samples + to overcome CAS exceptions on windows. True true $(NoWarn);1591;1587;1570;1572;1573;1574 - DESIGN_MODE - DESIGN_MODE + _DESIGN_MODE false false full - DEBUG;TRACE;MEASURE_TIME;_DEBUG_DISPOSE;_DEBUG_BINDING;DESIGN_MODE;_DEBUG_CLIP_RECTANGLE;_DEBUG_FOCUS;DEBUG_DRAGNDROP;_DEBUG_LOG + DEBUG;TRACE;MEASURE_TIME;_DEBUG_DISPOSE;_DEBUG_BINDING;_DEBUG_CLIP_RECTANGLE;_DEBUG_FOCUS;DEBUG_DRAGNDROP;_DEBUG_LOG true - + @@ -58,21 +59,7 @@ Crow.Cursors.%(Filename) - - - - - diff --git a/Crow/Default.style b/Crow/Default.style index c031339e..6264dafe 100644 --- a/Crow/Default.style +++ b/Crow/Default.style @@ -12,15 +12,26 @@ Expandable { Caption = "Expandable"; } Popper { Caption = "Popper";} GroupBox { Caption = "Group Box"; } +Control { + Margin="0"; + Spacing="3"; +} ControlBorder { BorderWidth = "1"; Foreground = "DimGrey"; Background = "Transparent"; + CornerRadius = "0"; } ControlCaption { - Foreground = "Grey"; + Foreground = "LightGrey"; MouseEnter = "{Foreground=White}"; - MouseLeave = "{Foreground=Grey}"; + MouseLeave = "{Foreground=LightGrey}"; +} +ControlEditableText { + Foreground = "LightGrey"; + Background = "Transparent"; + MinimumSize = "80,10"; + Margin = "1"; } Icon { Margin = "1"; @@ -88,9 +99,7 @@ Splitter { Margin = "1"; Background = "Grey"; } -Spinner { - Foreground = "Grey"; -} + TabView { CacheEnabled = "false"; AllowDrop = "true"; @@ -163,10 +172,6 @@ ProgressBar { Scroller { CacheEnabled = "false"; } -Control { - Margin="0"; - Spacing="3"; -} SaturationValueSelector { Foreground="Red"; } @@ -198,14 +203,14 @@ ArrowBut { MouseRepeat="true"; Focusable="true"; - Foreground="Jet"; + Foreground="Grey"; Background="Transparent"; - MouseUp="{Background=Transparent}"; - MouseDown="{Background=Grey}"; + //MouseUp="{Background=Transparent}"; + //MouseDown="{Background=Grey}"; MouseEnter="{Foreground=CornflowerBlue}"; - MouseLeave="{Foreground=Jet}"; + MouseLeave="{Foreground=Grey}"; Margin="2"; KeepProportions="true"; @@ -215,7 +220,7 @@ ScrollBar { Maximum = "0"; Value = "0"; Foreground="Transparent"; - Background="DimGrey"; + Background="Onyx"; Width = "12"; CornerRadius = "0"; } diff --git a/Crow/Templates/ArrowBut.template b/Crow/Templates/ArrowBut.template index 2d3bb292..913245e6 100644 --- a/Crow/Templates/ArrowBut.template +++ b/Crow/Templates/ArrowBut.template @@ -1,8 +1,8 @@ diff --git a/Crow/Templates/CheckBox.template b/Crow/Templates/CheckBox.template index f24b50a7..795c293f 100644 --- a/Crow/Templates/CheckBox.template +++ b/Crow/Templates/CheckBox.template @@ -1,6 +1,5 @@  - - \ No newline at end of file diff --git a/Crow/Templates/ComboBox.template b/Crow/Templates/ComboBox.template index 5b43b99c..8e13b683 100644 --- a/Crow/Templates/ComboBox.template +++ b/Crow/Templates/ComboBox.template @@ -3,22 +3,19 @@ - - - + MouseEnter="{Background=CornflowerBlue}" MouseLeave="{Background=Transparent}"> + diff --git a/Crow/Templates/GroupBox.template b/Crow/Templates/GroupBox.template index f10b1c4c..cab91564 100644 --- a/Crow/Templates/GroupBox.template +++ b/Crow/Templates/GroupBox.template @@ -7,7 +7,6 @@ -