add support for Ayatana indicator to Notification plugin
[claws.git] / src / plugins / litehtml_viewer / litehtml / css_offsets.h
blob5ab175ce260dcc6d2897698f9d80414f5fff0ea0
1 #ifndef LH_CSS_OFFSETS_H
2 #define LH_CSS_OFFSETS_H
4 #include "css_length.h"
6 namespace litehtml
8 struct css_offsets
10 css_length left;
11 css_length top;
12 css_length right;
13 css_length bottom;
15 css_offsets() = default;
17 css_offsets(const css_offsets& val)
19 left = val.left;
20 top = val.top;
21 right = val.right;
22 bottom = val.bottom;
25 css_offsets& operator=(const css_offsets& val)
27 left = val.left;
28 top = val.top;
29 right = val.right;
30 bottom = val.bottom;
31 return *this;
34 string to_string() const
36 return "left: " + left.to_string() +
37 ", top: " + top.to_string() +
38 ", right: " + right.to_string() +
39 ", bottom: " + bottom.to_string();
44 #endif // LH_CSS_OFFSETS_H