aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-20 04:11:24 +0000
committerDavid Robillard <d@drobilla.net>2011-10-20 04:11:24 +0000
commitc9321a790de52835588989ac6c032a44c5eed668 (patch)
treef938a95beca8f64fb2f0c8ce5166f547337b8bbc /src/jalv_internal.h
parentc059e981b4d563edfb19a73e48b79efab34eee86 (diff)
downloadjalv-c9321a790de52835588989ac6c032a44c5eed668.tar.gz
jalv-c9321a790de52835588989ac6c032a44c5eed668.tar.bz2
jalv-c9321a790de52835588989ac6c032a44c5eed668.zip
Support UI resize extension.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@3552 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 9a36f9a..9b2946c 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -75,6 +75,10 @@ typedef struct {
JalvOptions opts; /**< Command-line options */
const char* prog_name; /**< Program name (argv[0]) */
LilvWorld* world; /**< Lilv World */
+#ifdef HAVE_LV2_UI_RESIZE
+ int ui_width; /**< Requested UI width */
+ int ui_height; /**< Requested UI height */
+#endif
SerdReader* reader; /**< RDF reader (for persistence) */
SerdWriter* writer; /**< RDF writer (for persistence) */
struct Property* props; /**< Restored state properties */
@@ -127,6 +131,9 @@ jalv_open_ui(Jalv* jalv,
bool
jalv_emit_ui_events(Jalv* jalv);
+int
+jalv_ui_resize(Jalv* jalv, int width, int height);
+
void
jalv_save(Jalv* jalv, const char* dir);