2003-01-07 12:42:32 +00:00
|
|
|
/*
|
|
|
|
* $Id$
|
|
|
|
* Window Geometry Display
|
|
|
|
* Copyright (c) 2003, Karol Szwed <kszwed@kde.org>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef KWIN_GEOMETRY_TIP_H
|
|
|
|
#define KWIN_GEOMETRY_TIP_H
|
|
|
|
|
|
|
|
#include <qlabel.h>
|
|
|
|
#include "client.h"
|
|
|
|
|
|
|
|
namespace KWinInternal {
|
|
|
|
|
|
|
|
class GeometryTip: public QLabel
|
|
|
|
{
|
|
|
|
public:
|
2003-06-15 07:19:05 +00:00
|
|
|
GeometryTip( const Client* client, const XSizeHints* xSizeHints, bool resizing );
|
2003-01-07 12:42:32 +00:00
|
|
|
~GeometryTip();
|
|
|
|
void setGeometry( const QRect& geom );
|
|
|
|
|
|
|
|
private:
|
|
|
|
const XSizeHints* sizeHints;
|
|
|
|
const Client* c;
|
2003-07-29 15:12:16 +00:00
|
|
|
int framewidth;
|
|
|
|
int frameheight;
|
2003-01-07 12:42:32 +00:00
|
|
|
};
|
|
|
|
|
2003-07-26 10:41:28 +00:00
|
|
|
}
|
2003-01-07 12:42:32 +00:00
|
|
|
|
|
|
|
#endif
|