summaryrefslogtreecommitdiff
path: root/multimedia/gnome-mplayer/files/patch-src_gui.c
blob: f19031cf800eac4422fce7352239aee7a6bbb0d0 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
--- src/gui.c.orig	2014-04-24 03:38:08 UTC
+++ src/gui.c
@@ -50,6 +50,237 @@
 #include "database.h"
 #endif
 
+GtkWidget *window;
+ 
+GtkMenuItem *menuitem_edit_random;
+GtkMenuItem *menuitem_edit_loop;
+GtkMenuItem *menuitem_edit_play_single;
+GtkWidget *repeat;
+GtkWidget *shuffle;
+GtkMenuItem *menuitem_edit_select_audio_lang;
+GtkMenuItem *menuitem_edit_select_sub_lang;
+GtkWidget *tracks;
+GtkWidget *subtitles;
+
+GtkMenuItem *menuitem_view_info;
+GtkMenuItem *menuitem_view_playlist;
+
+GtkMenuItem *menuitem_prev;
+GtkMenuItem *menuitem_next;
+
+GtkWidget *pane;
+GtkWidget *hbox;
+
+GtkWidget *media;
+GtkWidget *cover_art;
+GtkWidget *audio_meter;
+
+GtkWidget *details_table;
+
+GtkWidget *play_event_box;
+
+GtkWidget *prev_event_box;
+GtkWidget *next_event_box;
+GtkWidget *menu_event_box;
+GtkWidget *fs_event_box;
+
+GmtkMediaTracker *tracker;
+GtkWidget *vol_slider;
+
+GtkWidget *conf_volume_label;
+
+#ifdef GTK2_12_ENABLED
+#else
+GtkTooltips *tooltip;
+#endif
+
+// Playlist container
+GtkWidget *plvbox;
+GSList *lang_group;
+GSList *audio_group;
+
+GtkAccelGroup *accel_group;
+
+gint buckets[METER_BARS];
+gint max_buckets[METER_BARS];
+gchar **accel_keys;
+gchar **accel_keys_description;
+
+gint cache_size;
+gint plugin_audio_cache_size;
+gint plugin_video_cache_size;
+gboolean forcecache;
+gint osdlevel;
+gint pplevel;
+gint streaming;
+gboolean showcontrols;
+gboolean showsubtitles;
+gint fullscreen;
+gint init_fullscreen;
+gboolean videopresent;
+gboolean playlist;
+gint embed_window;
+gint window_x;
+gint window_y;
+gint control_id;
+gboolean softvol;
+gboolean remember_softvol;
+gdouble volume_softvol;
+gint volume_gain;
+gint pref_volume;
+gint verbose;
+gint autostart;
+//gint actual_x, actual_y;
+//gint play_x, play_y;
+gint last_window_width, last_window_height;
+//gchar vm[10];
+gchar *vo;
+gchar *option_vo;
+gboolean use_hardware_codecs;
+gboolean use_crystalhd_codecs;
+AudioDevice audio_device;
+gchar *audio_device_name;
+gint audio_channels;
+gboolean use_hw_audio;
+gboolean disable_deinterlace;
+gboolean disable_framedrop;
+gboolean disable_context_menu;
+gboolean disable_fullscreen;
+gboolean disable_pause_on_click;
+gboolean enable_global_menu;
+gboolean enable_nautilus_plugin;
+gint loop;
+gint start_second;
+gint play_length;
+gint random_order;
+gboolean dontplaynext;
+gboolean autopause;
+gchar *path;
+gint js_state;
+gchar *rpconsole;
+gchar *rpcontrols;
+gboolean control_instance;
+gchar *playlistname;
+gboolean ok_to_play;
+gchar *subtitle;
+gchar *alang;
+gchar *slang;
+gchar *metadata_codepage;
+gboolean use_mplayer2;
+gboolean vertical_layout;
+gboolean playlist_visible;
+gboolean details_visible;
+gboolean restore_controls;
+gboolean update_control_flag;
+//gint restore_pane;
+//gboolean updating_recent;
+gboolean disable_ass;
+gboolean disable_embeddedfonts;
+gboolean disable_animation;
+gint auto_hide_timeout;
+gboolean always_hide_after_timeout;
+gboolean mouse_over_controls;
+gchar *subtitlefont;
+gdouble subtitle_scale;
+gchar *subtitle_codepage;
+gchar *subtitle_color;
+gboolean subtitle_outline;
+gboolean subtitle_shadow;
+gint subtitle_margin;
+gint subtitle_fuzziness;
+gboolean quit_on_complete;
+gchar *mplayer_bin;
+gchar *mplayer_dvd_device;
+gchar *option_dvd_device;
+gchar *extraopts;
+gboolean resize_on_new_media;
+gboolean single_instance;
+gboolean replace_and_play;
+gboolean bring_to_front;
+gboolean show_notification;
+gboolean show_status_icon;
+gchar *gpod_mount_point;
+gboolean disable_cover_art_fetch;
+//gboolean updating_recent;
+gboolean large_buttons;
+GtkIconSize button_size;
+gboolean skip_fixed_allocation_on_show;
+gboolean skip_fixed_allocation_on_hide;
+gboolean mouse_wheel_changes_volume;
+ResumeMode resume_mode;
+
+gboolean remember_loc;
+gboolean use_remember_loc;
+gboolean save_loc;
+gint loc_window_x;
+gint loc_window_y;
+gint loc_window_height;
+gint loc_window_width;
+gint loc_panel_position;
+gboolean keep_on_top;
+
+gboolean cancel_folder_load;
+
+GThreadPool *retrieve_metadata_pool;
+GMutex *retrieve_mutex;
+GMutex *set_mutex;
+
+gboolean use_mediakeys;
+gboolean use_defaultpl;
+
+gboolean qt_disabled;
+gboolean real_disabled;
+gboolean wmp_disabled;
+gboolean dvx_disabled;
+gboolean midi_disabled;
+gboolean embedding_disabled;
+gboolean disable_embedded_scaling;
+
+GArray *data;
+GArray *max_data;
+gboolean reading_af_export;
+
+//gboolean sub_source_file;
+
+// layout variables
+gint non_fs_width;
+gint non_fs_height;
+
+// playlist stuff
+GtkListStore *playliststore;
+GtkTreeIter iter;
+GtkTreeIter *next_iter;
+GtkTreeSelection *selection;
+GtkWidget *list;
+
+// preference store
+GmPrefStore *gm_store;
+GmPrefStore *gmp_store;
+
+// cover
+gchar *cover_art_uri;
+
+gchar *default_playlist;
+gboolean safe_to_save_default_playlist;
+
+#ifdef GTK2_12_ENABLED
+GtkRecentManager *recent_manager;
+#endif
+
+#ifdef LIBGDA_ENABLED
+GdaConnection *db_connection;
+#endif
+
+gboolean screensaver_disabled;
+
+gint window_width, window_height;
+
+GtkWidget *plclose;
+IdleData *idledata;
+GMutex *fs_controls_lock;
+PLAYSTATE guistate;
+PLAYSTATE lastguistate;
+
 static GdkWindow *window_container;
 static GtkWidget *fs_window;
 static GtkWidget *fs_controls;