diff options
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r-- | src/jalv_internal.h | 7 |
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); |