From: jpbruyere Date: Fri, 30 Dec 2016 15:23:50 +0000 (+0100) Subject: new binding debug and new inherited sizing method X-Git-Tag: v0.5.1~63^2~4 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=f98beedb7a53244564d2207f53f9c93514a2c2d7;p=jp%2Fcrow.git new binding debug and new inherited sizing method --- diff --git a/Crow.OpenTK.nuspec b/Crow.OpenTK.nuspec index 1a6221f7..40b76980 100644 --- a/Crow.OpenTK.nuspec +++ b/Crow.OpenTK.nuspec @@ -2,7 +2,7 @@ Crow.OpenTK - 0.4.8 + 0.4.10 C# Rapid Open Widget Toolkit JP Bruyere Grand Tetras Software diff --git a/Crow.csproj b/Crow.csproj index fd5ed612..9d674374 100644 --- a/Crow.csproj +++ b/Crow.csproj @@ -14,17 +14,18 @@ False 4 False - false + true False OnBuildSuccess v4.5 C# Rapid Open Widget 4194304 - 0.4 + 0.5 8.0.30703 2.0 $(SolutionDir)build\$(Configuration) $(SolutionDir)build\obj\$(Configuration) + crow.key true @@ -34,9 +35,8 @@ false - True - None - __linux__;MEASURE_TIME + true + __linux__ @@ -149,6 +149,12 @@ + + + + + + @@ -281,6 +287,9 @@ Crow.Menu.template + + Crow.ColorPicker.template + diff --git a/Crow.sln b/Crow.sln index 725fe4ec..42a17a09 100644 --- a/Crow.sln +++ b/Crow.sln @@ -48,6 +48,6 @@ Global $6.Wrap = False $5.inheritsSet = Mono 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.4 + version = 0.5 EndGlobalSection EndGlobal diff --git a/Default.style b/Default.style index 933f89fe..553be982 100644 --- a/Default.style +++ b/Default.style @@ -55,6 +55,7 @@ TextBox { Foreground = Black; Selectable = True; Text = TextBox; + Margin = 1; } Window { Focusable = true; @@ -62,6 +63,12 @@ Window { Width = 150; Height = 150; } +FileDialog { + Focusable = true; + MinimumSize=50,50; + Width = 500; + Height = 300; +} Border { Foreground = Gray; } @@ -80,4 +87,14 @@ Icon { Control { Margin=0; Spacing=3; +} +ColorSpinner { + Minimum = 0; + Maximum = 255; + SmallIncrement = 1; +} +HSVSpinner { + Minimum = 0; + Maximum = 1; + SmallIncrement = 0.01; } \ No newline at end of file diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 277667d7..96e0ccec 100755 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -1,36 +1,47 @@ -using System.Reflection; +// +// AssemblyInfo.cs +// +// Author: +// Jean-Philippe Bruyère +// +// Copyright (c) 2016 jp +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +using System.Reflection; using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("golib")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("golib")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] +// Information about this assembly is defined by the following attributes. +// Change them to the values specific to your project. -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] +[assembly: AssemblyTitle ("Crow")] +[assembly: AssemblyDescription ("C# Rapid Open Widgets")] +[assembly: AssemblyConfiguration ("")] +[assembly: AssemblyCompany ("Grand Tetra Software")] +[assembly: AssemblyProduct ("Crow")] +[assembly: AssemblyCopyright ("Copyright (c) 2016 - Jean-Philippe Bruyère ")] +[assembly: AssemblyTrademark ("")] +[assembly: AssemblyCulture ("en-US")] -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("150376dc-e648-46a2-b692-6429d0a62362")] +// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". +// The form "{Major}.{Minor}.*" will automatically update the build and revision, +// and "{Major}.{Minor}.{Build}.*" will update just the revision. + +[assembly: AssemblyVersion ("0.5.*")] + +// The following attributes are used to specify the signing key for the assembly, +// if desired. See the Mono documentation for more information about signing. + +//[assembly: AssemblyDelaySign(false)] +[assembly: AssemblyKeyFile("crow.key")] -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.1")] -[assembly: AssemblyFileVersion("1.0.0.1")] diff --git a/Templates/ArrowButTemplate.crow b/Templates/ArrowButTemplate.crow index 817c00d1..aa17d2f4 100755 --- a/Templates/ArrowButTemplate.crow +++ b/Templates/ArrowButTemplate.crow @@ -1,10 +1,9 @@ - \ No newline at end of file + diff --git a/Templates/Button.template b/Templates/Button.template index 648c127b..b1926443 100755 --- a/Templates/Button.template +++ b/Templates/Button.template @@ -1,10 +1,10 @@ - \ No newline at end of file + diff --git a/Templates/CheckBox.template b/Templates/CheckBox.template index a3c0f23d..070f8e2e 100755 --- a/Templates/CheckBox.template +++ b/Templates/CheckBox.template @@ -1,6 +1,6 @@  - + - \ No newline at end of file diff --git a/Templates/ColorPicker.template b/Templates/ColorPicker.template new file mode 100755 index 00000000..4c1e1280 --- /dev/null +++ b/Templates/ColorPicker.template @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Templates/ComboBox.template b/Templates/ComboBox.template index d28a7b91..314613b2 100755 --- a/Templates/ComboBox.template +++ b/Templates/ComboBox.template @@ -1,12 +1,10 @@ - +