Cogs.Core
css_position.h
1#ifndef LH_CSS_POSITION_H
2#define LH_CSS_POSITION_H
3
4#include "css_length.h"
5
6namespace litehtml
7{
9 {
10 css_length x;
11 css_length y;
12 css_length width;
13 css_length height;
14
16 {
17
18 }
19
20 css_position(const css_position& val)
21 {
22 x = val.x;
23 y = val.y;
24 width = val.width;
25 height = val.height;
26 }
27
28 css_position& operator=(const css_position& val)
29 {
30 x = val.x;
31 y = val.y;
32 width = val.width;
33 height = val.height;
34 return *this;
35 }
36 };
37}
38
39#endif // LH_CSS_POSITION_H