minor details

svn path=/trunk/kdebase/kwin/; revision=36132
icc-effect-5.14.5
Matthias Ettrich 1999-12-08 20:08:04 +00:00
parent 4afb1ee166
commit 22de3305c5
2 changed files with 8 additions and 7 deletions

View File

@ -18,7 +18,7 @@ static unsigned char close_bits[] = {
static unsigned char iconify_bits[] = { static unsigned char iconify_bits[] = {
0xff, 0x03, 0xff, 0x03, 0xff, 0x03, 0xff, 0x03, 0x03, 0x03, 0x03, 0x03, 0xff, 0x03, 0xff, 0x03, 0xff, 0x03, 0xff, 0x03, 0x03, 0x03, 0x03, 0x03,
0x03, 0x03, 0x03, 0x03, 0xff, 0x03, 0xff, 0x03}; 0x03, 0x03, 0x03, 0x03, 0xff, 0x03, 0xff, 0x03};
static unsigned char sticky_bits[] = { static unsigned char sticky_bits[] = {
0x00, 0x00, 0x30, 0x00, 0x30, 0x00, 0x30, 0x00, 0xfe, 0x01, 0xfe, 0x01, 0x00, 0x00, 0x30, 0x00, 0x30, 0x00, 0x30, 0x00, 0xfe, 0x01, 0xfe, 0x01,
0x30, 0x00, 0x30, 0x00, 0x30, 0x00, 0x00, 0x00}; 0x30, 0x00, 0x30, 0x00, 0x30, 0x00, 0x00, 0x00};
@ -26,7 +26,7 @@ static unsigned char sticky_bits[] = {
static unsigned char unsticky_bits[] = { static unsigned char unsticky_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x01, 0xfe, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x01, 0xfe, 0x01,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
static KPixmap *aTitlePix=0; static KPixmap *aTitlePix=0;
static KPixmap *iTitlePix=0; static KPixmap *iTitlePix=0;
static KPixmap *aFramePix=0; static KPixmap *aFramePix=0;
@ -176,8 +176,8 @@ NextClient::NextClient( Workspace *ws, WId w, QWidget *parent,
windowLayout->addSpacing(1); windowLayout->addSpacing(1);
windowLayout->addWidget(windowWrapper(), 1); windowLayout->addWidget(windowWrapper(), 1);
windowLayout->addSpacing(1); windowLayout->addSpacing(1);
button[0] = new NextButton(this, "close", close_bits, 10, 10); button[0] = new NextButton(this, "close", close_bits, 10, 10);
button[1] = new NextButton(this, "sticky"); button[1] = new NextButton(this, "sticky");
if(isSticky()) if(isSticky())
@ -199,7 +199,7 @@ NextClient::NextClient( Workspace *ws, WId w, QWidget *parent,
button[i]->setMouseTracking( TRUE ); button[i]->setMouseTracking( TRUE );
button[i]->setFixedSize( 18, 18 ); button[i]->setFixedSize( 18, 18 );
} }
} }
void NextClient::resizeEvent( QResizeEvent* e) void NextClient::resizeEvent( QResizeEvent* e)
@ -285,6 +285,6 @@ void NextClient::stickyChange(bool on)
void NextClient::init() void NextClient::init()
{ {
// Client::init();
} }

View File

@ -398,7 +398,8 @@ void StdClient::mouseDoubleClickEvent( QMouseEvent * e )
void StdClient::init() void StdClient::init()
{ {
button[0]->setIconSet( miniIcon() ); Client::init();
button[0]->setIconSet( miniIcon() );
// ### TODO transient etc. // ### TODO transient etc.
} }