~ubuntu-branches/ubuntu/hardy/smplayer/hardy

« back to all changes in this revision

Viewing changes to src/preferences.h

  • Committer: Bazaar Package Importer
  • Author(s): Breuil Cyril
  • Date: 2007-06-24 16:35:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070624163529-hhckbmd24uicada7
Tags: 0.5.20-0ubuntu1
* New upstream release
* Change Maintainer Email

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        enum Resize { Never = 0, Always = 1, Afterload = 2 };
33
33
        enum Priority { Realtime = 0, High = 1, AboveNormal = 2, Normal = 3,
34
34
                    BelowNormal = 4, Idle = 5 };
 
35
        enum WheelFunction { Seeking = 0, Volume = 1, Zoom = 2 };
35
36
 
36
37
        Preferences();
37
38
        virtual ~Preferences();
45
46
        QString vo; // video output
46
47
        QString ao; // audio output
47
48
 
 
49
        unsigned int color_key;
 
50
 
48
51
        // Subtitles font
49
52
        bool use_fontconfig;
50
53
        QString font_file;
57
60
        int subfuzziness;
58
61
        unsigned int ass_color;
59
62
        unsigned int ass_border_color;
 
63
        QString ass_styles;
60
64
 
61
65
        int osd;
62
66
 
66
70
        QString dvd_device;
67
71
        QString cdrom_device;
68
72
 
 
73
        bool use_cache;
69
74
        int cache;
70
75
 
71
76
        bool use_mplayer_window;
90
95
 
91
96
        bool use_soft_video_eq;
92
97
        bool use_soft_vol;
 
98
        bool use_volnorm;
 
99
        int softvol_max;
93
100
 
94
101
        QString audio_lang;             // Preferred audio language
95
102
        QString subtitle_lang;          // Preferred subtitle language
96
103
 
 
104
        bool use_hwac3; // -afm hwac3
 
105
 
97
106
        int vcd_initial_title;
98
107
 
99
108
        // Initial values for some options
104
113
        int initial_saturation;
105
114
        int initial_gamma;
106
115
 
 
116
        // Default value for panscan (1.0 = no zoom)
 
117
        double initial_panscan_factor;
 
118
 
 
119
        // Default value for position of subtitles on screen
 
120
        // 100 = 100% at the bottom
 
121
        int initial_sub_pos;
 
122
 
107
123
        // Let the user pass options to mplayer
108
124
        QString mplayer_additional_options;
109
125
        QString mplayer_additional_video_filters;
110
126
        QString mplayer_additional_audio_filters;
111
127
 
112
 
        //int wheel_seek;
113
 
 
114
128
        // Performance
115
129
        int priority;
116
130
        bool frame_drop;
133
147
 
134
148
        bool compact_mode;
135
149
        bool stay_on_top;
136
 
        int zoom;
 
150
        int size_factor;
137
151
 
138
152
        bool show_frame_counter;
139
153
 
 
154
        
140
155
        // Postprocessing
 
156
        bool use_postprocessing; // global postprocessing filter
141
157
        int autoq;
142
158
 
143
159
        // Loop. If true repeat the file
147
163
        int connection_port;
148
164
 
149
165
        // Function of mouse buttons:
150
 
        QString left_click_function;
151
 
        QString double_click_function;
152
 
        bool wheel_changes_volume;
 
166
        QString mouse_left_click_function;
 
167
        QString mouse_double_click_function;
 
168
        int wheel_function;
153
169
 
154
170
        // Max items in recent's list
155
171
        int recents_max_items;
169
185
 
170
186
        QString iconset;
171
187
 
172
 
        int floating_control_width; // % of screen
173
188
        bool always_clear_background; // If true, mplayerlayer erases its background
 
189
 
 
190
        // Make configurable some of the mplayerprocess regular expressions
 
191
        QString rx_endoffile;
 
192
        QString rx_novideo;
 
193
 
 
194
        // Number of times to show the balloon remembering that the program
 
195
        // is still running in the system tray.
 
196
        int balloon_count;
 
197
 
 
198
        // If true, -brightness, -contrast and so on, won't be passed to
 
199
        // mplayer. It seems that some graphic cards don't support those options.
 
200
        bool dont_use_eq_options;
 
201
 
 
202
        // Recent releases of MPlayer need the font for subtitles passed
 
203
    // through the -subfont option.
 
204
        bool use_subfont;
174
205
};
175
206
 
176
207
#endif