clean up application struct

This commit is contained in:
Brandon Lewis 2010-08-04 16:25:00 +02:00 committed by Edward Hervey
parent 029f6b8228
commit 9b1fa9c8cc

View file

@ -28,38 +28,51 @@
typedef struct App typedef struct App
{ {
/* back-end objects */
GESTimeline *timeline; GESTimeline *timeline;
GESTimelinePipeline *pipeline; GESTimelinePipeline *pipeline;
GESTimelineLayer *layer; GESTimelineLayer *layer;
GtkWidget *main_window;
/* application state */
int n_objects;
int n_selected;
GList *selected_objects;
GType selected_type;
gboolean can_add_transition;
GstState state;
GtkListStore *model; GtkListStore *model;
GtkTreeSelection *selection; GtkTreeSelection *selection;
/* widgets */
GtkWidget *main_window;
GtkWidget *properties; GtkWidget *properties;
GtkWidget *filesource_properties; GtkWidget *filesource_properties;
GtkWidget *text_properties; GtkWidget *text_properties;
GList *selected_objects; GtkWidget *generic_duration;
int n_selected; GtkWidget *background_properties;
int n_objects;
gboolean can_add_transition;
GtkHScale *duration; GtkHScale *duration;
GtkHScale *in_point; GtkHScale *in_point;
GtkHScale *volume;
GtkAction *add_file; GtkAction *add_file;
GtkAction *add_test; GtkAction *add_test;
GtkAction *add_title; GtkAction *add_title;
GtkAction *add_transition; GtkAction *add_transition;
GtkAction *delete; GtkAction *delete;
GtkAction *play; GtkAction *play;
GtkComboBox *halign; GtkComboBox *halign;
GtkComboBox *valign; GtkComboBox *valign;
GtkComboBox *background_type;
GtkEntry *text; GtkEntry *text;
GtkEntry *seconds; GtkEntry *seconds;
GtkWidget *generic_duration;
GstState state;
GType selected_type;
GtkWidget *background_properties;
GtkComboBox *background_type;
GtkSpinButton *frequency; GtkSpinButton *frequency;
GtkHScale *volume;
} App; } App;
App *app_new (void); App *app_new (void);