projects
/
claws.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix bug 4376, 'Litehtml breaks locale'
[claws.git]
/
src
/
plugins
/
litehtml_viewer
/
litehtml
/
attributes.h
1
#ifndef LH_ATTRIBUTES_H
2
#define LH_ATTRIBUTES_H
3
4
namespace litehtml
5
{
6
struct attr_color
7
{
8
unsigned char rgbBlue;
9
unsigned char rgbGreen;
10
unsigned char rgbRed;
11
unsigned char rgbAlpha;
12
attr_color()
13
{
14
rgbAlpha = 255;
15
rgbBlue = 0;
16
rgbGreen = 0;
17
rgbRed = 0;
18
}
19
};
20
21
struct attr_border
22
{
23
style_border border;
24
int width;
25
attr_color color;
26
27
attr_border()
28
{
29
border = borderNone;
30
width = 0;
31
}
32
};
33
}
34
35
#endif // LH_ATTRIBUTES_H