mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 00:45:41 +00:00
bc8ca2e212
* gdk/gdk-api.xml : regenerated * sources/Gdk.metadata : mark Cursor opaque. mark confine_to and cursor null_ok in Gdk.Pointer.Grab. [Fixes #48273] svn path=/trunk/gtk-sharp/; revision=18847
356 lines
6.8 KiB
XML
356 lines
6.8 KiB
XML
<?xml version="1.0"?>
|
|
<metadata>
|
|
|
|
<!-- constructor collision hints -->
|
|
<rule>
|
|
<class name="GdkPixbuf">
|
|
<constructor>gdk_pixbuf_new_from_file</constructor>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>preferred</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<!-- array hints -->
|
|
<rule>
|
|
<class name="GdkPixbufLoader">
|
|
<method>Write</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="name">buf</filter>
|
|
<name>array</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<rule>
|
|
<class name="GdkDrawable">
|
|
<method>DrawPolygon</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">GdkPoint*</filter>
|
|
<name>array</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<rule>
|
|
<class name="GdkDrawable">
|
|
<method>DrawLines</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">GdkPoint*</filter>
|
|
<name>array</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<!-- null args -->
|
|
<rule>
|
|
<class name="GdkPixmap">
|
|
<constructor>gdk_pixmap_new</constructor>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">GdkDrawable*</filter>
|
|
<name>null_ok</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkPointer_">
|
|
<method>Grab</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="name">cursor</filter>
|
|
<name>null_ok</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
<attribute target="param">
|
|
<filter level="name">confine_to</filter>
|
|
<name>null_ok</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<rule>
|
|
<class name="GdkCursor"/>
|
|
<data>
|
|
<attribute target="class">
|
|
<name>opaque</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<!-- API hacks -->
|
|
<rule>
|
|
<class name="GdkBitmap"/>
|
|
<class name="GdkPixmap"/>
|
|
<class name="GdkWindow"/>
|
|
<data>
|
|
<attribute target="class">
|
|
<name>parent</name>
|
|
<value>GdkDrawable</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkPixmapObject"/>
|
|
<class name="GdkWindowObject"/>
|
|
<data>
|
|
<attribute target="class">
|
|
<delete/>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkPixbuf">
|
|
<method>RenderThresholdAlpha</method>
|
|
<method>RenderToDrawable</method>
|
|
<method>RenderToDrawableAlpha</method>
|
|
<method>RenderPixmapAndMaskForColormap</method>
|
|
<method>RenderPixmapAndMask</method>
|
|
<method>GetFromDrawable</method>
|
|
<method>GetFromImage</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>library</name>
|
|
<value>libgdk-win32-2.0-0.dll</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkColor">
|
|
<method>Parse</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="return">
|
|
<name>type</name>
|
|
<value>gboolean</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<!-- ref parameters -->
|
|
<rule>
|
|
<class name="GdkColor">
|
|
<method>Parse</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">GdkColor*</filter>
|
|
<name>pass_as</name>
|
|
<value>ref</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<!-- out parameters -->
|
|
<rule>
|
|
<class name="GdkWindow">
|
|
<method>GetPointer</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">gint*</filter>
|
|
<name>pass_as</name>
|
|
<value>out</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkWindow">
|
|
<method>GetPointer</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">GdkModifierType*</filter>
|
|
<name>pass_as</name>
|
|
<value>out</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkWindow">
|
|
<method>GetInternalPaintInfo</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">GdkDrawable**</filter>
|
|
<name>pass_as</name>
|
|
<value>out</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkWindow">
|
|
<method>GetInternalPaintInfo</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">gint*</filter>
|
|
<name>pass_as</name>
|
|
<value>out</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkWindow">
|
|
<method>GetOrigin</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">gint*</filter>
|
|
<name>pass_as</name>
|
|
<value>out</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkDrawable">
|
|
<method>GetSize</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="param">
|
|
<filter level="type">gint*</filter>
|
|
<name>pass_as</name>
|
|
<value>out</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<!-- hides -->
|
|
<rule>
|
|
<class name="GdkDrawable">
|
|
<method>DrawPolygon</method>
|
|
<method>DrawLines</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>hidden</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkColor">
|
|
<method>Hash</method>
|
|
<method>Copy</method>
|
|
<method>Free</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>hidden</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkPixbuf">
|
|
<method>AddAlpha</method>
|
|
<method>ScaleSimple</method>
|
|
<method>CompositeColorSimple</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>hidden</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkColormap">
|
|
<method>AllocColor</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>hidden</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkScreen">
|
|
<method>Height</method>
|
|
<method>HeightMm</method>
|
|
<method>Width</method>
|
|
<method>WidthMm</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>hidden</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<rule>
|
|
<class name="GdkPixbufLoader">
|
|
<method>GetPixbuf</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>needs_ref</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<rule>
|
|
<class name="GdkPixbuf">
|
|
<method>GetPixels</method>
|
|
</class>
|
|
<data>
|
|
<attribute target="method">
|
|
<name>hidden</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkPixbuf_"/>
|
|
<data>
|
|
<attribute target="class">
|
|
<name>hidden</name>
|
|
<value>1</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
<!-- renames -->
|
|
<rule>
|
|
<class name="GdkEvent_"/>
|
|
<data>
|
|
<attribute target="class">
|
|
<name>name</name>
|
|
<value>EventHelper</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
<rule>
|
|
<class name="GdkPango_"/>
|
|
<data>
|
|
<attribute target="class">
|
|
<name>name</name>
|
|
<value>PangoHelper</value>
|
|
</attribute>
|
|
</data>
|
|
</rule>
|
|
|
|
</metadata>
|