kwin/placement.h
Luboš Luňák 78a7c08049 Since some of the .h files are installed ...
Prefix all the #ifndef #define ... #endif symbols with KWIN_ , just in case
somebody uses CLIENT_H or so too.
And don't include config.h .

svn path=/trunk/kdebase/kwin/; revision=168940
2002-07-26 20:30:36 +00:00

48 lines
904 B
C++

/*****************************************************************
kwin - the KDE window manager
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
Placement algorithms
Copyright (C) 1997 to 2002 Cristian Tibirna <tibirna@kde.org>
******************************************************************/
#ifndef KWIN_PLACEMENT_H
#define KWIN_PLACEMENT_H
#include <qpoint.h>
#include <qvaluelist.h>
namespace KWinInternal {
class Workspace;
class Client;
class PlacementPrivate;
class Placement
{
public:
Placement(Workspace* w);
~Placement();
void place(Client* c);
void placeAtRandom (Client* c);
void placeCascaded (Client* c, bool re_init = false);
void placeSmart (Client* c);
void placeCentered (Client* c);
void placeZeroCornered(Client* c);
private:
Placement();
PlacementPrivate* d;
};
};
#endif