diff options
author | David Robillard <d@drobilla.net> | 2011-12-07 03:48:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-07 03:48:34 +0000 |
commit | 9ce9a936d4150e51b77bf1ab89263afbcc729a7e (patch) | |
tree | dbc75b39886e0278bdd3895ae5caa442096cc3f4 /ganv | |
parent | 388d736799e23d5a22e52751c7522147fa5293cb (diff) | |
download | ganv-9ce9a936d4150e51b77bf1ab89263afbcc729a7e.tar.gz ganv-9ce9a936d4150e51b77bf1ab89263afbcc729a7e.tar.bz2 ganv-9ce9a936d4150e51b77bf1ab89263afbcc729a7e.zip |
Support creating modules via pure GObject construction.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3826 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ganv')
-rw-r--r-- | ganv/module.h | 3 | ||||
-rw-r--r-- | ganv/text.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ganv/module.h b/ganv/module.h index e4b4e79..3bf6192 100644 --- a/ganv/module.h +++ b/ganv/module.h @@ -59,6 +59,9 @@ GanvModule* ganv_module_new(GanvCanvas* canvas, const char* first_prop_name, ...); +guint +ganv_module_num_ports(const GanvModule* module); + void ganv_module_add_port(GanvModule* module, GanvPort* port); diff --git a/ganv/text.h b/ganv/text.h index 0fc7ca0..5d0d464 100644 --- a/ganv/text.h +++ b/ganv/text.h @@ -48,6 +48,7 @@ struct _GanvText GanvTextCoords coords; GanvTextCoords old_coords; guint color; + gboolean needs_layout; }; struct _GanvTextClass { |