1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gdk {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
#region Autogenerated code
[StructLayout(LayoutKind.Sequential)]
public partial struct PixbufFrame : IEquatable<PixbufFrame> {
private IntPtr _pixbuf;
public Gdk.Pixbuf Pixbuf {
get {
return GLib.Object.GetObject(_pixbuf) as Gdk.Pixbuf;
}
set {
_pixbuf = value == null ? IntPtr.Zero : value.Handle;
}
}
public int XOffset;
public int YOffset;
public int DelayTime;
public int Elapsed;
public Gdk.PixbufFrameAction Action;
public bool NeedRecomposite;
public bool BgTransparent;
private IntPtr _composited;
public Gdk.Pixbuf Composited {
get {
return GLib.Object.GetObject(_composited) as Gdk.Pixbuf;
}
set {
_composited = value == null ? IntPtr.Zero : value.Handle;
}
}
private IntPtr _revert;
public Gdk.Pixbuf Revert {
get {
return GLib.Object.GetObject(_revert) as Gdk.Pixbuf;
}
set {
_revert = value == null ? IntPtr.Zero : value.Handle;
}
}
public static Gdk.PixbufFrame Zero = new Gdk.PixbufFrame ();
public static Gdk.PixbufFrame New(IntPtr raw) {
if (raw == IntPtr.Zero)
return Gdk.PixbufFrame.Zero;
return (Gdk.PixbufFrame) Marshal.PtrToStructure (raw, typeof (Gdk.PixbufFrame));
}
public bool Equals (PixbufFrame other)
{
return true && Pixbuf.Equals (other.Pixbuf) && XOffset.Equals (other.XOffset) && YOffset.Equals (other.YOffset) && DelayTime.Equals (other.DelayTime) && Elapsed.Equals (other.Elapsed) && Action.Equals (other.Action) && NeedRecomposite.Equals (other.NeedRecomposite) && BgTransparent.Equals (other.BgTransparent) && Composited.Equals (other.Composited) && Revert.Equals (other.Revert);
}
public override bool Equals (object other)
{
return other is PixbufFrame && Equals ((PixbufFrame) other);
}
public override int GetHashCode ()
{
return this.GetType ().FullName.GetHashCode () ^ Pixbuf.GetHashCode () ^ XOffset.GetHashCode () ^ YOffset.GetHashCode () ^ DelayTime.GetHashCode () ^ Elapsed.GetHashCode () ^ Action.GetHashCode () ^ NeedRecomposite.GetHashCode () ^ BgTransparent.GetHashCode () ^ Composited.GetHashCode () ^ Revert.GetHashCode ();
}
private static GLib.GType GType {
get { return GLib.GType.Pointer; }
}
#endregion
}
}
|