mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 17:15:34 +00:00
1351a509e6
* codegen/defs-parse.pl : Build a structs hash and gen the structs after the first pass of the defs. For structs and functions, mangle the 100s of params/fields named object to objekt. Insert using stmnts for structs too. * codegen/hardcoded.defs : Add GtkAccelEntry struct. svn path=/trunk/gtk-sharp/; revision=1286
31 lines
689 B
Plaintext
31 lines
689 B
Plaintext
(define-struct Geometry
|
|
(in-module "Gdk")
|
|
(c-name "GdkGeometry")
|
|
(fields
|
|
'("gint" "min_width")
|
|
'("gint" "max_width")
|
|
'("gint" "min_height")
|
|
'("gint" "max_height")
|
|
'("gint" "base_width")
|
|
'("gint" "base_height")
|
|
'("gint" "width_inc")
|
|
'("gint" "height_inc")
|
|
'("gdouble" "min_aspect")
|
|
'("gdouble" "max_aspect")
|
|
'("GdkGravity" "win_gravity")
|
|
)
|
|
)
|
|
|
|
(define-struct AccelEntry
|
|
(in-module "Gtk")
|
|
(c-name "GtkAccelEntry")
|
|
(fields
|
|
'("GtkAccelGroup*" "accel_group")
|
|
'("guint" "accelerator_key")
|
|
'("GdkModifierType" "accelerator_mods")
|
|
'("GtkAccelFlags" "accel_flags")
|
|
'("GObject*" "object")
|
|
'("guint" "signal_id")
|
|
)
|
|
)
|