summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2004-07-26 16:05:18 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2004-07-26 16:05:18 +0000
commitcb9b415aa5209943b3a39e9d02ce10282a0be256 (patch)
treee7ac5ef5dc43a17f1f62e7759765c0a4c7047315
parent8a374ddd8851d801cdb102a9adacd487f2317922 (diff)
more about UI_HINT: some thoughts about roles
Original commit message from CVS: more about UI_HINT: some thoughts about roles
-rw-r--r--docs/random/ensonic/interfaces.txt27
1 files changed, 24 insertions, 3 deletions
diff --git a/docs/random/ensonic/interfaces.txt b/docs/random/ensonic/interfaces.txt
index d0cd854ce..726539d10 100644
--- a/docs/random/ensonic/interfaces.txt
+++ b/docs/random/ensonic/interfaces.txt
@@ -19,12 +19,33 @@ $Id$
- add hints to generate 'good' looking interfaces to elements
- API:
GList *get_group_list();
+ struct ui_hint_group {
+ gchar *label;
+ gachr *role;
+ GList *entries;
+ }
+ struct ui_hint_group_entry {
+ enum UiHintGroupEntryType type={PARAM,DPARAM};
+ gchar *name;
+ }
+ roles {
+ /* graphics */
+ "color_selection/rgb",
+ "color_selection/hsv",
+ "aspect_ratio",
+ /* audio */
+ "envelope/adsr",
+ }
- features
- - grouping of parameters
- - each group has a label and references a list of dparams or properties
+ - grouping of parameters, each group has:
+ - a label: giving a title to the group
+ - a role:
+ - this can give the UI a hint about the purpose of the controls
+ - this only makes sense, if we dont make this a thousand templates
+ - a list of dparams or properties
- question
- should this be aware of instruments (voice-groups)
- - do we better use this to tell that a frequency is infact a note
+ - no, instruments should auto-generate those
* new interfaces for audio applications
* GST_TYPE_MUSIC_GENERATOR