1 #ifndef LH_BACKGROUND_H
2 #define LH_BACKGROUND_H
5 #include "css_length.h"
6 #include "css_position.h"
15 string_vector m_image
;
18 int_vector m_attachment
;
19 length_vector m_position_x
;
20 length_vector m_position_y
;
28 if(m_color
.alpha
!= 0) return false;
29 if(m_image
.empty()) return true;
30 for(const auto& img
: m_image
)
32 if(!img
.empty()) return false;
38 class background_paint
43 background_attachment attachment
;
44 background_repeat repeat
;
49 border_radiuses border_radius
;
58 attachment
= background_attachment_scroll
;
59 repeat
= background_repeat_repeat
;
60 color
= web_color::transparent
;
69 #endif // LH_BACKGROUND_H