2003-09-16 19:28:03 +00:00
|
|
|
/*****************************************************************
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
|
|
|
|
|
|
|
Copyright (c) 2003, Karol Szwed <kszwed@kde.org>
|
|
|
|
|
|
|
|
You can Freely distribute this program under the GNU General Public
|
|
|
|
License. See the file "COPYING" for the exact licensing terms.
|
|
|
|
******************************************************************/
|
2003-01-07 12:42:32 +00:00
|
|
|
|
|
|
|
#ifndef KWIN_GEOMETRY_TIP_H
|
|
|
|
#define KWIN_GEOMETRY_TIP_H
|
|
|
|
|
|
|
|
#include <qlabel.h>
|
|
|
|
#include "client.h"
|
|
|
|
|
2003-09-16 19:28:03 +00:00
|
|
|
namespace KWinInternal
|
2003-01-07 12:42:32 +00:00
|
|
|
{
|
2003-09-16 19:28:03 +00:00
|
|
|
|
|
|
|
class GeometryTip: public QLabel
|
|
|
|
{
|
2003-07-29 16:00:52 +00:00
|
|
|
Q_OBJECT
|
2003-01-07 12:42:32 +00:00
|
|
|
public:
|
2003-09-16 19:28:03 +00:00
|
|
|
GeometryTip( const XSizeHints* xSizeHints, bool save_under );
|
|
|
|
~GeometryTip();
|
|
|
|
void setGeometry( const QRect& geom );
|
|
|
|
|
2003-01-07 12:42:32 +00:00
|
|
|
private:
|
2003-09-16 19:28:03 +00:00
|
|
|
const XSizeHints* sizeHints;
|
|
|
|
};
|
2003-01-07 12:42:32 +00:00
|
|
|
|
2003-09-16 19:28:03 +00:00
|
|
|
} // namespace
|
2003-01-07 12:42:32 +00:00
|
|
|
|
|
|
|
#endif
|