[Gtk] Abstracted cairo context a bit
This commit is contained in:
Родитель
156ba46fcd
Коммит
99ae2de6e2
|
@ -0,0 +1,39 @@
|
|||
//
|
||||
// CairoConversion.cs
|
||||
//
|
||||
// Author:
|
||||
// Lluis Sanchez <lluis@xamarin.com>
|
||||
//
|
||||
// Copyright (c) 2012 Xamarin Inc
|
||||
//
|
||||
// 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 Xwt.Drawing;
|
||||
|
||||
namespace Xwt.CairoBackend
|
||||
{
|
||||
public static class CairoConversion
|
||||
{
|
||||
public static Cairo.Color ToCairoColor (this Color col)
|
||||
{
|
||||
return new Cairo.Color (col.Red, col.Green, col.Blue, col.Alpha);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -29,9 +29,9 @@ using Xwt.Backends;
|
|||
using Xwt.Engine;
|
||||
using Xwt.Drawing;
|
||||
|
||||
namespace Xwt.GtkBackend
|
||||
namespace Xwt.CairoBackend
|
||||
{
|
||||
class GtkContext
|
||||
class CairoContextBackend
|
||||
{
|
||||
public double GlobalAlpha = 1;
|
||||
public Cairo.Context Context;
|
||||
|
@ -45,78 +45,64 @@ namespace Xwt.GtkBackend
|
|||
}
|
||||
|
||||
#region IContextBackendHandler implementation
|
||||
public object CreateContext (Widget w)
|
||||
{
|
||||
GtkContext ctx = new GtkContext ();
|
||||
var b = (IGtkWidgetBackend)WidgetRegistry.GetBackend (w);
|
||||
if (!b.Widget.IsRealized) {
|
||||
Cairo.Surface sf = new Cairo.ImageSurface (Cairo.Format.ARGB32, 1, 1);
|
||||
Cairo.Context c = new Cairo.Context (sf);
|
||||
ctx.Context = c;
|
||||
ctx.TempSurface = sf;
|
||||
} else {
|
||||
ctx.Context = Gdk.CairoHelper.Create (b.Widget.GdkWindow);
|
||||
}
|
||||
return ctx;
|
||||
}
|
||||
|
||||
public void Save (object backend)
|
||||
{
|
||||
GtkContext gc = (GtkContext)backend;
|
||||
CairoContextBackend gc = (CairoContextBackend)backend;
|
||||
gc.Context.Save ();
|
||||
}
|
||||
|
||||
public void Restore (object backend)
|
||||
{
|
||||
GtkContext gc = (GtkContext)backend;
|
||||
CairoContextBackend gc = (CairoContextBackend)backend;
|
||||
gc.Context.Restore ();
|
||||
}
|
||||
|
||||
public void SetGlobalAlpha (object backend, double alpha)
|
||||
{
|
||||
GtkContext gc = (GtkContext) backend;
|
||||
CairoContextBackend gc = (CairoContextBackend) backend;
|
||||
gc.GlobalAlpha = alpha;
|
||||
}
|
||||
|
||||
public void Arc (object backend, double xc, double yc, double radius, double angle1, double angle2)
|
||||
{
|
||||
GtkContext gc = (GtkContext) backend;
|
||||
CairoContextBackend gc = (CairoContextBackend) backend;
|
||||
gc.Context.Arc (xc, yc, radius, (angle1 * System.Math.PI) / 180, (angle2 * System.Math.PI) / 180);
|
||||
}
|
||||
|
||||
public void Clip (object backend)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext) backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend) backend).Context;
|
||||
ctx.Clip ();
|
||||
}
|
||||
|
||||
public void ClipPreserve (object backend)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext) backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend) backend).Context;
|
||||
ctx.ClipPreserve ();
|
||||
}
|
||||
|
||||
public void ResetClip (object backend)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext) backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend) backend).Context;
|
||||
ctx.ResetClip ();
|
||||
}
|
||||
|
||||
public void ClosePath (object backend)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext) backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend) backend).Context;
|
||||
ctx.ClosePath ();
|
||||
}
|
||||
|
||||
public void CurveTo (object backend, double x1, double y1, double x2, double y2, double x3, double y3)
|
||||
{
|
||||
GtkContext gc = (GtkContext) backend;
|
||||
CairoContextBackend gc = (CairoContextBackend) backend;
|
||||
gc.Context.CurveTo (x1, y1, x2, y2, x3, y3);
|
||||
}
|
||||
|
||||
public void Fill (object backend)
|
||||
{
|
||||
var gtkc = (GtkContext) backend;
|
||||
var gtkc = (CairoContextBackend) backend;
|
||||
Cairo.Context ctx = gtkc.Context;
|
||||
if (gtkc.GlobalAlpha == 1)
|
||||
ctx.Fill ();
|
||||
|
@ -130,85 +116,85 @@ namespace Xwt.GtkBackend
|
|||
|
||||
public void FillPreserve (object backend)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext) backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend) backend).Context;
|
||||
ctx.FillPreserve ();
|
||||
}
|
||||
|
||||
public void LineTo (object backend, double x, double y)
|
||||
{
|
||||
GtkContext gc = (GtkContext) backend;
|
||||
CairoContextBackend gc = (CairoContextBackend) backend;
|
||||
gc.Context.LineTo (x, y);
|
||||
}
|
||||
|
||||
public void MoveTo (object backend, double x, double y)
|
||||
{
|
||||
GtkContext gc = (GtkContext) backend;
|
||||
CairoContextBackend gc = (CairoContextBackend) backend;
|
||||
gc.Context.MoveTo (x, y);
|
||||
}
|
||||
|
||||
public void NewPath (object backend)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext) backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend) backend).Context;
|
||||
ctx.NewPath ();
|
||||
}
|
||||
|
||||
public void Rectangle (object backend, double x, double y, double width, double height)
|
||||
{
|
||||
GtkContext gc = (GtkContext) backend;
|
||||
CairoContextBackend gc = (CairoContextBackend) backend;
|
||||
gc.Context.Rectangle (x, y, width, height);
|
||||
}
|
||||
|
||||
public void RelCurveTo (object backend, double dx1, double dy1, double dx2, double dy2, double dx3, double dy3)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext) backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend) backend).Context;
|
||||
ctx.RelCurveTo (dx1, dy1, dx2, dy2, dx3, dy3);
|
||||
}
|
||||
|
||||
public void RelLineTo (object backend, double dx, double dy)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext) backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend) backend).Context;
|
||||
ctx.RelLineTo (dx, dy);
|
||||
}
|
||||
|
||||
public void RelMoveTo (object backend, double dx, double dy)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext) backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend) backend).Context;
|
||||
ctx.RelMoveTo (dx, dy);
|
||||
}
|
||||
|
||||
public void Stroke (object backend)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext) backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend) backend).Context;
|
||||
ctx.Stroke ();
|
||||
}
|
||||
|
||||
public void StrokePreserve (object backend)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext) backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend) backend).Context;
|
||||
ctx.StrokePreserve ();
|
||||
}
|
||||
|
||||
public void SetColor (object backend, Xwt.Drawing.Color color)
|
||||
{
|
||||
var gtkContext = (GtkContext) backend;
|
||||
var gtkContext = (CairoContextBackend) backend;
|
||||
gtkContext.Context.Color = new Cairo.Color (color.Red, color.Green, color.Blue, color.Alpha * gtkContext.GlobalAlpha);
|
||||
}
|
||||
|
||||
public void SetLineWidth (object backend, double width)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext) backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend) backend).Context;
|
||||
ctx.LineWidth = width;
|
||||
}
|
||||
|
||||
public void SetLineDash (object backend, double offset, params double[] pattern)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext) backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend) backend).Context;
|
||||
ctx.SetDash (pattern, offset);
|
||||
}
|
||||
|
||||
public void SetPattern (object backend, object p)
|
||||
{
|
||||
Cairo.Context ctx = ((GtkContext)backend).Context;
|
||||
Cairo.Context ctx = ((CairoContextBackend)backend).Context;
|
||||
if (p != null)
|
||||
ctx.Pattern = (Cairo.Pattern) p;
|
||||
else
|
||||
|
@ -222,7 +208,7 @@ namespace Xwt.GtkBackend
|
|||
public void DrawTextLayout (object backend, TextLayout layout, double x, double y)
|
||||
{
|
||||
Pango.Layout pl = (Pango.Layout) WidgetRegistry.GetBackend (layout);
|
||||
GtkContext ctx = (GtkContext) backend;
|
||||
CairoContextBackend ctx = (CairoContextBackend) backend;
|
||||
ctx.Context.MoveTo (x, y);
|
||||
Pango.CairoHelper.ShowLayout (ctx.Context, pl);
|
||||
}
|
||||
|
@ -230,7 +216,7 @@ namespace Xwt.GtkBackend
|
|||
public void DrawImage (object backend, object img, double x, double y, double alpha)
|
||||
{
|
||||
Gdk.Pixbuf pb = (Gdk.Pixbuf)img;
|
||||
GtkContext ctx = (GtkContext)backend;
|
||||
CairoContextBackend ctx = (CairoContextBackend)backend;
|
||||
Gdk.CairoHelper.SetSourcePixbuf (ctx.Context, pb, x, y);
|
||||
alpha = alpha * ctx.GlobalAlpha;
|
||||
if (alpha == 1)
|
||||
|
@ -242,7 +228,7 @@ namespace Xwt.GtkBackend
|
|||
public void DrawImage (object backend, object img, double x, double y, double width, double height, double alpha)
|
||||
{
|
||||
Gdk.Pixbuf pb = (Gdk.Pixbuf)img;
|
||||
GtkContext ctx = (GtkContext)backend;
|
||||
CairoContextBackend ctx = (CairoContextBackend)backend;
|
||||
ctx.Context.Save ();
|
||||
double sx = ((double) width) / pb.Width;
|
||||
double sy = ((double) height) / pb.Height;
|
||||
|
@ -255,43 +241,29 @@ namespace Xwt.GtkBackend
|
|||
else
|
||||
ctx.Context.PaintWithAlpha (alpha);
|
||||
ctx.Context.Restore ();
|
||||
|
||||
/* var imgs = new Cairo.ImageSurface (Cairo.Format.ARGB32, pb.Width, pb.Height);
|
||||
var ic = new Cairo.Context (imgs);
|
||||
Gdk.CairoHelper.SetSourcePixbuf (ic, pb, 0, 0);
|
||||
if (alpha == 1)
|
||||
ic.Paint ();
|
||||
else
|
||||
ic.PaintWithAlpha (alpha);
|
||||
|
||||
var sp = new Cairo.SurfacePattern (imgs);
|
||||
sp.Extend = Cairo.Extend.None;
|
||||
ctx.Context.Rectangle (x, y, width, height);
|
||||
ctx.Context.Pattern = sp;
|
||||
ctx.Context.Fill ();*/
|
||||
}
|
||||
|
||||
public void ResetTransform (object backend)
|
||||
{
|
||||
GtkContext gc = (GtkContext)backend;
|
||||
CairoContextBackend gc = (CairoContextBackend)backend;
|
||||
gc.Context.IdentityMatrix();
|
||||
}
|
||||
|
||||
public void Rotate (object backend, double angle)
|
||||
{
|
||||
GtkContext gc = (GtkContext)backend;
|
||||
CairoContextBackend gc = (CairoContextBackend)backend;
|
||||
gc.Context.Rotate ((angle * System.Math.PI) / 180);
|
||||
}
|
||||
|
||||
public void Translate (object backend, double tx, double ty)
|
||||
{
|
||||
GtkContext gc = (GtkContext)backend;
|
||||
CairoContextBackend gc = (CairoContextBackend)backend;
|
||||
gc.Context.Translate (tx, ty);
|
||||
}
|
||||
|
||||
public void Dispose (object backend)
|
||||
{
|
||||
var ctx = (GtkContext) backend;
|
||||
var ctx = (CairoContextBackend) backend;
|
||||
IDisposable d = (IDisposable) ctx.Context;
|
||||
d.Dispose ();
|
||||
d = (IDisposable)ctx.TempSurface;
|
|
@ -27,7 +27,7 @@
|
|||
using System;
|
||||
using Xwt.Backends;
|
||||
|
||||
namespace Xwt.GtkBackend
|
||||
namespace Xwt.CairoBackend
|
||||
{
|
||||
public class GradientBackendHandler: IGradientBackendHandler
|
||||
{
|
|
@ -52,9 +52,7 @@
|
|||
<Compile Include="Xwt.GtkBackend\TreeViewBackend.cs" />
|
||||
<Compile Include="Xwt.GtkBackend.CellViews\CellUtil.cs" />
|
||||
<Compile Include="Xwt.GtkBackend\ImageHandler.cs" />
|
||||
<Compile Include="Xwt.GtkBackend\ContextBackendHandler.cs" />
|
||||
<Compile Include="Xwt.GtkBackend\CanvasBackend.cs" />
|
||||
<Compile Include="Xwt.GtkBackend\GradientBackendHandler.cs" />
|
||||
<Compile Include="Xwt.GtkBackend\Util.cs" />
|
||||
<Compile Include="Xwt.GtkBackend\TextLayoutBackendHandler.cs" />
|
||||
<Compile Include="Xwt.GtkBackend\FontBackendHandler.cs" />
|
||||
|
@ -97,6 +95,9 @@
|
|||
<Compile Include="Xwt.GtkBackend\FileDialogBackend.cs" />
|
||||
<Compile Include="Xwt.GtkBackend\PanedBackend.cs" />
|
||||
<Compile Include="Xwt.GtkBackend\SelectColorDialogBackend.cs" />
|
||||
<Compile Include="Xwt.CairoBackend\ContextBackendHandler.cs" />
|
||||
<Compile Include="Xwt.CairoBackend\GradientBackendHandler.cs" />
|
||||
<Compile Include="Xwt.CairoBackend\CairoConversion.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
|
@ -108,6 +109,7 @@
|
|||
<ItemGroup>
|
||||
<Folder Include="Xwt.GtkBackend\" />
|
||||
<Folder Include="Xwt.GtkBackend.CellViews\" />
|
||||
<Folder Include="Xwt.CairoBackend\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Xwt.Gtk.dll.config">
|
||||
|
|
|
@ -29,6 +29,7 @@ using System.Collections.Generic;
|
|||
using Xwt.Backends;
|
||||
using System.Linq;
|
||||
using Xwt.Engine;
|
||||
using Xwt.CairoBackend;
|
||||
|
||||
namespace Xwt.GtkBackend
|
||||
{
|
||||
|
@ -190,7 +191,7 @@ namespace Xwt.GtkBackend
|
|||
|
||||
public object CreateContext ()
|
||||
{
|
||||
GtkContext ctx = new GtkContext ();
|
||||
CairoContextBackend ctx = new CairoContextBackend ();
|
||||
if (!IsRealized) {
|
||||
Cairo.Surface sf = new Cairo.ImageSurface (Cairo.Format.ARGB32, 1, 1);
|
||||
Cairo.Context c = new Cairo.Context (sf);
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
using System;
|
||||
using Xwt.Engine;
|
||||
using Xwt.Backends;
|
||||
using Xwt.CairoBackend;
|
||||
|
||||
namespace Xwt.GtkBackend
|
||||
{
|
||||
|
@ -49,7 +50,7 @@ namespace Xwt.GtkBackend
|
|||
WidgetRegistry.RegisterBackend (typeof(Xwt.ListStore), typeof(ListStoreBackend));
|
||||
WidgetRegistry.RegisterBackend (typeof(Xwt.Canvas), typeof(CanvasBackend));
|
||||
WidgetRegistry.RegisterBackend (typeof(Xwt.Drawing.Image), typeof(ImageHandler));
|
||||
WidgetRegistry.RegisterBackend (typeof(Xwt.Drawing.Context), typeof(ContextBackendHandler));
|
||||
WidgetRegistry.RegisterBackend (typeof(Xwt.Drawing.Context), typeof(Xwt.CairoBackend.ContextBackendHandler));
|
||||
WidgetRegistry.RegisterBackend (typeof(Xwt.Drawing.Gradient), typeof(GradientBackendHandler));
|
||||
WidgetRegistry.RegisterBackend (typeof(Xwt.Drawing.TextLayout), typeof(TextLayoutBackendHandler));
|
||||
WidgetRegistry.RegisterBackend (typeof(Xwt.Drawing.Font), typeof(FontBackendHandler));
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
using System;
|
||||
using Gtk;
|
||||
using Xwt.Drawing;
|
||||
using Xwt.CairoBackend;
|
||||
|
||||
namespace Xwt.GtkBackend
|
||||
{
|
||||
|
@ -136,10 +137,10 @@ namespace Xwt.GtkBackend
|
|||
cr.RelLineTo (0, -rect.Height);
|
||||
cr.ClosePath ();
|
||||
Cairo.Gradient pat = new Cairo.LinearGradient (rect.X, rect.Y, rect.X, rect.Bottom);
|
||||
Cairo.Color color1 = Util.ToCairoColor (gcol);
|
||||
Cairo.Color color1 = gcol.ToCairoColor ();
|
||||
pat.AddColorStop (0, color1);
|
||||
gcol.Light -= 0.1;
|
||||
pat.AddColorStop (1, Util.ToCairoColor (gcol));
|
||||
pat.AddColorStop (1, gcol.ToCairoColor ());
|
||||
cr.Pattern = pat;
|
||||
cr.FillPreserve ();
|
||||
}
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
using System;
|
||||
using Xwt.Backends;
|
||||
using Xwt.Drawing;
|
||||
using Xwt.CairoBackend;
|
||||
|
||||
namespace Xwt.GtkBackend
|
||||
{
|
||||
|
@ -49,7 +50,7 @@ namespace Xwt.GtkBackend
|
|||
public object CreateContext (object backend)
|
||||
{
|
||||
Cairo.Surface sf = (Cairo.Surface) backend;
|
||||
GtkContext ctx = new GtkContext ();
|
||||
CairoContextBackend ctx = new CairoContextBackend ();
|
||||
ctx.Context = new Cairo.Context (sf);
|
||||
return ctx;
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
using System;
|
||||
using Xwt.Backends;
|
||||
using Xwt.Drawing;
|
||||
using Xwt.CairoBackend;
|
||||
|
||||
|
||||
namespace Xwt.GtkBackend
|
||||
|
@ -72,7 +73,7 @@ namespace Xwt.GtkBackend
|
|||
{
|
||||
using (var ctx = Gdk.CairoHelper.Create (Label.GdkWindow)) {
|
||||
ctx.Rectangle (Label.Allocation.X, Label.Allocation.Y, Label.Allocation.Width, Label.Allocation.Height);
|
||||
ctx.Color = Util.ToCairoColor (backColor);
|
||||
ctx.Color = backColor.ToCairoColor ();
|
||||
ctx.Fill ();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,6 +28,7 @@ using System;
|
|||
using Xwt.Backends;
|
||||
using Xwt.Drawing;
|
||||
using Xwt.Engine;
|
||||
using Xwt.CairoBackend;
|
||||
|
||||
namespace Xwt.GtkBackend
|
||||
{
|
||||
|
@ -44,7 +45,7 @@ namespace Xwt.GtkBackend
|
|||
public object Create (Context context)
|
||||
{
|
||||
if (context != null) {
|
||||
GtkContext c = (GtkContext) WidgetRegistry.GetBackend (context);
|
||||
CairoContextBackend c = (CairoContextBackend) WidgetRegistry.GetBackend (context);
|
||||
return Pango.CairoHelper.CreateLayout (c.Context);
|
||||
} else
|
||||
return Pango.CairoHelper.CreateLayout (SharedContext);
|
||||
|
|
|
@ -39,11 +39,6 @@ namespace Xwt.GtkBackend
|
|||
static Dictionary<TransferDataType, Gtk.TargetEntry[]> dragTargets = new Dictionary<TransferDataType, Gtk.TargetEntry[]> ();
|
||||
static Dictionary<string, TransferDataType> atomToType = new Dictionary<string, TransferDataType> ();
|
||||
|
||||
public static Cairo.Color ToCairoColor (this Color col)
|
||||
{
|
||||
return new Cairo.Color (col.Red, col.Green, col.Blue, col.Alpha);
|
||||
}
|
||||
|
||||
public static void SetDragData (TransferDataSource data, Gtk.DragDataGetArgs args)
|
||||
{
|
||||
foreach (var t in data.DataTypes) {
|
||||
|
|
52
Xwt.sln
52
Xwt.sln
|
@ -24,23 +24,12 @@ Global
|
|||
Win-Debug|Any CPU = Win-Debug|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}.Mac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}.Mac-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}.Win-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}.Win-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C3887A93-B2BD-4097-8E2F-3A063EFF32FD}.Mac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C3887A93-B2BD-4097-8E2F-3A063EFF32FD}.Mac-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C3887A93-B2BD-4097-8E2F-3A063EFF32FD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C3887A93-B2BD-4097-8E2F-3A063EFF32FD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{C3887A93-B2BD-4097-8E2F-3A063EFF32FD}.Win-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C3887A93-B2BD-4097-8E2F-3A063EFF32FD}.Win-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B7C1673E-5124-4BE5-8D21-EC8B12F85B6B}.Mac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B7C1673E-5124-4BE5-8D21-EC8B12F85B6B}.Mac-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B7C1673E-5124-4BE5-8D21-EC8B12F85B6B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B7C1673E-5124-4BE5-8D21-EC8B12F85B6B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{B7C1673E-5124-4BE5-8D21-EC8B12F85B6B}.Win-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0AF50CE4-E455-4A9D-92AD-711CBD068A55}.Mac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0AF50CE4-E455-4A9D-92AD-711CBD068A55}.Mac-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0AF50CE4-E455-4A9D-92AD-711CBD068A55}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0AF50CE4-E455-4A9D-92AD-711CBD068A55}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{0AF50CE4-E455-4A9D-92AD-711CBD068A55}.Win-Debug|Any CPU.ActiveCfg = Debug|x86
|
||||
{0AF50CE4-E455-4A9D-92AD-711CBD068A55}.Win-Debug|Any CPU.Build.0 = Debug|x86
|
||||
{2B7FF081-FE53-42F7-9D5D-D4B38E548F94}.Mac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2B7FF081-FE53-42F7-9D5D-D4B38E548F94}.Mac-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2B7FF081-FE53-42F7-9D5D-D4B38E548F94}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
|
@ -53,12 +42,23 @@ Global
|
|||
{88C04B85-B69B-47B4-AB9F-64F6DD4E0897}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{88C04B85-B69B-47B4-AB9F-64F6DD4E0897}.Win-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{88C04B85-B69B-47B4-AB9F-64F6DD4E0897}.Win-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0AF50CE4-E455-4A9D-92AD-711CBD068A55}.Mac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0AF50CE4-E455-4A9D-92AD-711CBD068A55}.Mac-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0AF50CE4-E455-4A9D-92AD-711CBD068A55}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0AF50CE4-E455-4A9D-92AD-711CBD068A55}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{0AF50CE4-E455-4A9D-92AD-711CBD068A55}.Win-Debug|Any CPU.ActiveCfg = Debug|x86
|
||||
{0AF50CE4-E455-4A9D-92AD-711CBD068A55}.Win-Debug|Any CPU.Build.0 = Debug|x86
|
||||
{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}.Mac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}.Mac-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}.Win-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}.Win-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B7C1673E-5124-4BE5-8D21-EC8B12F85B6B}.Mac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B7C1673E-5124-4BE5-8D21-EC8B12F85B6B}.Mac-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B7C1673E-5124-4BE5-8D21-EC8B12F85B6B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B7C1673E-5124-4BE5-8D21-EC8B12F85B6B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{B7C1673E-5124-4BE5-8D21-EC8B12F85B6B}.Win-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C3887A93-B2BD-4097-8E2F-3A063EFF32FD}.Mac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C3887A93-B2BD-4097-8E2F-3A063EFF32FD}.Mac-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C3887A93-B2BD-4097-8E2F-3A063EFF32FD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C3887A93-B2BD-4097-8E2F-3A063EFF32FD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{C3887A93-B2BD-4097-8E2F-3A063EFF32FD}.Win-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C3887A93-B2BD-4097-8E2F-3A063EFF32FD}.Win-Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C93D746E-1586-4D4F-B411-BF5A966E6A08}.Mac-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C93D746E-1586-4D4F-B411-BF5A966E6A08}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C93D746E-1586-4D4F-B411-BF5A966E6A08}.Win-Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
|
@ -69,9 +69,6 @@ Global
|
|||
{E41F4448-15C3-4E95-B310-FD333FDF5D2F}.Win-Debug|Any CPU.ActiveCfg = Debug|x86
|
||||
{E41F4448-15C3-4E95-B310-FD333FDF5D2F}.Win-Debug|Any CPU.Build.0 = Debug|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(MonoDevelopProperties) = preSolution
|
||||
StartupItem = GtkTest\GtkTest.csproj
|
||||
Policies = $0
|
||||
|
@ -84,4 +81,7 @@ Global
|
|||
$3.Text = @\n${FileName}\n \nAuthor:\n ${AuthorName} <${AuthorEmail}>\n\nCopyright (c) ${Year} ${CopyrightHolder}\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.
|
||||
$3.IncludeInNewFiles = True
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
Загрузка…
Ссылка в новой задаче