#ifndef _INTFWIDGETS_H_
#define _INTFWIDGETS_H_
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <vlc/vlc.h>
#include <vlc_interface.h>
void *request( vout_thread_t *, int *, int *,
unsigned int *, unsigned int * );
- void release( void * );
- int control( void *, int, va_list );
+ void release( void * );
+ int control( void *, int, va_list );
private:
intf_thread_t *p_intf;
- vlc_mutex_t lock;
vout_thread_t *p_vout;
+ vlc_mutex_t lock;
+
signals:
- //void askResize();
void askVideoWidgetToShow();
+ //void askResize();
public slots:
void SetSizing( unsigned int, unsigned int );
};
/******************** Background Widget ****************/
-class BackgroundWidget : public QFrame
+class BackgroundWidget : public QWidget
{
Q_OBJECT
public:
BackgroundWidget( intf_thread_t * );
virtual ~BackgroundWidget();
- QSize widgetSize;
- QSize sizeHint() const;
- bool b_need_update;
+
private:
QPalette plt;
QLabel *label;
- virtual void resizeEvent( QResizeEvent *e );
virtual void contextMenuEvent( QContextMenuEvent *event );
intf_thread_t *p_intf;
- int i_runs;
+
public slots:
void toggle(){ TOGGLEV( this ); }
- void update( input_thread_t * );
+ void update( QString );
};
class VisualSelector : public QFrame
private slots:
void snapshot();
+#if 0
void frame();
+#endif
void fromAtoB();
void record();
void AtoBLoop( float, int, int );
void enableVideo( bool );
public slots:
void setNavigation( int );
- void updateOnTimer();
protected:
friend class MainInterface;
friend class VolumeClickHandler;
void prev();
void next();
void updateVolume( int );
+ void updateVolume( void );
void fullscreen();
void extSettings();
void faster();