Debug
packages
*.nupkg
+*.user
/GOLib.suo
/tmp
/bin/*
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<Optimize>false</Optimize>
<OutputPath>$(SolutionDir)build\Debug</OutputPath>
- <DefineConstants>DEBUG_DRAGNDROP0;DEBUG_LOG0;XLIB_BACKEND0;DESIGN_MODE;DEBUG_UPDATE0;DEBUG_FOCUS0;DEBUG_DISPOSE0;TRACE0;DEBUG;MEASURE_TIME;DEBUG_LOAD0;DEBUG_BINDING0;DEBUG_CLIP_RECTANGLE0</DefineConstants>
+ <DefineConstants>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</DefineConstants>
<EnvironmentVariables>
<EnvironmentVariables>
<Variable name="MONO_CAIRO_DEBUG_DISPOSE" value="1" />
<Compile Include="src\backends\xlib\X11Keyboard.cs" />
<Compile Include="src\backends\xlib\XLibBackend.cs" />
<Compile Include="src\debug\DbgLogViewer.cs" />
+ <Compile Include="src\debug\DbgEventTypeColors.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
{74289092-9F70-4941-AFCB-DFD7BE2140B6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{74289092-9F70-4941-AFCB-DFD7BE2140B6}.Release|Any CPU.Build.0 = Release|Any CPU
{B6D911CD-1D09-42FC-B300-9187190F2AE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B6D911CD-1D09-42FC-B300-9187190F2AE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B6D911CD-1D09-42FC-B300-9187190F2AE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B6D911CD-1D09-42FC-B300-9187190F2AE1}.Release|Any CPU.Build.0 = Release|Any CPU
{C2980F9B-4798-4C05-99E2-E174810F7C7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
// if desired. See the Mono documentation for more information about signing.
//[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("crow.key")]
+//[assembly: AssemblyKeyFile("crow.key")]
MouseEnter="./onBorderMouseEnter"
MouseLeave="./onBorderMouseLeave">
<VerticalStack Spacing="0">
- <HorizontalStack Visible="{./IsDocked}" Height="Fit" Margin="1" Background="Grey">
+ <HorizontalStack Visible="{./IsDocked}" Height="Fit" Margin="0" Background="Black">
<Label Text="{./Caption}" TextAlignment="Left" Width="Stretched"
- Foreground="Black" />
- <Image Width="10" Height="10" Focusable="true" Margin="0" Path="#Crow.Images.Icons.exit2.svg"
+ Foreground="White" />
+ <Border CornerRadius="6" BorderWidth="1" Foreground="Transparent" Height="10" Width="10"
+ MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}">
+ <Image Focusable="true" Name="Image" Margin="0" Path="#Crow.Images.Icons.exit2.svg"
MouseClick="./butQuitPress"/>
+ </Border>
</HorizontalStack>
<HorizontalStack Background="vgradient|0:0.5,0.6,0.5,0.5|1:0.2,0.3,0.3,0.7"
Name="hs" Margin="0" Spacing="0" Height="Fit" Visible="{./IsFloating}">
</Border>
<GraphicObject Width="5"/>
</HorizontalStack>
- <Container Name="Content" MinimumSize="50,50"/>
+ <Container Name="Content" MinimumSize="50,50" Background="0.1,0.1,0.1,0.4"/>
</VerticalStack>
</Border>
throw new NotImplementedException ();
}
- foreach (ColorStop cs in Stops)
+ foreach (ColorStop cs in Stops) {
+ if (cs == null)
+ continue;
grad.AddColorStop (cs.Offset, cs.Color);
+ }
ctx.SetSource (grad);
grad.Dispose ();
go = null;
if (base.FindByDesignID (designID, out go))
return true;
- return (bool)child?.FindByDesignID (designID, out go);
+ if (child == null)
+ return false;
+ return child.FindByDesignID (designID, out go);
}
#endif
protected GraphicObject child;
Keyboard.KeyUp += Keyboard_KeyUp;
Keyboard.KeyPress += Keyboard_KeyPress;
- //initTooltip ();
- //initContextMenus ();
+ initTooltip ();
+ initContextMenus ();
running = true;
{
while (running) {
Update ();
-
- Thread.Sleep (1);
+ Thread.Sleep (5);
}
}
[DllImportAttribute("X11")]
static extern int XInitThreads();
[DllImportAttribute("X11")]
- static extern IntPtr XOpenDisplay(IntPtr displayName);
+ internal static extern IntPtr XOpenDisplay(IntPtr displayName);
[DllImportAttribute("X11")]
- static extern IntPtr XCloseDisplay(IntPtr disp);
+ internal static extern IntPtr XCloseDisplay(IntPtr disp);
[DllImportAttribute("X11")]
static extern Int32 XDefaultScreen(IntPtr disp);
[DllImportAttribute("X11")]