summaryrefslogtreecommitdiff
path: root/src/size.cpp
blob: 63cd83a73d2dac2fba86b5c64ec835bab5be0dd2 (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
30
31
32
33
34
35
36
37
#include <compsize.h>

CompSize::CompSize () :
   mWidth (0),
   mHeight (0)
{
}

CompSize::CompSize (unsigned int width, unsigned int height) :
   mWidth (width),
   mHeight (height)
{
}

unsigned int
CompSize::width ()
{
    return mWidth;
}

unsigned int
CompSize::height ()
{
    return mHeight;
}

void
CompSize::setWidth (unsigned int width)
{
    mWidth = width;
}

void
CompSize::setHeight (unsigned int height)
{
    mHeight = height;
}