Additionaly, I transfer the copyright for nearly all modifications I made to the XMMS2 Team (The only exception are the files under directory widgets)
54 lines
1.2 KiB
C++
54 lines
1.2 KiB
C++
/**
|
|
* This file is a part of Promoe, an XMMS2 Client.
|
|
*
|
|
* Copyright (C) 2005-2008 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 __SHADEDDISPLAY_H__
|
|
#define __SHADEDDISPLAY_H__
|
|
|
|
class ShadedDisplay;
|
|
|
|
#include <xmmsclient/xmmsclient++.h>
|
|
#include "Display.h"
|
|
|
|
class MainWindow;
|
|
class Button;
|
|
class SmallNumberDisplay;
|
|
class TextScroller;
|
|
|
|
class ShadedDisplay : public SkinDisplay
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ShadedDisplay (QWidget *parent);
|
|
~ShadedDisplay () { }
|
|
|
|
SmallNumberDisplay *m_number;
|
|
SmallNumberDisplay *m_number2;
|
|
TextScroller *m_title;
|
|
|
|
private:
|
|
Button *m_prev;
|
|
Button *m_play;
|
|
Button *m_pause;
|
|
Button *m_stop;
|
|
Button *m_next;
|
|
Button *m_eject;
|
|
|
|
public slots:
|
|
void setStatus (Xmms::Playback::Status status);
|
|
void setPlaytime (uint32_t time);
|
|
void setMediainfo (const Xmms::PropDict &info);
|
|
};
|
|
|
|
#endif
|