diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-06 03:24:35 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-06 03:27:58 +0200 |
| commit | f42cabddc008529eddc0a43cad3be2b39b6790ee (patch) | |
| tree | f302cd62710866739a24430c434c16067ed231a7 | |
| parent | beba8120aa8f1529d79ccf0f52f02069b02aaf4d (diff) | |
debug and update nuspec
| -rw-r--r-- | Crow.OpenTK.nuspec | 16 | ||||
| -rw-r--r-- | Default.style | 1 | ||||
| -rw-r--r-- | README.md | 1 | ||||
| -rwxr-xr-x | Templates/ArrowButTemplate.crow | 2 | ||||
| -rwxr-xr-x | Templates/Spinner.goml | 6 |
5 files changed, 15 insertions, 11 deletions
diff --git a/Crow.OpenTK.nuspec b/Crow.OpenTK.nuspec index 24eeb31c..e3f20cd6 100644 --- a/Crow.OpenTK.nuspec +++ b/Crow.OpenTK.nuspec @@ -32,17 +32,19 @@ For more information, please visit https://jpbruyere.github.io/Crow/. <reference file="Crow.dll" /> </references> <frameworkAssemblies> - <frameworkAssembly assemblyName="System" /> - <frameworkAssembly assemblyName="System.Drawing" /> - <frameworkAssembly assemblyName="System.Xml" /> - </frameworkAssemblies> - <contentFiles> - <files include="build/Release/Crow.dll.config" copyToOutput="true" /> - </contentFiles> + <frameworkAssembly assemblyName="System" /> + <frameworkAssembly assemblyName="System.Drawing" /> + <frameworkAssembly assemblyName="System.Xml" /> + <frameworkAssembly assemblyName="gio-sharp" /> + <frameworkAssembly assemblyName="gdk-sharp" /> + <frameworkAssembly assemblyName="glib-sharp" /> + <frameworkAssembly assemblyName="cairo-sharp" /> + </frameworkAssemblies> </metadata> <files> <file src="Tests/OpenTKGameWindow.cs" target="content" /> <file src="Tests/OpenGL/*.cs" target="content/OpenGL" /> <file src="build/Release/Crow.dll" target="lib/net45" /> + <file src="build/Release/Crow.dll.config" target="content" /> </files> </package> diff --git a/Default.style b/Default.style index 2f7f75d5..f3ec0113 100644 --- a/Default.style +++ b/Default.style @@ -32,6 +32,7 @@ TabItem { TextBox { Background = White; Foreground = Black; + Selectable = True; } Window { Focusable = true; @@ -63,3 +63,4 @@ xbuild /p:Configuration=Release Crow.sln # Build with Mono * Derive **OpenTKGameWindow** class. * Load some widget in the **OnLoad** override with `CrowInterface.LoadInterface` . * Build your project with **mono**. (**xbuild**) +- copy **Crow.dll.config** to output directory if you have trouble finding native libs. diff --git a/Templates/ArrowButTemplate.crow b/Templates/ArrowButTemplate.crow index 817c00d1..fe0e122c 100755 --- a/Templates/ArrowButTemplate.crow +++ b/Templates/ArrowButTemplate.crow @@ -1,7 +1,7 @@ <?xml version="1.0"?> <Border Name="Content" Background="vgradient|0:White|0.1:LightGray|0.9:LightGray|1:Black" Foreground="DarkGray" - Height="{./HeightPolicy}" Width="{./WidthPolicy}" + Height="{../HeightPolicy}" Width="{../WidthPolicy}" MouseEnter="{Foreground=White}" MouseLeave="{Foreground=DarkGray}" MouseDown="{Background=vgradient|0:Black|0.1:LightGray|0.9:LightGray|1:White}" diff --git a/Templates/Spinner.goml b/Templates/Spinner.goml index b63a7d26..b07e17b3 100755 --- a/Templates/Spinner.goml +++ b/Templates/Spinner.goml @@ -3,10 +3,10 @@ Height="{./HeightPolicy}" Width="{./WidthPolicy}"> <Border BorderWidth="1" Height="{./HeightPolicy}" Width="80%" Background="White" Foreground="DimGray" Margin="0"> - <Label Foreground="DimGray" Height="{./HeightPolicy}" Width="Stretched" - Text="{./Value}" TextAlignment="Right" Margin="0"/> + <Label Foreground="DimGray" Height="{../../../HeightPolicy}" Width="Stretched" + Text="{../../../Value}" TextAlignment="Right" Margin="0"/> </Border> - <VerticalStack MinimumSize="8;10" Width="20%" Height="Stretched" Spacing="0" Margin="0" Background="Red"> + <VerticalStack MinimumSize="8,10" Width="20%" Height="Stretched" Spacing="0" Margin="0" Background="Red"> <Button MouseRepeat="true" Width="Stretched" Height="50%" Margin="0" MouseClick="./onUp" Template="#Crow.Templates.ArrowButTemplate.crow"> <Image Path="#Crow.Images.Icons.updown.svg" SvgSub="up" Margin="0"/> |