mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 23:05:31 +00:00
d58e384ec1
* gnome/CanvasProxy.cs: * gnome/GtkSharp.BoundsHandler.cs: * gnome/GtkSharp.DrawHandler.cs: * gnome/GtkSharp.PointHandler.cs: * gnome/GtkSharp.RenderHandler.cs: * gnome/GtkSharp.UpdateHandler.cs: C# glue for subclassing CanvasItems. * glue/canvas-proxy-marshal.c: * glue/canvas-proxy-marshal.h: * glue/canvas-proxy-marshal.list: * glue/canvas-proxy.c: Added the coverage signal. svn path=/trunk/gtk-sharp/; revision=6708
52 lines
832 B
C#
52 lines
832 B
C#
//
|
|
// GtkSharp.BoundsHandler.cs
|
|
//
|
|
// Author: Duncan Mak (duncan@ximian.com)
|
|
//
|
|
// 2002 (C) Copyright, Ximian, Inc.
|
|
//
|
|
|
|
namespace GtkSharp {
|
|
|
|
using System;
|
|
|
|
/// <summary> BoundsHandler Delegate </summary>
|
|
/// <remarks>
|
|
/// Delegate signature for Bounds Event handlers
|
|
/// </remarks>
|
|
|
|
public delegate void BoundsHandler(object o, BoundsArgs args);
|
|
|
|
/// <summary> BoundsArgs Class </summary>
|
|
/// <remarks>
|
|
/// Arguments for Bounds Event handlers
|
|
/// </remarks>
|
|
|
|
public class BoundsArgs : GtkSharp.SignalArgs {
|
|
|
|
public double [] X1 {
|
|
get {
|
|
return (double []) Args [0];
|
|
}
|
|
}
|
|
|
|
public double [] Y1 {
|
|
get {
|
|
return (double []) Args [1];
|
|
}
|
|
}
|
|
|
|
public double [] X2 {
|
|
get {
|
|
return (double []) Args [2];
|
|
}
|
|
}
|
|
|
|
public double [] Y2 {
|
|
get {
|
|
return (double []) Args [3];
|
|
}
|
|
}
|
|
}
|
|
}
|