From 309945235a6bfd0c16cd64b8a0ad2501d7b62b50 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Thu, 6 Dec 2018 17:36:21 +0100 Subject: [PATCH] wip --- Crow.csproj | 9 +- Default.style | 4 +- Templates/DockWindow.template | 2 +- Templates/Expandable.template | 4 +- Templates/TreeView.template | 2 +- Tests/BasicTests.cs | 101 +- Tests/GraphicObjects/LaggingGraphicObject.cs | 33 +- Tests/Interfaces/Container/0.crow | 3 +- Tests/Interfaces/Divers/testVisibility.crow | 8 + Tests/Tests.csproj | 3 + Tests/test.style | 2 +- Tests/ui/MenuItem.style | 4 +- Tests/ui/MenuItem.template | 4 - src/Cairo/CairoHelpers.cs | 2 +- src/Colors.cs | 10 - src/CompilerServices/CompilerServices.cs | 2 +- src/ExtensionsMethods.cs | 3 +- src/GraphicObjects/DockStack.cs | 11 +- src/GraphicObjects/DockWindow.cs | 13 +- src/GraphicObjects/GraphicObject.cs | 58 +- src/GraphicObjects/TabItem.cs | 41 +- src/GraphicObjects/TemplatedGroup.cs | 2 +- src/GraphicObjects/TreeView.cs | 8 +- src/Interface.cs | 37 +- src/Mono.Cairo/Color.cs | 75 -- src/Mono.Cairo/Context.cs | 31 +- src/Mono.Cairo/Gradient.cs | 2 +- src/Mono.Cairo/NativeMethods-internal.cs | 1026 ++++++++++++++++++ src/Mono.Cairo/NativeMethods.cs | 4 +- src/Mono.Cairo/Rectangle.cs | 99 -- src/Mono.Cairo/SolidPattern.cs | 2 +- src/debug/DebugLogViewer.cs | 2 +- 32 files changed, 1282 insertions(+), 325 deletions(-) create mode 100755 Tests/Interfaces/Divers/testVisibility.crow delete mode 100644 src/Mono.Cairo/Color.cs create mode 100644 src/Mono.Cairo/NativeMethods-internal.cs delete mode 100644 src/Mono.Cairo/Rectangle.cs diff --git a/Crow.csproj b/Crow.csproj index f181f154..e06c7c71 100644 --- a/Crow.csproj +++ b/Crow.csproj @@ -32,7 +32,7 @@ true false $(SolutionDir)build\Debug - DEBUG_DRAGNDROP0;DEBUG_LOG;XLIB_BACKEND0;DESIGN_MODE;DEBUG_UPDATE0;DEBUG_FOCUS0;DEBUG_DISPOSE0;TRACE0;DEBUG;MEASURE_TIME;DEBUG_LOAD0;DEBUG_BINDING0;DEBUG_CLIP_RECTANGLE0 + DEBUG_DRAGNDROP0;DEBUG_LOG0;XLIB_BACKEND0;DESIGN_MODE;DEBUG_UPDATE0;DEBUG_FOCUS;DEBUG_DISPOSE0;TRACE0;DEBUG;MEASURE_TIME;DEBUG_LOAD0;DEBUG_BINDING0;DEBUG_CLIP_RECTANGLE0 @@ -156,7 +156,6 @@ - @@ -187,7 +186,6 @@ - @@ -197,7 +195,6 @@ - @@ -214,7 +211,6 @@ - @@ -236,6 +232,8 @@ + + @@ -414,5 +412,6 @@ + diff --git a/Default.style b/Default.style index c2f553e4..43c4cab8 100644 --- a/Default.style +++ b/Default.style @@ -56,8 +56,8 @@ MenuItem { //Background = "vgradient|0:DimGrey|1:Black"; //Background = "Transparent"; Foreground = "LightGrey"; - MouseEnter = "{Background=SteelBlue;}"; - MouseLeave = "{Background=Transparent;}"; + //MouseEnter = "{Background=SteelBlue;}"; + //MouseLeave = "{Background=Transparent;}"; //MouseEnter = "{Background = vgradient|0:SteelBlue|1:Jet;Foreground=White;}"; //MouseLeave = "{Foreground=LightGrey;Background=Transparent;}"; SelectionBackground = "Transparent"; diff --git a/Templates/DockWindow.template b/Templates/DockWindow.template index b293e536..d69b4718 100755 --- a/Templates/DockWindow.template +++ b/Templates/DockWindow.template @@ -5,7 +5,7 @@ MouseEnter="./onBorderMouseEnter" MouseLeave="./onBorderMouseLeave"> - +