2003-12-08 Luciano M. <martorella@sssup.it>
* gdk/Gdk.metadata : ref/array tags * gdk/Colormap.custom : removed * gdk/gdk-api.xml : regen svn path=/trunk/gtk-sharp/; revision=20938
This commit is contained in:
parent
bc37b4ff76
commit
90cad8de89
4 changed files with 17 additions and 25 deletions
|
@ -1,3 +1,9 @@
|
|||
2003-12-08 Luciano M. <martorella@sssup.it>
|
||||
|
||||
* gdk/Gdk.metadata : ref/array tags
|
||||
* gdk/Colormap.custom : removed
|
||||
* gdk/gdk-api.xml : regen
|
||||
|
||||
2003-12-08 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* generator/Signal.cs : add virtual method generation for the
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
// Gdk.Color.custom - Gdk Color class customizations
|
||||
//
|
||||
// Authors:
|
||||
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
|
||||
//
|
||||
// (c) 2003 Ximian, Inc. (gonzalo@ximian.com)
|
||||
//
|
||||
// This code is inserted after the automatically generated code.
|
||||
|
||||
|
||||
[DllImport("libgdk-win32-2.0-0.dll")]
|
||||
static extern bool gdk_colormap_alloc_color(IntPtr raw, ref Gdk.Color color, bool writeable, bool best_match);
|
||||
|
||||
public bool AllocColor (ref Gdk.Color color, bool writeable, bool best_match)
|
||||
{
|
||||
return gdk_colormap_alloc_color (Handle, ref color, writeable, best_match);
|
||||
}
|
||||
|
|
@ -13,7 +13,11 @@
|
|||
<attr path="//class[@cname='GdkPointer_']/method[@name='Grab']/*/*[@name='confine_to']" name="null_ok">1</attr>
|
||||
<attr path="//class[@cname='GdkPointer_']/method[@name='Grab']/*/*[@name='cursor']" name="null_ok">1</attr>
|
||||
<attr path="//object[@cname='GdkBitmap']" name="parent">GdkDrawable</attr>
|
||||
<attr path="//object[@cname='GdkColormap']/method[@name='AllocColor']" name="hidden">1</attr>
|
||||
<attr path="//object[@cname='GdkColormap']/method[@name='AllocColor']/*/*[@type='GdkColor*']" name="pass_as">ref</attr>
|
||||
<attr path="//object[@cname='GdkColormap']/method[@name='AllocColors']/*/*[@type='GdkColor*']" name="array">1</attr>
|
||||
<attr path="//object[@cname='GdkColormap']/method[@name='AllocColors']/*/*[@name='success']" name="array">1</attr>
|
||||
<attr path="//object[@cname='GdkColormap']/method[@name='QueryColor']/*/*[@type='GdkColor*']" name="pass_as">ref</attr>
|
||||
<attr path="//object[@cname='GdkColormap']/method[@name='FreeColors']/*/*[@type='GdkColor*']" name="array">1</attr>
|
||||
<attr path="//object[@cname='GdkDrawable']/method[@name='DrawLines']" name="hidden">1</attr>
|
||||
<attr path="//object[@cname='GdkDrawable']/method[@name='DrawPolygon']" name="hidden">1</attr>
|
||||
<attr path="//object[@cname='GdkDrawable']/method[@name='GetSize']/*/*[@type='gint*']" name="pass_as">out</attr>
|
||||
|
|
|
@ -495,10 +495,10 @@
|
|||
<field cname="colors" type="GdkColor*" />
|
||||
<field cname="visual" type="GdkVisual*" />
|
||||
<field cname="windowing_data" type="gpointer" />
|
||||
<method name="AllocColor" cname="gdk_colormap_alloc_color" hidden="1">
|
||||
<method name="AllocColor" cname="gdk_colormap_alloc_color">
|
||||
<return-type type="gboolean" />
|
||||
<parameters>
|
||||
<parameter type="GdkColor*" name="color" />
|
||||
<parameter type="GdkColor*" name="color" pass_as="ref" />
|
||||
<parameter type="gboolean" name="writeable" />
|
||||
<parameter type="gboolean" name="best_match" />
|
||||
</parameters>
|
||||
|
@ -506,17 +506,17 @@
|
|||
<method name="AllocColors" cname="gdk_colormap_alloc_colors">
|
||||
<return-type type="gint" />
|
||||
<parameters>
|
||||
<parameter type="GdkColor*" name="colors" />
|
||||
<parameter type="GdkColor*" name="colors" array="1" />
|
||||
<parameter type="gint" name="ncolors" />
|
||||
<parameter type="gboolean" name="writeable" />
|
||||
<parameter type="gboolean" name="best_match" />
|
||||
<parameter type="gboolean*" name="success" />
|
||||
<parameter type="gboolean*" name="success" array="1" />
|
||||
</parameters>
|
||||
</method>
|
||||
<method name="FreeColors" cname="gdk_colormap_free_colors">
|
||||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="GdkColor*" name="colors" />
|
||||
<parameter type="GdkColor*" name="colors" array="1" />
|
||||
<parameter type="gint" name="ncolors" />
|
||||
</parameters>
|
||||
</method>
|
||||
|
@ -542,7 +542,7 @@
|
|||
<return-type type="void" />
|
||||
<parameters>
|
||||
<parameter type="gulong" name="pixel" />
|
||||
<parameter type="GdkColor*" name="result" />
|
||||
<parameter type="GdkColor*" name="result" pass_as="ref" />
|
||||
</parameters>
|
||||
</method>
|
||||
</object>
|
||||
|
|
Loading…
Add table
Reference in a new issue