#endif
/* to trying transparency with fullscreen controller on windows enable that */
-#define HAVE_TRANSPARENCY 0
/* it can be enabled on-non windows systems,
but it will be transparent only with composite manager */
#ifndef WIN32
#define HAVE_TRANSPARENCY 1
+#else
+ #define HAVE_TRANSPARENCY 0
#endif
+/* Default value of opacity for FS controller */
+#define DEFAULT_OPACITY 0.75
+
class ResizeEvent;
class QPalette;
class QPixmap;
virtual QSize sizeHint() const;
private:
intf_thread_t *p_intf;
- vout_thread_t *p_vout;
+ int i_vout;
- vlc_mutex_t lock;
QSize videoSize;
signals:
- void askVideoWidgetToShow();
- //void askResize();
+ void askVideoWidgetToShow( unsigned int, unsigned int );
public slots:
void SetSizing( unsigned int, unsigned int );
+
+protected:
+ virtual QPaintEngine *paintEngine() const
+ {
+ return NULL;
+ }
+
+ virtual void paintEvent(QPaintEvent *);
};
/******************** Background Widget ****************/
InputSlider *slider;
QPushButton *prevSectionButton, *nextSectionButton, *menuButton;
QPushButton *playButton, *fullscreenButton, *extSettingsButton;
+ QPushButton *telexTransparent, *telexOn;
+ QSpinBox *telexPage;
QToolButton *slowerButton, *fasterButton;
QHBoxLayout *controlButLayout;
AdvControlsWidget *advControls;
VolumeClickHandler *hVolLabel;
bool b_advancedVisible;
+ bool b_telexTransparent;
+ bool b_telexEnabled;
protected slots:
void play();
void stop();
void faster();
void slower();
void toggleAdvanced();
+ void toggleTeletext();
+ void toggleTeletextTransparency();
+ void enableTeletext( bool );
signals:
void advancedControlsToggled( bool );
};
FullscreenControllerWidget( intf_thread_t *, MainInterface*, bool, bool );
virtual ~FullscreenControllerWidget();
- void SetHideTimeout( int hideTimeout ) { i_hideTimeout = hideTimeout; }
+ void setHideTimeout( int hideTimeout ) { i_hideTimeout = hideTimeout; }
+ void setIsFullscreen( bool isFS ) { b_isFullscreen = isFS; }
void regFullscreenCallback( vout_thread_t *p_vout );
bool isFSCHidden();
int i_lastPosY;
int i_hideTimeout; /* FSC hiding timeout, same as mouse hiding timeout */
bool b_mouseIsOver;
+ bool b_isFullscreen;
#ifdef WIN32TRICK
bool fscHidden;