summaryrefslogtreecommitdiff
path: root/src/windowgeometry.cpp
blob: aa94487ca8e91b4e955ba8ac1b6181ab9ebe42a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <compwindow.h>


CompWindow::Geometry::Geometry () :
    mBorder (0)
{
}

CompWindow::Geometry::Geometry (int x, int y,
				unsigned int width,
				unsigned int height,
				unsigned int border) :
    mBorder (border)
{
    CompPoint::CompPoint (x,y);
    CompSize::CompSize (width, height);
}

unsigned int
CompWindow::Geometry::border ()
{
    return mBorder;
}

void
CompWindow::Geometry::setBorder (unsigned int border)
{
    mBorder = border;
}