vCalendar: Honor VTIMEZONE component if present
[claws.git] / src / plugins / litehtml_viewer / litehtml / css_margins.h
blob17dc7698da82e3e15864c5f1cc04a91a2cdd5a70
1 #ifndef LH_CSS_MARGINS_H
2 #define LH_CSS_MARGINS_H
4 #include "css_length.h"
6 namespace litehtml
8 struct css_margins
10 css_length left;
11 css_length right;
12 css_length top;
13 css_length bottom;
15 css_margins() = default;
17 css_margins(const css_margins& val)
19 left = val.left;
20 right = val.right;
21 top = val.top;
22 bottom = val.bottom;
25 css_margins& operator=(const css_margins& val)
27 left = val.left;
28 right = val.right;
29 top = val.top;
30 bottom = val.bottom;
31 return *this;
34 string to_string() const
36 return "left: " + left.to_string() +
37 ", right: " + right.to_string() +
38 ", top: " + top.to_string() +
39 ", bottom: " + bottom.to_string();
44 #endif // LH_CSS_MARGINS_H