~ubuntu-branches/debian/stretch/smplayer/stretch

« back to all changes in this revision

Viewing changes to src/core.h

  • Committer: Bazaar Package Importer
  • Author(s): Maia Kozheva
  • Date: 2010-05-09 21:23:36 UTC
  • mfrom: (1.1.11 upstream) (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100509212336-a9jv748zn5625qo7
* New upstream release.
* debian/control:
  - Removed mplayer-nogui from Depends, as it is now a transitional package
    to mplayer in both Debian and Ubuntu.
  - Bumped Standards-Version to 3.8.4 (no changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*  smplayer, GUI front-end for mplayer.
2
 
    Copyright (C) 2006-2009 Ricardo Villalba <rvm@escomposlinux.org>
 
2
    Copyright (C) 2006-2010 Ricardo Villalba <rvm@escomposlinux.org>
3
3
 
4
4
    This program is free software; you can redistribute it and/or modify
5
5
    it under the terms of the GNU General Public License as published by
107
107
 
108
108
#ifdef SEEKBAR_RESOLUTION
109
109
    void goToPosition( int value );
 
110
    void goToPos( double perc );
110
111
#else
111
112
    void goToPos( int perc );
112
113
#endif
113
114
    void goToSec( double sec );
114
115
 
 
116
        void setAMarker(); //!< Set A marker to current sec
 
117
        void setAMarker(int sec);
 
118
 
 
119
        void setBMarker(); //!< Set B marker to current sec
 
120
        void setBMarker(int sec);
 
121
 
 
122
        void clearABMarkers();
 
123
 
115
124
        void toggleRepeat();
116
125
        void toggleRepeat(bool b);
117
126
 
255
264
 
256
265
        void changeSize(int); // Size of the window
257
266
        void toggleDoubleSize();
258
 
        void changePanscan(double); // Zoom on mplayerwindow
 
267
        void changeZoom(double); // Zoom on mplayerwindow
259
268
 
260
269
        void changeRotate(int r);
261
270
 
263
272
        void changeAdapter(int n);
264
273
#endif
265
274
 
 
275
        void incZoom();
 
276
        void decZoom();
 
277
        void resetZoom();
 
278
        void autoZoom();
 
279
        void autoZoomFromLetterbox(double video_aspect);
 
280
        void autoZoomFor169();
 
281
        void autoZoomFor235();
 
282
 
 
283
#if USE_MPLAYER_PANSCAN
 
284
        void changePanscan(double);
266
285
        void incPanscan();
267
286
        void decPanscan();
268
 
        void resetPanscan();
269
 
        void autoPanscan();
270
 
        void autoPanscanFromLetterbox(double video_aspect);
271
 
        void autoPanscanFor169();
272
 
        void autoPanscanFor235();
 
287
#endif
 
288
 
 
289
        void showFilenameOnOSD();
 
290
        void toggleDeinterlace();
273
291
 
274
292
        void changeUseAss(bool);
275
293
        void toggleClosedCaption(bool);
292
310
    // Pass a command to mplayer by stdin:
293
311
    void tellmp(const QString & command);
294
312
 
 
313
        //! Wrapper for the osd_show_text slave command
 
314
        void displayTextOnOSD(QString text, int duration = 3000, int level = 1, 
 
315
                          QString prefix = QString::null);
 
316
 
295
317
public:
296
318
        //! Returns the number of the first chapter in 
297
319
        //! files. In some versions of mplayer is 0, in others 1
325
347
        void displayScreenshotName(QString filename);
326
348
        void displayUpdatingFontCache();
327
349
 
 
350
        void streamTitleChanged(QString);
328
351
        void streamTitleAndUrlChanged(QString,QString);
329
352
        
330
353
        void watchState(Core::State state);
394
417
        void posChanged(int); // To connect a slider
395
418
#endif
396
419
        void showFrame(int frame);
 
420
        void ABMarkersChanged(int secs_a, int secs_b);
397
421
        void needResize(int w, int h);
398
422
        void noVideo();
399
423
        void volumeChanged(int);