#include <livido.h>
This structure holds some variables that are interesting for the user interface, to render triggable realtime by users.
Definition at line 629 of file livido.h.
Data Fields | |
| const char * | name |
| name of the parameter | |
| const char * | description |
| description of the parameter | |
| const char * | format |
| parameter rendering description | |
| const int | type |
| the parameter type (i.e LIVIDO_PARAM_SWITCH) | |
| const int | flags |
| flags of parameter (i.e #LIVIDO_PARAM_NEEDS_INIT) | |
| const int | decimals |
| how many decimals after the floating point | |
| const char * | list_values |
| multiple values list or NULL | |
| const char * | def |
| default value, rendered conforming to the format | |
| const double | min |
| minimum value for numerical parameters | |
| const double | max |
| maximum value for numerical parameters | |
| const double | step |
| step increment for value in numerical parameters | |
| const char * | hint |
| layout hints for the GUI renderer | |
| const void * | extra |
| for future expansion | |
| livido_parameter_template * | next |
| pointer to the next element in the list, NULL if end | |
| char | reserved [64] |
| reserved space for binary compatibility thru versions | |
|
|
description of the parameter the description should explain what the parameter does, it can be multilined. |
|
|
layout hints for the GUI renderer hints are supposed to use some keyword system to describe the way a GUI should be rendered in order to modify the parameter, e.g:
|
|
|
name of the parameter name should be short. lowercase. do not put in the words like "plugin" or "filter", but rather the name of the thing |
1.3.4