46 lines
1 KiB
C++
46 lines
1 KiB
C++
/**
|
|
* This file is a part of Prome, an XMMS2 Client.
|
|
*
|
|
* Copyright (C) 2005-2007 XMMS2 Team
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef __STEREOMONO_H__
|
|
#define __STEREOMONO_H__
|
|
|
|
#include "PixWidget.h"
|
|
|
|
class StereoMono : public PixWidget
|
|
{
|
|
public:
|
|
StereoMono (QWidget *parent);
|
|
~StereoMono () { }
|
|
|
|
void setStereoMono (bool, bool);
|
|
|
|
public slots:
|
|
void setPixmaps (Skin *skin);
|
|
|
|
private:
|
|
void drawPixmaps ();
|
|
bool m_stereo;
|
|
bool m_mono;
|
|
|
|
QPixmap m_pixmap_stereo_on;
|
|
QPixmap m_pixmap_stereo_off;
|
|
QPixmap m_pixmap_mono_on;
|
|
QPixmap m_pixmap_mono_off;
|
|
|
|
QPixmap m_pixmap_mono;
|
|
QPixmap m_pixmap_stereo;
|
|
};
|
|
|
|
#endif
|