mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 17:55:32 +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
34 lines
613 B
C#
34 lines
613 B
C#
//
|
|
// GtkSharp.RenderHandler.cs
|
|
//
|
|
// Author: Duncan Mak (duncan@ximian.com)
|
|
//
|
|
// 2002 (C) Copyright, Ximian, Inc.
|
|
//
|
|
|
|
namespace GtkSharp {
|
|
|
|
using System;
|
|
|
|
/// <summary> RenderHandler Delegate </summary>
|
|
/// <remarks>
|
|
/// Delegate signature for Render Event handlers
|
|
/// </remarks>
|
|
|
|
public delegate void RenderHandler(object o, RenderArgs args);
|
|
|
|
/// <summary> RenderArgs Class </summary>
|
|
/// <remarks>
|
|
/// Arguments for Render Event handlers
|
|
/// </remarks>
|
|
|
|
public class RenderArgs : GtkSharp.SignalArgs {
|
|
|
|
public Gnome.CanvasBuf Buf {
|
|
get {
|
|
return (Gnome.CanvasBuf) Args [0];
|
|
}
|
|
}
|
|
}
|
|
}
|