52a3801208
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
21 lines
455 B
C++
21 lines
455 B
C++
#ifndef _SERVER_REGION_H_
|
|
#define _SERVER_REGION_H_
|
|
|
|
#include "ServerRect.h"
|
|
|
|
class ServerRegion
|
|
{
|
|
public:
|
|
ServerRegion(void);
|
|
ServerRegion(const ServerRect rect);
|
|
ServerRegion(const ServerRegion ®);
|
|
virtual ~ServerRegion(void);
|
|
bool Intersects(ServerRect rect);
|
|
void Set(ServerRect rect);
|
|
void Include(ServerRect rect);
|
|
void Exclude(ServerRect rect);
|
|
void IntersectWith(ServerRect rect);
|
|
void MakeEmpty(void);
|
|
void Optimize(void);
|
|
};
|
|
#endif |