blob: f462152c7b0413b8ce08a367d003bdc9cbe0b7aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/* demo-Gtk-conf.c --- implements the dynamic configuration dialogs.
* xscreensaver, Copyright (c) 2001-2008 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that
* copyright notice and this permission notice appear in supporting
* documentation. No representations are made about the suitability of this
* software for any purpose. It is provided "as is" without express or
* implied warranty.
*/
#ifndef _DEMO_GTK_CONF_H_
#define _DEMO_GTK_CONF_H_
typedef struct {
GtkWidget *widget; /* the container widget with the sliders and stuff. */
GList *parameters; /* internal data -- hands off */
char *progname;
char *progclass;
char *description;
} conf_data;
extern conf_data *load_configurator (const char *cmd_line, gboolean verbose_p);
extern char *get_configurator_command_line (conf_data *, gboolean default_p);
extern void set_configurator_command_line (conf_data *, const char *cmd_line);
extern void free_conf_data (conf_data *);
extern const char *hack_configuration_path;
#endif /* _DEMO_GTK_CONF_H_ */
|