mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-08 07:53:17 +02:00
![Mikkel Kruse Johnsen](/assets/img/avatar_default.png)
Had to change gapi2xml.pl to use the new properties method/macro in gtkwindow.c - Issue, "invisible-chars" and "inner-border" is generated twice in gtkentry.c Made patch to gwin32registrykey to use little endian by default. So Windows om ARM may fail.
25 lines
443 B
C#
25 lines
443 B
C#
namespace Gdk {
|
|
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
|
|
public partial struct RGBA {
|
|
|
|
|
|
public static explicit operator GLib.Value (Gdk.RGBA boxed)
|
|
{
|
|
GLib.Value val = GLib.Value.Empty;
|
|
val.Init (Gdk.RGBA.GType);
|
|
val.Val = boxed;
|
|
return val;
|
|
}
|
|
|
|
public static explicit operator Gdk.RGBA (GLib.Value val)
|
|
{
|
|
return (Gdk.RGBA) val.Val;
|
|
}
|
|
}
|
|
}
|