Mercurial > audlegacy
annotate Plugins/Visualization/libvisual-proxy/lv_bmp_config.h @ 416:cb00a4b01302 trunk
[svn] Convert to produce_audio usage.
| author | chainsaw |
|---|---|
| date | Tue, 10 Jan 2006 16:50:39 -0800 |
| parents | 43e7cbbf77e1 |
| children |
| rev | line source |
|---|---|
| 61 | 1 #ifndef __LV_BMP_CONFIG__ |
| 2 #define __LV_BMP_CONFIG__ | |
| 3 | |
| 4 #include <glib.h> | |
| 5 | |
| 6 #define OPTIONS_MAX_NAME_LEN 256 | |
| 7 #define OPTIONS_MAX_ICON_PATH_LEN 256 | |
| 8 | |
| 9 /** | |
| 10 * User options information. | |
| 11 * | |
| 12 * Just one of all_plugins_enabled, gl_plugins_only or non_gl_plugins_only | |
| 13 * is enabled at a given time. | |
| 14 */ | |
| 15 typedef struct { | |
| 16 | |
|
318
43e7cbbf77e1
[svn] Convert to confdb usage. Squash most qualifier-related warnings. Remove pixmap/icon functionality. Eliminate dead code.
chainsaw
parents:
314
diff
changeset
|
17 char *last_plugin; /**< Name of the last plugin runned, |
|
314
31725d73a697
[svn] Squash the implicit declaration warnings by including the correct util.h
chainsaw
parents:
61
diff
changeset
|
18 with length < OPTIONS_MAX_NAME_LEN. */ |
| 61 | 19 |
| 20 gchar *morph_plugin; /**< */ | |
| 21 | |
| 22 gchar *icon_file; /**< Absolute path of the icon file, | |
| 23 with length < OPTIONS_MAX_ICON_PATH_LEN. */ | |
| 24 int width; /**< Width in pixels. */ | |
| 25 int height; /**< Height in pixels. */ | |
| 26 int fps; /**< Maximum frames per second. */ | |
| 27 int depth; /**< Color depth. */ | |
| 28 gboolean fullscreen; /**< Say if we are in fullscreen or not. */ | |
| 29 | |
| 30 gboolean gl_plugins_only; /**< Only Gl plugins must be showed */ | |
| 31 gboolean non_gl_plugins_only; /**< Only non GL plugins must be showed */ | |
| 32 gboolean all_plugins_enabled; /**< All plugins must be showed */ | |
| 33 gboolean random_morph; /**< Morph plugin will be selected randomly on | |
| 34 every switch. */ | |
| 35 | |
| 36 } Options; | |
| 37 | |
| 38 void lv_bmp_config_window (void); | |
| 39 | |
| 40 Options *lv_bmp_config_open (void); | |
| 41 int lv_bmp_config_close (void); | |
| 42 | |
| 43 int lv_bmp_config_load_prefs (void); | |
| 44 int lv_bmp_config_save_prefs (void); | |
| 45 | |
| 46 void lv_bmp_config_toggle_fullscreen (void); | |
| 47 | |
|
318
43e7cbbf77e1
[svn] Convert to confdb usage. Squash most qualifier-related warnings. Remove pixmap/icon functionality. Eliminate dead code.
chainsaw
parents:
314
diff
changeset
|
48 char *lv_bmp_config_get_next_actor (void); |
|
43e7cbbf77e1
[svn] Convert to confdb usage. Squash most qualifier-related warnings. Remove pixmap/icon functionality. Eliminate dead code.
chainsaw
parents:
314
diff
changeset
|
49 char *lv_bmp_config_get_prev_actor (void); |
|
43e7cbbf77e1
[svn] Convert to confdb usage. Squash most qualifier-related warnings. Remove pixmap/icon functionality. Eliminate dead code.
chainsaw
parents:
314
diff
changeset
|
50 void lv_bmp_config_set_current_actor (char *name); |
| 61 | 51 |
|
318
43e7cbbf77e1
[svn] Convert to confdb usage. Squash most qualifier-related warnings. Remove pixmap/icon functionality. Eliminate dead code.
chainsaw
parents:
314
diff
changeset
|
52 char *lv_bmp_config_morph_plugin (void); |
| 61 | 53 |
| 54 #endif /* __LV_BMP_CONFIG__ */ | |
| 55 |
