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