mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 12:55:26 +00:00
01acd7f576
* generator/Signal.cs : rmv Handle param to SignalCallback ctor calls. s/GtkSharp.Signal*/GLib.Signal*. * generator/SignalHandler.cs : rmv Handle param to ctors as it's redundant. s/GtkSharp.Signal*/GLib.Signal*. Use new Connect/Disconnect instead of generating DllImports into libgobject directly. * glib/SignalArgs.cs : move the the GLib namespace. * glib/SignalCallback.cs : expose Connect and Disconnect methods to hide some pinvokes that were previously generated. Also move to the GLib namespace. gnome/*Handler.cs : update to new SignalHandler API. gnome/CanvasProxy.cs : ditto gnome/void*Signal.cs : ditto svn path=/trunk/gtk-sharp/; revision=26778
36 lines
501 B
C#
36 lines
501 B
C#
//
|
|
// Gnome.CanvasUpdateHandler.cs
|
|
//
|
|
// Author: Duncan Mak (duncan@ximian.com)
|
|
//
|
|
// 2002 (C) Copyright, Ximian, Inc.
|
|
//
|
|
|
|
namespace Gnome {
|
|
|
|
using System;
|
|
|
|
public delegate void UpdateHandler (object o, UpdateArgs args);
|
|
|
|
public class UpdateArgs : GLib.SignalArgs {
|
|
|
|
public double [] Affine {
|
|
get {
|
|
return (double []) Args [0];
|
|
}
|
|
}
|
|
|
|
public Art.SVP ClipPath {
|
|
get {
|
|
return (Art.SVP) Args [1];
|
|
}
|
|
}
|
|
|
|
public int Flags {
|
|
get {
|
|
return (int) Args [2];
|
|
}
|
|
}
|
|
}
|
|
}
|