mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-11-15 12:24:49 +00:00
[ Patch from Ricardo Fernandez Pascual <rfp1@ono.com> for
libglade support (slightly modified) ]
* configure.in: Conditionally compile glade support.
* makefile: Add glade directory.
* glade/: Added.
* sample/makefile.in: Add (conditional) glade example.
* sample/GladeViewer.cs: Added.
* glue/gladexml.c: Added.
* glue/Makefile.am: Updated.
* parser/build.pl: Parse libglade-2.0.0.
* parser/README: Update requirements.
2002-08-12 Rachel Hestilow <hestilow@ximian.com>
* parser/gapi_pp.pl: Handle "typedef struct {...}" construct.
* glue/canvaspoints.c: Added.
* glue/Makefile.am: Updated.
* gnome/CanvasPoints.custom: Added. (Doesn't seem to work right yet,
looking into this.)
svn path=/trunk/gtk-sharp/; revision=6601
20 lines
531 B
Plaintext
20 lines
531 B
Plaintext
//
|
|
// Gnome.CanvasPoints.custom - Gnome CanvasPoints class customizations
|
|
//
|
|
// Author: Rachel Hestilow <hestilow@ximian.com>
|
|
//
|
|
// Copyright (C) 2002 Rachel Hestilow
|
|
//
|
|
// This code is inserted after the automatically generated code.
|
|
//
|
|
|
|
[DllImport("gtksharpglue")]
|
|
static extern System.IntPtr
|
|
gtksharp_gnome_canvas_points_new_from_array (uint num_points, double[] coords);
|
|
|
|
public static Gnome.CanvasPoints New (double[] coords)
|
|
{
|
|
return New (gtksharp_gnome_canvas_points_new_from_array ((uint) coords.Length / 2, coords));
|
|
}
|
|
|