blob: 978a81ab5db74a54a0d7c58106df96ddad991790 (
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
|
#ifndef LH_CSS_POSITION_H
#define LH_CSS_POSITION_H
#include "css_length.h"
namespace litehtml
{
struct css_position
{
css_length x;
css_length y;
css_length width;
css_length height;
};
struct css_size
{
css_length width;
css_length height;
css_size() = default;
css_size(css_length width, css_length height) : width(width), height(height) {}
};
using size_vector = std::vector<css_size>;
}
#endif // LH_CSS_POSITION_H
|