mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +00:00
more about UI_HINT: some thoughts about roles
Original commit message from CVS: more about UI_HINT: some thoughts about roles
This commit is contained in:
parent
8a374ddd88
commit
cb9b415aa5
1 changed files with 24 additions and 3 deletions
|
@ -19,12 +19,33 @@ $Id$
|
||||||
- add hints to generate 'good' looking interfaces to elements
|
- add hints to generate 'good' looking interfaces to elements
|
||||||
- API:
|
- API:
|
||||||
GList *get_group_list();
|
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
|
- features
|
||||||
- grouping of parameters
|
- grouping of parameters, each group has:
|
||||||
- each group has a label and references a list of dparams or properties
|
- 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
|
- question
|
||||||
- should this be aware of instruments (voice-groups)
|
- 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
|
* new interfaces for audio applications
|
||||||
* GST_TYPE_MUSIC_GENERATOR
|
* GST_TYPE_MUSIC_GENERATOR
|
||||||
|
|
Loading…
Reference in a new issue