~ubuntu-branches/debian/squeeze/smplayer/squeeze

« back to all changes in this revision

Viewing changes to src/mplayerwindow.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:
29
29
class QLabel;
30
30
class QKeyEvent;
31
31
 
 
32
#if USE_GL_WIDGET
 
33
#include <qgl.h>
 
34
#define SC_WIDGET QGLWidget
 
35
#else
 
36
#define SC_WIDGET QWidget
 
37
#endif
32
38
 
33
39
/* This class hides the mouse cursor after some seconds, if not moved */
34
40
 
35
 
class Screen : public QWidget 
 
41
class Screen : public SC_WIDGET
36
42
{
37
43
        Q_OBJECT
38
44
 
83
89
    MplayerWindow( QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
84
90
    ~MplayerWindow();
85
91
    
86
 
    virtual void showLogo( bool b);
87
 
    virtual MplayerLayer * mplayerLayer();
88
 
    virtual void setResolution( int w, int h);
89
 
    virtual void setAspect( double asp);
90
 
        virtual void setMonitorAspect(double asp);
91
 
    virtual void updateVideoWindow();
 
92
        void showLogo( bool b);
 
93
        MplayerLayer * mplayerLayer();
 
94
        void setResolution( int w, int h);
 
95
        void setAspect( double asp);
 
96
        void setMonitorAspect(double asp);
 
97
        void updateVideoWindow();
 
98
 
 
99
        void setColorKey(QColor c);
92
100
 
93
101
        void allowClearingBackground(bool b);
94
102
        bool isClearingBackgroundAllowed();