kwin/geometrytip.h
Karol Szwed 235b534b26 Add a window geometry tip when users move/resize a window. Currently it is
enabled by default, but will be made configurable soon. There is a known
issue with an incorrect geometry shown with konsole, but that's its fault,
and I'll get to that shortly (xterm does the right thing).

Disclaimer:
If it jams - force it. If it breaks, it probably needed replacing anyway.

svn path=/trunk/kdebase/kwin/; revision=197992
2003-01-07 12:42:32 +00:00

30 lines
489 B
C++

/*
* $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
{
Q_OBJECT
public:
GeometryTip( const Client* client, const XSizeHints* xSizeHints );
~GeometryTip();
void setGeometry( const QRect& geom );
private:
const XSizeHints* sizeHints;
const Client* c;
};
};
#endif