40966ef808
calculated pixmaps based on bitmaps for each shade and the extended KDE color scheme. That means you can now specify button colors for both active and inactive windows. svn path=/trunk/kdebase/kwin/; revision=33415
32 lines
660 B
C++
32 lines
660 B
C++
#ifndef STDCLIENT_H
|
|
#define STDCLIENT_H
|
|
#include "client.h"
|
|
class QToolButton;
|
|
class QLabel;
|
|
class QSpacerItem;
|
|
|
|
class StdClient : public Client
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
StdClient( Workspace *ws, WId w, QWidget *parent=0, const char *name=0 );
|
|
~StdClient();
|
|
protected:
|
|
void resizeEvent( QResizeEvent* );
|
|
void paintEvent( QPaintEvent* );
|
|
|
|
void mouseDoubleClickEvent( QMouseEvent * );
|
|
void init();
|
|
void captionChange( const QString& name );
|
|
void iconChange();
|
|
void maximizeChange( bool );
|
|
void stickyChange( bool );
|
|
void activeChange( bool );
|
|
|
|
private:
|
|
QToolButton* button[6];
|
|
QSpacerItem* titlebar;
|
|
};
|
|
|
|
|
|
#endif
|