aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-05-08 12:18:48 +0000
committerDavid Robillard <d@drobilla.net>2014-05-08 12:18:48 +0000
commit861f0420ea20d4b7d7bea4d794f88226dce51614 (patch)
treed60f63e73f3a0f8a697d175b32f00baf5e80fc29 /lv2/lv2plug.in
parentba92af715f52281d4b015cbff4651448e3a44bc3 (diff)
downloadlv2-861f0420ea20d4b7d7bea4d794f88226dce51614.tar.xz
Add windowTitle property.
Diffstat (limited to 'lv2/lv2plug.in')
-rw-r--r--lv2/lv2plug.in/ns/extensions/ui/ui.h8
-rw-r--r--lv2/lv2plug.in/ns/extensions/ui/ui.ttl5
2 files changed, 11 insertions, 2 deletions
diff --git a/lv2/lv2plug.in/ns/extensions/ui/ui.h b/lv2/lv2plug.in/ns/extensions/ui/ui.h
index 9eaa75c..4ce0227 100644
--- a/lv2/lv2plug.in/ns/extensions/ui/ui.h
+++ b/lv2/lv2plug.in/ns/extensions/ui/ui.h
@@ -17,7 +17,7 @@
*/
/**
- @file ui.h User Interface API
+ @file ui.h User Interface API.
For high-level documentation, see <http://lv2plug.in/ns/extensions/ui>.
*/
@@ -55,7 +55,7 @@
#define LV2_UI__showInterface LV2_UI_PREFIX "showInterface"
#define LV2_UI__touch LV2_UI_PREFIX "touch"
#define LV2_UI__ui LV2_UI_PREFIX "ui"
-#define LV2_UI__updateRate LV2_UI_PREFIX "updateRate"
+#define LV2_UI__windowTitle LV2_UI_PREFIX "windowTitle"
/**
The index returned by LV2_UI_Port_Port::port_index() for unknown ports.
@@ -369,6 +369,10 @@ typedef struct _LV2UI_Show_Interface {
/**
Show a window for this UI.
+ The window title MAY have been passed by the host to
+ LV2UI_Descriptor::instantiate() as an LV2_Options_Option with key
+ LV2_UI__windowTitle.
+
@return 0 on success, or anything else to stop being called.
*/
int (*show)(LV2UI_Handle ui);
diff --git a/lv2/lv2plug.in/ns/extensions/ui/ui.ttl b/lv2/lv2plug.in/ns/extensions/ui/ui.ttl
index 9fb19c9..512a967 100644
--- a/lv2/lv2plug.in/ns/extensions/ui/ui.ttl
+++ b/lv2/lv2plug.in/ns/extensions/ui/ui.ttl
@@ -346,6 +346,11 @@ URI (LV2_UI__showInterface), it should return a pointer to an
LV2UI_Show_Interface.</p>
""" .
+ui:windowTitle
+ a rdf:Property ;
+ rdfs:range xsd:string ;
+ rdfs:comment "The title for the window shown by LV2UI_Show_Interface." .
+
ui:updateRate
a rdf:Property ;
rdfs:range xsd:float ;