kwin Library API Documentation

Redmond::RedmondButton Class Reference

Collaboration diagram for Redmond::RedmondButton:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RedmondButton (RedmondDeco *parent=0, const char *name=0, const unsigned char *bitmap=NULL, bool menuButton=false, bool isMini=false, int size=16, const QString &tip=NULL, const int realizeBtns=LeftButton)
void setBitmap (const unsigned char *bitmap)
void setPixmap (const QPixmap &p)
void reset ()
QSize sizeHint () const

Public Attributes

ButtonState last_button

Protected Member Functions

void mousePressEvent (QMouseEvent *e)
void mouseReleaseEvent (QMouseEvent *e)
virtual void drawButton (QPainter *p)
void drawButtonLabel (QPainter *)

Protected Attributes

QBitmap deco
QPixmap pix
bool menuBtn
bool miniBtn
RedmondDecoclient
int size
int realizeButtons

Detailed Description

Definition at line 36 of file redmond.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kwin Library Version 3.4.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Nov 4 00:49:24 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003