ArDrone SDK 1.8 added
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / Examples / Linux / Navigation / Sources / ihm / ihm_config.h
1 #include <config_keys.h>
2
3 typedef struct
4 {
5         GtkWidget * label;
6         GtkWidget * hbox;
7         GtkWidget * value;
8         GtkWidget * send_button;
9         int isnew;
10 }ihm_config_value_t;
11
12 typedef struct
13 {
14         GtkWidget * hbox;
15         GtkWidget * label;
16         GtkWidget * combo;
17         GtkWidget * raz_button;
18 }ihm_config_customconf_box_t;
19
20 typedef struct
21 {
22         GtkWidget * hbox;
23         GtkWidget * label;
24         GtkWidget * entry;
25         GtkWidget * send_button;
26 }ihm_config_newcustomconf_box_t;
27
28 typedef struct{
29
30         GtkWidget * window;
31
32         GtkWidget * panes;
33
34         GtkWidget * config_frame;
35         GtkWidget * custom_config_frame;
36         GtkWidget * config_frame_vbox;
37         GtkWidget * custom_config_frame_vbox;
38
39
40         GtkWidget * get_config_button;
41         GtkWidget * config_values_frame;
42         GtkWidget * config_values_hbox;
43         GtkWidget * config_values_vbox1;
44         GtkWidget * config_values_vbox2;
45
46         int nb_config_values;
47         ihm_config_value_t* config_values;
48
49         GtkWidget * get_custom_configs_button;
50
51         ihm_config_customconf_box_t custom_config_values[NB_CONFIG_CATEGORIES];
52         ihm_config_newcustomconf_box_t new_custom_configs[NB_CONFIG_CATEGORIES];
53
54
55
56 }ihm_config_widgets_t;
57
58 void ihm_config_create_window();