2 #include "background.h"
\r
4 litehtml::background::background(void)
\r
6 m_attachment = background_attachment_scroll;
\r
7 m_repeat = background_repeat_repeat;
\r
8 m_clip = background_box_border;
\r
9 m_origin = background_box_padding;
\r
16 litehtml::background::background( const background& val )
\r
18 m_image = val.m_image;
\r
19 m_baseurl = val.m_baseurl;
\r
20 m_color = val.m_color;
\r
21 m_attachment = val.m_attachment;
\r
22 m_position = val.m_position;
\r
23 m_repeat = val.m_repeat;
\r
24 m_clip = val.m_clip;
\r
25 m_origin = val.m_origin;
\r
28 litehtml::background::~background(void)
\r
32 litehtml::background& litehtml::background::operator=( const background& val )
\r
34 m_image = val.m_image;
\r
35 m_baseurl = val.m_baseurl;
\r
36 m_color = val.m_color;
\r
37 m_attachment = val.m_attachment;
\r
38 m_position = val.m_position;
\r
39 m_repeat = val.m_repeat;
\r
40 m_clip = val.m_clip;
\r
41 m_origin = val.m_origin;
\r
46 litehtml::background_paint::background_paint() : color(0, 0, 0, 0)
\r
50 attachment = background_attachment_scroll;
\r
51 repeat = background_repeat_repeat;
\r
55 litehtml::background_paint::background_paint( const background_paint& val )
\r
58 baseurl = val.baseurl;
\r
59 attachment = val.attachment;
\r
60 repeat = val.repeat;
\r
62 clip_box = val.clip_box;
\r
63 origin_box = val.origin_box;
\r
64 border_box = val.border_box;
\r
65 border_radius = val.border_radius;
\r
66 image_size = val.image_size;
\r
67 position_x = val.position_x;
\r
68 position_y = val.position_y;
\r
69 is_root = val.is_root;
\r
72 void litehtml::background_paint::operator=( const background& val )
\r
74 attachment = val.m_attachment;
\r
75 baseurl = val.m_baseurl;
\r
76 image = val.m_image;
\r
77 repeat = val.m_repeat;
\r
78 color = val.m_color;
\r