Cogs.Core
background.h
1#ifndef LH_BACKGROUND_H
2#define LH_BACKGROUND_H
3
4#include "types.h"
5#include "attributes.h"
6#include "css_length.h"
7#include "css_position.h"
8#include "web_color.h"
9#include "borders.h"
10
11namespace litehtml
12{
14 {
15 public:
16 tstring m_image;
17 tstring m_baseurl;
18 web_color m_color;
19 background_attachment m_attachment;
20 css_position m_position;
21 background_repeat m_repeat;
22 background_box m_clip;
23 background_box m_origin;
24 css_border_radius m_radius;
25
26 public:
27 background(void);
28 background(const background& val);
29 ~background(void);
30
31 background& operator=(const background& val);
32 };
33
35 {
36 public:
37 tstring image;
38 tstring baseurl;
39 background_attachment attachment;
40 background_repeat repeat;
41 web_color color;
42 position clip_box;
43 position origin_box;
44 position border_box;
45 border_radiuses border_radius;
46 size image_size;
47 int position_x;
48 int position_y;
49 bool is_root;
50 public:
53 void operator=(const background& val);
54 };
55
56}
57
58#endif // LH_BACKGROUND_H