From: Jean-Philippe Bruyère Date: Sun, 5 May 2019 20:43:46 +0000 (+0200) Subject: temp X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=66bdf6f24b850fcb06af4c5d5e77346b54c3f2f1;p=jp%2Fcrow.git temp --- 66bdf6f24b850fcb06af4c5d5e77346b54c3f2f1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..fcf4a26d --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +*.log +build +Win_x86 +Crow.userprefs +packages +*.nupkg +*.user +.vs/ +/GOLib.suo +/tmp +bin +obj diff --git a/.nuget/NuGet.config b/.nuget/NuGet.config new file mode 100644 index 00000000..97241036 --- /dev/null +++ b/.nuget/NuGet.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..06116d87 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: csharp +dist: xenial + +dotnet: 2.1.502 +mono: latest + +script: + - nuget restore Crow.sln + - msbuild Crow.sln + - dotnet restore + - dotnet build Crow.sln + \ No newline at end of file diff --git a/Crow.ControlsLib/AnalogMeter.cs b/Crow.ControlsLib/AnalogMeter.cs new file mode 100644 index 00000000..ff23bd6b --- /dev/null +++ b/Crow.ControlsLib/AnalogMeter.cs @@ -0,0 +1,68 @@ +// +// AnalogMeter.cs +// +// Author: +// Jean-Philippe Bruyère +// +// Copyright (c) 2013-2017 Jean-Philippe Bruyère +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +using System; +using System.Xml.Serialization; +using System.ComponentModel; +using Cairo; + +namespace Crow +{ + public class AnalogMeter : NumericControl + { + #region CTOR + protected AnalogMeter () : base(){} + public AnalogMeter (Interface iface) : base(iface){} + #endregion + + #region GraphicObject Overrides + protected override void onDraw (Context gr) + { + base.onDraw (gr); + + Rectangle r = ClientRectangle; + Point m = r.Center; + + gr.Save (); + + + double aUnit = Math.PI*2.0 / (Maximum - Minimum); + gr.Translate (m.X, r.Height *1.1); + gr.Rotate (Value/4.0 * aUnit - Math.PI/4.0); + gr.Translate (-m.X, -m.Y); + + gr.LineWidth = 2; + Foreground.SetAsSource (gr); + gr.MoveTo (m.X,0.0); + gr.LineTo (m.X, -m.Y*0.5); + gr.Stroke (); + + gr.Restore (); + } + #endregion + } +} + diff --git a/Crow.ControlsLib/Crow.ControlsLib.csproj b/Crow.ControlsLib/Crow.ControlsLib.csproj new file mode 100644 index 00000000..75fd3f14 --- /dev/null +++ b/Crow.ControlsLib/Crow.ControlsLib.csproj @@ -0,0 +1,63 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {6E48BD3D-7B33-4368-AA8A-D878427DAC83} + Library + Crow.ControlsLib + Crow.ControlsLib + v4.5 + 0.5 + + + true + full + false + bin\Debug + DEBUG; + prompt + 4 + false + + + full + true + bin\Release + prompt + 4 + false + + + + + + + + + + + + + Crow.DockingView.template + + + + + + + + + + + + + {C2980F9B-4798-4C05-99E2-E174810F7C7B} + Crow + + + \ No newline at end of file diff --git a/Crow.ControlsLib/Default.style b/Crow.ControlsLib/Default.style new file mode 100644 index 00000000..07689b50 --- /dev/null +++ b/Crow.ControlsLib/Default.style @@ -0,0 +1,139 @@ +Button, CheckBox, RadioButton, ComboBox, Expandable, +MessageBox, Popper, Slider, Spinner, TextBox { + Focusable = true; + Height = Fit; +} +Border { + Foreground = Gray; +} +CheckBox { Caption = CheckBox; } +RadioButton { Caption = RadioButton; } +Expandable { Caption = Expandable; } +Popper { Caption = Popper; } +GroupBox { Caption = Group Box; } +Wrapper { + Orientation = Vertical; +} +Button { + Caption = Button; + Width = Fit; +} +Label { + Height = Fit; + Width = Fit; + Margin = 0; +} +Menu { + Margin = 1; + Background = vgradient|0:DimGray|1:Onyx; + Height = Fit; + Width = Stretched; + VerticalAlignment = Top; +} +MenuItem { + Caption = MenuItem; + Width = Stretched; + Height = Fit; + Background = Transparent; + Foreground = LightGray; + MouseEnter = {Background = vgradient|0:UnitedNationsBlue|1:Onyx;Foreground=White;} + MouseLeave = {Foreground=LightGray;Background=Transparent;} +} +MessageBox { + Background = 0.3,0.3,0.3,0.3; + Width = Fit; + Title=MessageBox; + Font = serif, 12; + MinimumSize = 200,120; +} +Slider { + Background = vgradient|0:Black|0.1:Gray|0.9:Gray|1:LightGray; + Foreground = Gray; + Width = Fit; +} +Splitter { + Focusable = true; + Background = DimGray; +} +Spinner { + Foreground = DimGray; +} +TabView { + CacheEnabled = false; +} +TabItem { + Caption = TabItem; + Focusable = true; + CacheEnabled = false; +} +TextBox { + Background = White; + Foreground = Black; + Selectable = True; + Text = TextBox; + Margin = 1; +} +Window { + Caption = Window; + Focusable = true; + MinimumSize=5,5; + Width = 150; + Height = 150; +} +ToolWindow { + Caption = Window; + Template = #Crow.ToolWindow.template; + Focusable = true; + MinimumSize=50,50; + Width = 150; + Height = 150; +} +DocksView { + AllowDrop = true; +} +DockingView { + Focusable = true; + AllowDrag = true; +} +FileDialog { + Template = #Crow.FileDialog.template; + Focusable = true; + MinimumSize=50,50; + Width = 500; + Height = 300; +} +ProgressBar { + Foreground = vgradient|0:BlueCrayola|0.5:SkyBlue|1:BlueCrayola; +} +ScrollBar { + Maximum = 0; + Value = 0; +} +Scroller { + CacheEnabled = false; +} +Icon { + Margin=1; + Width=12; + Height=12; +} +Control { + Margin=0; + Spacing=3; +} +SaturationValueSelector { + Foreground=Red; +} +HueSelector { + ClipToClientRect=False; +} +ColorSpinner { + Minimum = 0; + Maximum = 255; + SmallIncrement = 1; +} +HSVSpinner { + Minimum = 0; + Maximum = 1; + SmallIncrement = 0.01; +} \ No newline at end of file diff --git a/Crow.ControlsLib/DockingView.cs b/Crow.ControlsLib/DockingView.cs new file mode 100644 index 00000000..8d76d457 --- /dev/null +++ b/Crow.ControlsLib/DockingView.cs @@ -0,0 +1,166 @@ +// +// DockingView.cs +// +// Author: +// Jean-Philippe Bruyère +// +// Copyright (c) 2013-2017 Jean-Philippe Bruyère +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. +using System; + +namespace Crow +{ + public class DockingView : Window + { + #region CTOR + protected DockingView() : base () + { + } + #endregion + + bool isDocked = false; + Alignment docking = Alignment.Center; + + Point lastMousePos; //last known mouse pos in this control + Point undockingMousePosOrig; //mouse pos when docking was donne, use for undocking on mouse move + Rectangle savedSlot; //last undocked slot recalled when view is undocked + bool wasResizable; + + public DocksView docker; + + public override void OnLayoutChanges (LayoutingType layoutType) + { + base.OnLayoutChanges (layoutType); + + if (isDocked) + return; + + if (docker == null) + return; + + Rectangle dvCliRect = docker.ClientRectangle; + + if (layoutType == LayoutingType.X) { + if (Slot.X < docker.DockingThreshold) + dock (Alignment.Left); + else if (Slot.Right > dvCliRect.Width - docker.DockingThreshold) + dock (Alignment.Right); + }else if (layoutType == LayoutingType.Y) { + if (Slot.Y < docker.DockingThreshold) + dock (Alignment.Top); + else if (Slot.Bottom > dvCliRect.Height - docker.DockingThreshold) + dock (Alignment.Bottom); + } + } + + public override void onMouseMove (object sender, MouseMoveEventArgs e) + { + lastMousePos = e.Position; + + if (this.HasFocus && e.Mouse.IsButtonDown (MouseButton.Left) && isDocked) { + if (docking == Alignment.Left) { + if (lastMousePos.X - undockingMousePosOrig.X > docker.DockingThreshold) + undock (); + } else if (docking == Alignment.Right) { + if (undockingMousePosOrig.X - lastMousePos.X > docker.DockingThreshold) + undock (); + } else if (docking == Alignment.Top) { + if (lastMousePos.Y - undockingMousePosOrig.Y > docker.DockingThreshold) + undock (); + } else if (docking == Alignment.Bottom) { + if (undockingMousePosOrig.Y - lastMousePos.Y > docker.DockingThreshold) + undock (); + } + return; + } + + base.onMouseMove (sender, e); + } + public override void onMouseDown (object sender, MouseButtonEventArgs e) + { + base.onMouseDown (sender, e); + + if (this.HasFocus && isDocked && e.Button == MouseButton.Left) + undockingMousePosOrig = lastMousePos; + } + +// protected override void onBorderMouseEnter (object sender, MouseMoveEventArgs e) +// { +// base.onBorderMouseEnter (sender, e); +// +// if (isDocked) { +// switch (docking) { +// case Alignment.Top: +// if (this.currentDirection != Window.Direction.S) +// onBorderMouseLeave (this, null); +// break; +// case Alignment.Left: +// if (this.currentDirection != Window.Direction.E) +// onBorderMouseLeave (this, null); +// break; +// case Alignment.TopLeft: +// break; +// case Alignment.Right: +// if (this.currentDirection != Window.Direction.W) +// onBorderMouseLeave (this, null); +// break; +// case Alignment.TopRight: +// break; +// case Alignment.Bottom: +// if (this.currentDirection != Window.Direction.N) +// onBorderMouseLeave (this, null); +// break; +// case Alignment.BottomLeft: +// break; +// case Alignment.BottomRight: +// break; +// case Alignment.Center: +// break; +// default: +// break; +// } +// } +// } + + void undock () { + docker.Undock(this); + + this.Left = savedSlot.Left; + this.Top = savedSlot.Top; + this.Width = savedSlot.Width; + this.Height = savedSlot.Height; + + isDocked = false; + Resizable = wasResizable; + } + void dock (Alignment align){ + this.Left = this.Top = 0; + isDocked = true; + docking = align; + undockingMousePosOrig = lastMousePos; + savedSlot = this.LastPaintedSlot; + wasResizable = Resizable; + Resizable = false; + + docker.Dock (this, align); + } + } +} + diff --git a/Crow.ControlsLib/DocksView.cs b/Crow.ControlsLib/DocksView.cs new file mode 100644 index 00000000..a93bdc78 --- /dev/null +++ b/Crow.ControlsLib/DocksView.cs @@ -0,0 +1,91 @@ +// +// DocksView.cs +// +// Author: +// Jean-Philippe Bruyère +// +// Copyright (c) 2013-2017 Jean-Philippe Bruyère +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. +using System; +using System.Xml.Serialization; +using System.ComponentModel; +using System.Collections.Generic; + +namespace Crow +{ + public class DocksView : Group + { + List childViews = new List(); + GenericStack rootStack = null; + + public override void AddChild (GraphicObject g) + { + DockingView dv = g as DockingView; + if (g == null) + throw new Exception ("DocksView accept only DockingView as child"); + base.AddChild (g); + childViews.Add (dv); + dv.docker = this; + } + public override void RemoveChild (GraphicObject child) + { + DockingView dv = child as DockingView; + if (child == null) + throw new Exception ("DocksView accept only DockingView as child"); + base.RemoveChild (child); + childViews.Remove (dv); + dv.docker = this; + } + public void Dock (DockingView dv, Alignment pos){ + switch (pos) { + case Alignment.Top: + if (rootStack?.Orientation != Orientation.Vertical) + this.Width = Measure.Stretched; + break; + case Alignment.Bottom: + this.Width = Measure.Stretched; + break; + case Alignment.Left: + this.Height = Measure.Stretched; + break; + case Alignment.Right: + this.Height = Measure.Stretched; + break; + } + } + public void Undock (DockingView dv){ + } + + int dockingThreshold; + + [XmlAttributeAttribute][DefaultValue(10)] + public virtual int DockingThreshold { + get { return dockingThreshold; } + set { + if (dockingThreshold == value) + return; + dockingThreshold = value; + NotifyValueChanged ("DockingThreshold", dockingThreshold); + + } + } + } +} + diff --git a/Crow.ControlsLib/Templates/AnalogMeter0.goml b/Crow.ControlsLib/Templates/AnalogMeter0.goml new file mode 100755 index 00000000..8187aac4 --- /dev/null +++ b/Crow.ControlsLib/Templates/AnalogMeter0.goml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/Crow.ControlsLib/Templates/Checkbox2.goml b/Crow.ControlsLib/Templates/Checkbox2.goml new file mode 100755 index 00000000..0a67fce7 --- /dev/null +++ b/Crow.ControlsLib/Templates/Checkbox2.goml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/Crow.ControlsLib/Templates/DockingView.template b/Crow.ControlsLib/Templates/DockingView.template new file mode 100755 index 00000000..0a3b4e01 --- /dev/null +++ b/Crow.ControlsLib/Templates/DockingView.template @@ -0,0 +1,24 @@ + + + + + + + + + + + + diff --git a/Crow.ControlsLib/Templates/ListBox.template b/Crow.ControlsLib/Templates/ListBox.template new file mode 100755 index 00000000..f6d6214d --- /dev/null +++ b/Crow.ControlsLib/Templates/ListBox.template @@ -0,0 +1,7 @@ + + + + + + diff --git a/Crow.ControlsLib/Templates/Menu.template b/Crow.ControlsLib/Templates/Menu.template new file mode 100644 index 00000000..c560043c --- /dev/null +++ b/Crow.ControlsLib/Templates/Menu.template @@ -0,0 +1,2 @@ + + diff --git a/Crow.ControlsLib/Templates/MenuItem.template b/Crow.ControlsLib/Templates/MenuItem.template new file mode 100644 index 00000000..0f93b20c --- /dev/null +++ b/Crow.ControlsLib/Templates/MenuItem.template @@ -0,0 +1,23 @@ + + + + + + + diff --git a/Crow.ControlsLib/Templates/MessageBox.template b/Crow.ControlsLib/Templates/MessageBox.template new file mode 100644 index 00000000..c33eb869 --- /dev/null +++ b/Crow.ControlsLib/Templates/MessageBox.template @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Crow.ControlsLib/Templates/ScrollingListBox.goml b/Crow.ControlsLib/Templates/ScrollingListBox.goml new file mode 100644 index 00000000..f294aea6 --- /dev/null +++ b/Crow.ControlsLib/Templates/ScrollingListBox.goml @@ -0,0 +1,13 @@ + + + + + + + + + diff --git a/Crow.ControlsLib/Templates/Slider.template b/Crow.ControlsLib/Templates/Slider.template new file mode 100755 index 00000000..9c7bb705 --- /dev/null +++ b/Crow.ControlsLib/Templates/Slider.template @@ -0,0 +1 @@ + diff --git a/Crow.ControlsLib/Templates/Spinner (copier).goml b/Crow.ControlsLib/Templates/Spinner (copier).goml new file mode 100755 index 00000000..fcb849c3 --- /dev/null +++ b/Crow.ControlsLib/Templates/Spinner (copier).goml @@ -0,0 +1,14 @@ + + + + + \ No newline at end of file diff --git a/Crow.ControlsLib/Templates/Spinner.template b/Crow.ControlsLib/Templates/Spinner.template new file mode 100755 index 00000000..4d3569bf --- /dev/null +++ b/Crow.ControlsLib/Templates/Spinner.template @@ -0,0 +1,18 @@ + + + + + + + + + + diff --git a/Crow.ControlsLib/Templates/TabItem.template b/Crow.ControlsLib/Templates/TabItem.template new file mode 100644 index 00000000..f82b79c9 --- /dev/null +++ b/Crow.ControlsLib/Templates/TabItem.template @@ -0,0 +1,20 @@ + + + + + + + diff --git a/Crow.ControlsLib/Templates/ToolWindow.template b/Crow.ControlsLib/Templates/ToolWindow.template new file mode 100755 index 00000000..f021f6ee --- /dev/null +++ b/Crow.ControlsLib/Templates/ToolWindow.template @@ -0,0 +1,24 @@ + + + + + + + + + + + + diff --git a/Crow.ControlsLib/Templates/TreeView.template b/Crow.ControlsLib/Templates/TreeView.template new file mode 100644 index 00000000..c29e34c5 --- /dev/null +++ b/Crow.ControlsLib/Templates/TreeView.template @@ -0,0 +1,14 @@ + + + + + + + diff --git a/Crow.ControlsLib/Templates/Window.template b/Crow.ControlsLib/Templates/Window.template new file mode 100755 index 00000000..20b23147 --- /dev/null +++ b/Crow.ControlsLib/Templates/Window.template @@ -0,0 +1,39 @@ + + + + + + + + + + + + diff --git a/Crow.ControlsLib/Templates/imgItemTemplate.goml b/Crow.ControlsLib/Templates/imgItemTemplate.goml new file mode 100755 index 00000000..c08f390e --- /dev/null +++ b/Crow.ControlsLib/Templates/imgItemTemplate.goml @@ -0,0 +1,8 @@ + + + + + diff --git a/Crow.ControlsLib/Templates/tmpDirItem.goml b/Crow.ControlsLib/Templates/tmpDirItem.goml new file mode 100755 index 00000000..01aef1e6 --- /dev/null +++ b/Crow.ControlsLib/Templates/tmpDirItem.goml @@ -0,0 +1,11 @@ + + + + + diff --git a/Crow.ControlsLib/Templates/treeList.crow b/Crow.ControlsLib/Templates/treeList.crow new file mode 100755 index 00000000..d47621af --- /dev/null +++ b/Crow.ControlsLib/Templates/treeList.crow @@ -0,0 +1,3 @@ + + diff --git a/Crow.sln b/Crow.sln new file mode 100644 index 00000000..cde439da --- /dev/null +++ b/Crow.sln @@ -0,0 +1,81 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "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}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShowCase", "Samples\ShowCase\ShowCase.csproj", "{56329D48-D382-4850-93DE-59C453894E8A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Samples\Tests\Tests.csproj", "{5B7CA5BD-AEE8-40EE-85B0-0CAADD19B43A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C2980F9B-4798-4C05-99E2-E174810F7C7B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {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}.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 + {5B7CA5BD-AEE8-40EE-85B0-0CAADD19B43A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5B7CA5BD-AEE8-40EE-85B0-0CAADD19B43A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5B7CA5BD-AEE8-40EE-85B0-0CAADD19B43A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5B7CA5BD-AEE8-40EE-85B0-0CAADD19B43A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(MonoDevelopProperties) = preSolution + Policies = $0 + $0.StandardHeader = $1 + $1.Text = @\n${FileName}\n \nAuthor:\n ${AuthorName} <${AuthorEmail}>\n\nCopyright (c) 2013-2017 Jean-Philippe Bruyère\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE. + $0.DotNetNamingPolicy = $2 + $0.TextStylePolicy = $3 + $3.EolMarker = Unix + $3.scope = text/x-csharp + $0.CSharpFormattingPolicy = $4 + $4.AfterDelegateDeclarationParameterComma = True + $4.scope = text/x-csharp + $4.IndentSwitchSection = False + $4.NewLinesForBracesInProperties = False + $4.NewLinesForBracesInAccessors = False + $4.NewLinesForBracesInAnonymousMethods = False + $4.NewLinesForBracesInControlBlocks = False + $4.NewLinesForBracesInAnonymousTypes = False + $4.NewLinesForBracesInObjectCollectionArrayInitializers = False + $4.NewLinesForBracesInLambdaExpressionBody = False + $4.NewLineForElse = False + $4.NewLineForCatch = False + $4.NewLineForFinally = False + $4.NewLineForMembersInObjectInit = False + $4.NewLineForMembersInAnonymousTypes = False + $4.NewLineForClausesInQuery = False + $4.SpacingAfterMethodDeclarationName = True + $4.SpaceAfterMethodCallName = True + $4.SpaceBeforeOpenSquareBracket = True + $0.VersionControlPolicy = $5 + $5.CommitMessageStyle = $6 + $6.Indent = @\t + $6.FileSeparator = ", " + $6.LastFilePostfix = "@:\n " + $6.LineAlign = 0 + $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.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} + {5B7CA5BD-AEE8-40EE-85B0-0CAADD19B43A} = {B2C7855A-2878-47FD-AD32-9A83DB4AB8C6} + EndGlobalSection +EndGlobal diff --git a/Crow/Crow.csproj b/Crow/Crow.csproj new file mode 100644 index 00000000..9c23b537 --- /dev/null +++ b/Crow/Crow.csproj @@ -0,0 +1,70 @@ + + + + + net471 + Crow + + 0.9.0 + C.R.O.W. is a widget toolkit and rendering engine entirely developed in C# with templates, styles, compositing, and bindings. + + true + false + false + + Jean-Philippe Bruyère + C# Rapid Open Widget Toolkit + Crow.VK + Crow Vulkan Widget Interface GUI + $(AssemblyVersion)-beta + True + false + https://github.com/jpbruyere/Crow/wiki + https://opensource.org/licenses/MIT + https://jpbruyere.github.io/Crow/images/crow.png + Copyright 2013-2019 + Turn on vulkan layer through vkvg + https://github.com/jpbruyere/Crow + + $(SolutionDir)build\$(Configuration)\ + DESIGN_MODE + 0.8.0 + + + + + full + TRACE;DESIGN_MODE;DEBUG;NETFRAMEWORK;NET471 + true + + + + + + + + + + + + + + + + + + + + Crow.%(Filename).template + + + + + Crow.Icons.%(Filename)%(Extension) + + + + + + + diff --git a/Crow/Crow.dll.config b/Crow/Crow.dll.config new file mode 100644 index 00000000..43004762 --- /dev/null +++ b/Crow/Crow.dll.config @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/Crow/Default.style b/Crow/Default.style new file mode 100644 index 00000000..309c99ae --- /dev/null +++ b/Crow/Default.style @@ -0,0 +1,232 @@ +Button, CheckBox, RadioButton, ComboBox, Expandable, +MessageBox, Popper, Slider, Spinner, TextBox { + Focusable = "true"; + Height = "Fit"; +} +Border { + Foreground = "Grey"; +} +CheckBox { Caption = "CheckBox"; } +RadioButton { Caption = "RadioButton"; } +Expandable { Caption = "Expandable"; } +Popper { Caption = "Popper";} +GroupBox { Caption = "Group Box"; } + +ControlBorder { + BorderWidth = "1"; + Foreground = "DimGrey"; + Background = "Transparent"; +} +ControlCaption { + Foreground = "Grey"; + MouseEnter = "{Foreground=White}"; + MouseLeave = "{Foreground=Grey}"; +} +Icon { + Margin = "1"; + Width = "12"; + Height = "12"; +} + +Wrapper { + Orientation = "Vertical"; +} +Button { + Caption = "Button"; + Width = "Fit"; +} +Label { + Height = "Fit"; + Width = "Fit"; + Margin = "1"; + CacheEnabled = "false"; +} +Menu { + Margin = "1"; + Background = "vgradient|0:DimGrey|1:Black"; + //Background = "Transparent"; + Height = "Fit"; + Width = "Stretched"; + VerticalAlignment = "Top"; + SelectionBackground = "Transparent"; +} +MenuItem { + Caption = "MenuItem"; + Width = "Stretched"; + Height = "Fit"; + //Background = "vgradient|0:DimGrey|1:Black"; + //Background = "Transparent"; + Foreground = "LightGrey"; + MouseEnter = "{Background=SteelBlue;}"; + MouseLeave = "{Background=Transparent;}"; + //MouseEnter = "{Background = vgradient|0:SteelBlue|1:Jet;Foreground=White;}"; + //MouseLeave = "{Foreground=LightGrey;Background=Transparent;}"; + SelectionBackground = "Transparent"; +} +MessageBox { + Background = "0.1,0.1,0.2,0.7"; + Width = "Fit"; + Caption="MessageBox"; + Font = "serif, 12"; + MinimumSize = "200,120"; + AlwaysOnTop = "true"; +} +Slider { + Background = "vgradient|0:Black|0.1:Grey|0.9:Grey|1:LightGrey"; + Foreground = "Grey"; + Height = "8"; + Value="5"; +} +Splitter { + Focusable = "true"; + Margin = "1"; + Background = "Grey"; +} +Spinner { + Foreground = "DimGrey"; +} +TabView { + CacheEnabled = "false"; + AllowDrop = "true"; +} +TabItem { + Caption = "TabItem"; + Focusable = "true"; + CacheEnabled = "true"; + //MouseEnter = "{Background = Cobalt;Foreground=White;}"; + //MouseLeave = "{Foreground=LightGrey;Background=Jet;}"; + AllowDrag = "true"; +} +TextBox { + Background = "White"; + Foreground = "Black"; + Selectable = "True"; + Text = "TextBox"; + Margin = "1"; +} +Window { + Caption = "Window"; + Focusable = "true"; + MinimumSize="5,5"; + Width = "150"; + Height = "150"; +} +ToolWindow { + Caption = "Window"; + Template = "#Crow.ToolWindow.template"; + Focusable = "true"; + Movable = "true"; + MinimumSize="50,50"; + Width = "150"; + Height = "150"; +} +Docker { + AllowDrop = "false"; + Margin="0"; + Focusable="true"; +} +DockStack { + Margin="1"; + AllowDrop = "true"; + Focusable="true"; + //DragEnter="{Background=Blue}"; + //DragLeave="{Background=Transparent}"; + //EndDrag="{Background=Jet}"; +} +DockWindow { + //Background = "Onyx"; + Focusable = "true"; + AllowDrag = "true"; + AlwaysOnTop = "true"; + Margin="0"; + Width="200"; + Height="200"; + //MinimumSize="50,50"; +} +FileDialog { + Template = "#Crow.FileDialog.template"; + AlwaysOnTop = "true"; + Focusable = "true"; + MinimumSize="50,50"; + Width = "500"; + Height = "300"; +} +ProgressBar { + Foreground = "vgradient|0:DarkBlue|0.5:SkyBlue|1:DarkBlue"; +} +Scroller { + CacheEnabled = "false"; +} +Control { + Margin="0"; + Spacing="3"; +} +SaturationValueSelector { + Foreground="Red"; +} +HueSelector { + ClipToClientRect="False"; +} +ColorSpinner { + Minimum = "0"; + Maximum = "255"; + SmallIncrement = "1"; + Width="50"; +} +HSVSpinner { + Minimum = "0"; + Maximum = "1"; + SmallIncrement = "0.01"; +} +TxtInFileDialog { + Margine = "1"; + Font = "droid, 12"; +} +CheckBoxAlt { + Template= "#Crow.CheckBox2.template"; + Background = "Transparent"; + Checked="{Background=Grey;Foreground=LightGrey;}"; + Unchecked = "{Background=Transparent;Foreground=DimGrey;}"; +} + +ArrowBut { + MouseRepeat="true"; + Focusable="true"; + Foreground="Onyx"; + Background="hgradient|0:Grey|1:Jet"; + MouseDown="{Background=hgradient|0:White|0.4:CornflowerBlue|1:Jet}"; + MouseUp="{Background=hgradient|0:Grey|1:DimGrey}"; + MouseEnter="{Foreground=Black}"; + MouseLeave="{Foreground=Onyx}"; +} +HArrowBut { + MouseRepeat="true"; + Focusable="true"; + Foreground="Onyx"; + Background="vgradient|0:Grey|1:DimGrey"; + MouseDown="{Background=vgradient|0:White|0.4:DarkBlue|1:Jet}"; + MouseUp="{Background=vgradient|0:Grey|1:DimGrey}"; + MouseEnter="{Foreground=Black}"; + MouseLeave="{Foreground=DimGrey}"; +} +ScrollBar { + Maximum = "0"; + Value = "0"; + Background = "Silver"; + Foreground = "DimGrey"; + Width = "12"; + CornerRadius = "0"; + Margin="0"; +} +HScrollBar { + Template = "#Crow.HScrollBar.template"; + Maximum = "0"; + Value = "0"; + Height = "12"; + Width = "Stretched"; +} +EnumSelector { + Orientation = "Vertical"; + Height = "Fit"; + Spacing = "0"; +} \ No newline at end of file diff --git a/Crow/Icons/IconAlerte.svg b/Crow/Icons/IconAlerte.svg new file mode 100755 index 00000000..286dbf3a --- /dev/null +++ b/Crow/Icons/IconAlerte.svg @@ -0,0 +1,177 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Crow/Icons/Icon_no.svg b/Crow/Icons/Icon_no.svg new file mode 100644 index 00000000..c7613fbc --- /dev/null +++ b/Crow/Icons/Icon_no.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Crow/Icons/assembly.svg b/Crow/Icons/assembly.svg new file mode 100644 index 00000000..5ac3643a --- /dev/null +++ b/Crow/Icons/assembly.svg @@ -0,0 +1,31 @@ + + + + + + image/svg+xml + + + + + + + + diff --git a/Crow/Icons/checkbox.svg b/Crow/Icons/checkbox.svg new file mode 100644 index 00000000..f2d562db --- /dev/null +++ b/Crow/Icons/checkbox.svg @@ -0,0 +1,46 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/Crow/Icons/compiler_error.svg b/Crow/Icons/compiler_error.svg new file mode 100644 index 00000000..1b505681 --- /dev/null +++ b/Crow/Icons/compiler_error.svg @@ -0,0 +1,13 @@ + + + + Layer 1 + + X + + + Layer 2 + + ! + + \ No newline at end of file diff --git a/Crow/Icons/compiler_warning.svg b/Crow/Icons/compiler_warning.svg new file mode 100644 index 00000000..9dac3772 --- /dev/null +++ b/Crow/Icons/compiler_warning.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + 3D effect warning triangle + 18/9/07 + + + Tim O'Ryan + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Crow/Icons/compiler_warning_orange.svg b/Crow/Icons/compiler_warning_orange.svg new file mode 100644 index 00000000..233437ff --- /dev/null +++ b/Crow/Icons/compiler_warning_orange.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + 3D effect warning triangle + 18/9/07 + + + Tim O'Ryan + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Crow/Icons/copy-file.svg b/Crow/Icons/copy-file.svg new file mode 100644 index 00000000..63c2dd37 --- /dev/null +++ b/Crow/Icons/copy-file.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Crow/Icons/crow.svg b/Crow/Icons/crow.svg new file mode 100644 index 00000000..4904e68e --- /dev/null +++ b/Crow/Icons/crow.svg @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + C.R.O.W. + + diff --git a/Crow/Icons/crowproj.svg b/Crow/Icons/crowproj.svg new file mode 100644 index 00000000..b0f6b860 --- /dev/null +++ b/Crow/Icons/crowproj.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Crow/Icons/exit-symbol.svg b/Crow/Icons/exit-symbol.svg new file mode 100644 index 00000000..3fbaa0d2 --- /dev/null +++ b/Crow/Icons/exit-symbol.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Crow/Icons/exit2.svg b/Crow/Icons/exit2.svg new file mode 100644 index 00000000..2361ba89 --- /dev/null +++ b/Crow/Icons/exit2.svg @@ -0,0 +1,64 @@ + + + + + + + + + + image/svg+xml + + + + + + + + diff --git a/Crow/Icons/expandable.svg b/Crow/Icons/expandable.svg new file mode 100644 index 00000000..5df4bc5b --- /dev/null +++ b/Crow/Icons/expandable.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Crow/Icons/file.svg b/Crow/Icons/file.svg new file mode 100644 index 00000000..b156b0ab --- /dev/null +++ b/Crow/Icons/file.svg @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/Crow/Icons/folder.svg b/Crow/Icons/folder.svg new file mode 100644 index 00000000..185bdf9d --- /dev/null +++ b/Crow/Icons/folder.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Crow/Icons/frame.svg b/Crow/Icons/frame.svg new file mode 100644 index 00000000..576d418f --- /dev/null +++ b/Crow/Icons/frame.svg @@ -0,0 +1,66 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/Crow/Icons/iconInfo.svg b/Crow/Icons/iconInfo.svg new file mode 100644 index 00000000..82345509 --- /dev/null +++ b/Crow/Icons/iconInfo.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Crow/Icons/level-up.svg b/Crow/Icons/level-up.svg new file mode 100644 index 00000000..86d7c784 --- /dev/null +++ b/Crow/Icons/level-up.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Crow/Icons/maximize.svg b/Crow/Icons/maximize.svg new file mode 100644 index 00000000..b70604a6 --- /dev/null +++ b/Crow/Icons/maximize.svg @@ -0,0 +1,11 @@ + + + + diff --git a/Crow/Icons/minimize.svg b/Crow/Icons/minimize.svg new file mode 100644 index 00000000..dc3dcd2e --- /dev/null +++ b/Crow/Icons/minimize.svg @@ -0,0 +1,11 @@ + + + + diff --git a/Crow/Icons/normalize.svg b/Crow/Icons/normalize.svg new file mode 100644 index 00000000..b8b44bd5 --- /dev/null +++ b/Crow/Icons/normalize.svg @@ -0,0 +1,22 @@ + + + + + + diff --git a/Crow/Icons/open-file.svg b/Crow/Icons/open-file.svg new file mode 100644 index 00000000..d5c6a84d --- /dev/null +++ b/Crow/Icons/open-file.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Crow/Icons/paste-on-document.svg b/Crow/Icons/paste-on-document.svg new file mode 100644 index 00000000..b0a705ee --- /dev/null +++ b/Crow/Icons/paste-on-document.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Crow/Icons/project.svg b/Crow/Icons/project.svg new file mode 100644 index 00000000..7522605c --- /dev/null +++ b/Crow/Icons/project.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/Crow/Icons/projectRef.svg b/Crow/Icons/projectRef.svg new file mode 100644 index 00000000..3ebd7b5f --- /dev/null +++ b/Crow/Icons/projectRef.svg @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/Crow/Icons/question.svg b/Crow/Icons/question.svg new file mode 100644 index 00000000..fb8e3d3f --- /dev/null +++ b/Crow/Icons/question.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Crow/Icons/radiobutton.svg b/Crow/Icons/radiobutton.svg new file mode 100644 index 00000000..335d0306 --- /dev/null +++ b/Crow/Icons/radiobutton.svg @@ -0,0 +1,39 @@ + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/Crow/Icons/scissors.svg b/Crow/Icons/scissors.svg new file mode 100644 index 00000000..4b5a2255 --- /dev/null +++ b/Crow/Icons/scissors.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/Crow/Icons/updown.svg b/Crow/Icons/updown.svg new file mode 100644 index 00000000..0df81756 --- /dev/null +++ b/Crow/Icons/updown.svg @@ -0,0 +1,44 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/Crow/Icons/warning_construction.svg b/Crow/Icons/warning_construction.svg new file mode 100644 index 00000000..4c101ec0 --- /dev/null +++ b/Crow/Icons/warning_construction.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + 3D effect warning triangle + 18/9/07 + + + Tim O'Ryan + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Crow/Images/Icons/Cursors/arrow b/Crow/Images/Icons/Cursors/arrow new file mode 100644 index 00000000..61f968ef Binary files /dev/null and b/Crow/Images/Icons/Cursors/arrow differ diff --git a/Crow/Images/Icons/Cursors/bottom_left_corner b/Crow/Images/Icons/Cursors/bottom_left_corner new file mode 100644 index 00000000..e9a41a20 Binary files /dev/null and b/Crow/Images/Icons/Cursors/bottom_left_corner differ diff --git a/Crow/Images/Icons/Cursors/bottom_right_corner b/Crow/Images/Icons/Cursors/bottom_right_corner new file mode 100644 index 00000000..208faf48 Binary files /dev/null and b/Crow/Images/Icons/Cursors/bottom_right_corner differ diff --git a/Crow/Images/Icons/Cursors/cross b/Crow/Images/Icons/Cursors/cross new file mode 100644 index 00000000..4596b480 Binary files /dev/null and b/Crow/Images/Icons/Cursors/cross differ diff --git a/Crow/Images/Icons/Cursors/hand b/Crow/Images/Icons/Cursors/hand new file mode 100644 index 00000000..23939b74 Binary files /dev/null and b/Crow/Images/Icons/Cursors/hand differ diff --git a/Crow/Images/Icons/Cursors/help b/Crow/Images/Icons/Cursors/help new file mode 100644 index 00000000..cd7ec277 Binary files /dev/null and b/Crow/Images/Icons/Cursors/help differ diff --git a/Crow/Images/Icons/Cursors/ibeam b/Crow/Images/Icons/Cursors/ibeam new file mode 100644 index 00000000..ccbdcb5c Binary files /dev/null and b/Crow/Images/Icons/Cursors/ibeam differ diff --git a/Crow/Images/Icons/Cursors/move b/Crow/Images/Icons/Cursors/move new file mode 100644 index 00000000..ab98f6a3 Binary files /dev/null and b/Crow/Images/Icons/Cursors/move differ diff --git a/Crow/Images/Icons/Cursors/sb_h_double_arrow b/Crow/Images/Icons/Cursors/sb_h_double_arrow new file mode 100644 index 00000000..1768b6a0 Binary files /dev/null and b/Crow/Images/Icons/Cursors/sb_h_double_arrow differ diff --git a/Crow/Images/Icons/Cursors/sb_v_double_arrow b/Crow/Images/Icons/Cursors/sb_v_double_arrow new file mode 100644 index 00000000..a36abd4b Binary files /dev/null and b/Crow/Images/Icons/Cursors/sb_v_double_arrow differ diff --git a/Crow/Images/Icons/Cursors/top_left_corner b/Crow/Images/Icons/Cursors/top_left_corner new file mode 100644 index 00000000..3493adc6 Binary files /dev/null and b/Crow/Images/Icons/Cursors/top_left_corner differ diff --git a/Crow/Images/Icons/Cursors/top_right_corner b/Crow/Images/Icons/Cursors/top_right_corner new file mode 100644 index 00000000..264cc577 Binary files /dev/null and b/Crow/Images/Icons/Cursors/top_right_corner differ diff --git a/Crow/Images/Icons/buttonB.svg b/Crow/Images/Icons/buttonB.svg new file mode 100755 index 00000000..56bc8d9c --- /dev/null +++ b/Crow/Images/Icons/buttonB.svg @@ -0,0 +1,125 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Crow/Images/Icons/crow.png b/Crow/Images/Icons/crow.png new file mode 100644 index 00000000..7b737d04 Binary files /dev/null and b/Crow/Images/Icons/crow.png differ diff --git a/Crow/Images/Icons/exit.svg b/Crow/Images/Icons/exit.svg new file mode 100644 index 00000000..cb8d1c27 --- /dev/null +++ b/Crow/Images/Icons/exit.svg @@ -0,0 +1,20 @@ + + + + + diff --git a/Crow/Images/Icons/file.svg b/Crow/Images/Icons/file.svg new file mode 100644 index 00000000..a31c367e --- /dev/null +++ b/Crow/Images/Icons/file.svg @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Crow/Images/Icons/folder.svg b/Crow/Images/Icons/folder.svg new file mode 100644 index 00000000..beac8a1b --- /dev/null +++ b/Crow/Images/Icons/folder.svg @@ -0,0 +1,88 @@ + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Crow/Images/Icons/member.svg b/Crow/Images/Icons/member.svg new file mode 100644 index 00000000..af654a94 --- /dev/null +++ b/Crow/Images/Icons/member.svg @@ -0,0 +1,93 @@ + + + + + + + + + # + + + + + + + + + + + + diff --git a/Crow/Images/Icons/tetra.png b/Crow/Images/Icons/tetra.png new file mode 100644 index 00000000..b0c855aa Binary files /dev/null and b/Crow/Images/Icons/tetra.png differ diff --git a/Crow/Images/button.svg b/Crow/Images/button.svg new file mode 100644 index 00000000..314f63fb --- /dev/null +++ b/Crow/Images/button.svg @@ -0,0 +1,16 @@ + + + + + + + + + + diff --git a/Crow/Images/crow0.svg b/Crow/Images/crow0.svg new file mode 100644 index 00000000..c6211302 --- /dev/null +++ b/Crow/Images/crow0.svg @@ -0,0 +1,30 @@ + + + + + + image/svg+xml + + + + + + + + diff --git a/Crow/Images/meter.svg b/Crow/Images/meter.svg new file mode 100755 index 00000000..cc3d4e90 --- /dev/null +++ b/Crow/Images/meter.svg @@ -0,0 +1,584 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Crow/Images/screenshot.png b/Crow/Images/screenshot.png new file mode 100644 index 00000000..3540d6b1 Binary files /dev/null and b/Crow/Images/screenshot.png differ diff --git a/Crow/Images/screenshot2.png b/Crow/Images/screenshot2.png new file mode 100644 index 00000000..46a7bec2 Binary files /dev/null and b/Crow/Images/screenshot2.png differ diff --git a/Crow/Templates/ArrowBut.template b/Crow/Templates/ArrowBut.template new file mode 100755 index 00000000..2d3bb292 --- /dev/null +++ b/Crow/Templates/ArrowBut.template @@ -0,0 +1,9 @@ + + + diff --git a/Crow/Templates/Button.template b/Crow/Templates/Button.template new file mode 100755 index 00000000..db8c31e5 --- /dev/null +++ b/Crow/Templates/Button.template @@ -0,0 +1,10 @@ + + + diff --git a/Crow/Templates/CheckBox.template b/Crow/Templates/CheckBox.template new file mode 100755 index 00000000..f24b50a7 --- /dev/null +++ b/Crow/Templates/CheckBox.template @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/Crow/Templates/CheckBox2.template b/Crow/Templates/CheckBox2.template new file mode 100644 index 00000000..0fa0ffef --- /dev/null +++ b/Crow/Templates/CheckBox2.template @@ -0,0 +1,7 @@ + + \ No newline at end of file diff --git a/Crow/Templates/ColorPicker.template b/Crow/Templates/ColorPicker.template new file mode 100755 index 00000000..fc7e5c5d --- /dev/null +++ b/Crow/Templates/ColorPicker.template @@ -0,0 +1,44 @@ + + + + + + + + + + + + diff --git a/Crow/Templates/ComboBox.template b/Crow/Templates/ComboBox.template new file mode 100755 index 00000000..f08a8393 --- /dev/null +++ b/Crow/Templates/ComboBox.template @@ -0,0 +1,30 @@ + + + + + + + + + diff --git a/Crow/Templates/ContextMenu.template b/Crow/Templates/ContextMenu.template new file mode 100644 index 00000000..7fc8dcc9 --- /dev/null +++ b/Crow/Templates/ContextMenu.template @@ -0,0 +1,43 @@ + + + + + + + + + + diff --git a/Crow/Templates/DefaultItem.template b/Crow/Templates/DefaultItem.template new file mode 100755 index 00000000..fc13ab4d --- /dev/null +++ b/Crow/Templates/DefaultItem.template @@ -0,0 +1,8 @@ + + + + diff --git a/Crow/Templates/DirectoryView.template b/Crow/Templates/DirectoryView.template new file mode 100755 index 00000000..d2193338 --- /dev/null +++ b/Crow/Templates/DirectoryView.template @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + diff --git a/Crow/Templates/DockWindow.template b/Crow/Templates/DockWindow.template new file mode 100755 index 00000000..e62672bc --- /dev/null +++ b/Crow/Templates/DockWindow.template @@ -0,0 +1,31 @@ + + + + + + + + + + + + + diff --git a/Crow/Templates/Expandable.template b/Crow/Templates/Expandable.template new file mode 100755 index 00000000..e0ba29b8 --- /dev/null +++ b/Crow/Templates/Expandable.template @@ -0,0 +1,17 @@ + + + + + + + + + + + diff --git a/Crow/Templates/FileDialog.template b/Crow/Templates/FileDialog.template new file mode 100644 index 00000000..419e093a --- /dev/null +++ b/Crow/Templates/FileDialog.template @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +