summaryrefslogtreecommitdiff
authorsandman <sandman>2002-11-21 19:49:00 (UTC)
committer sandman <sandman>2002-11-21 19:49:00 (UTC)
commit440f1d4d439c83368a855355cdceda43660137f2 (patch) (unidiff)
tree1b7ffd5157d2c141b9f978d08e47699ea2d013ff
parent0b0ebb03a1fc0a316b52ce147d87fa89d3b5af16 (diff)
downloadopie-440f1d4d439c83368a855355cdceda43660137f2.zip
opie-440f1d4d439c83368a855355cdceda43660137f2.tar.gz
opie-440f1d4d439c83368a855355cdceda43660137f2.tar.bz2
- pixmaps in in menubars are now drawn (this is uncommon, but resulted in
blank icons in nethack for example) - small size optimization - updated the QPL diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/liquid/embeddata.h2
-rw-r--r--noncore/styles/liquid/liquid.cpp20
-rw-r--r--noncore/styles/liquid/opie-liquid.diff141
3 files changed, 112 insertions, 51 deletions
diff --git a/noncore/styles/liquid/embeddata.h b/noncore/styles/liquid/embeddata.h
index e4ccc27..5207fb1 100644
--- a/noncore/styles/liquid/embeddata.h
+++ b/noncore/styles/liquid/embeddata.h
@@ -1,1000 +1,1000 @@
1/* Generated by qembed */ 1/* Generated by qembed */
2#ifndef _1855746070 2#ifndef _1855746070
3#define _1855746070 3#define _1855746070
4#include <qimage.h> 4#include <qimage.h>
5#include <stdlib.h> 5#include <stdlib.h>
6static const QRgb buttonborder_data[] = { 6static const QRgb buttonborder_data[] = {
7 0x0,0x0,0x0,0x0,0x0,0x0,0xffcacaca,0xffa0a0a0,0xff838383,0xff747474,0xff747474,0xff727272,0xff727272,0xff727272, 7 0x0,0x0,0x0,0x0,0x0,0x0,0xffcacaca,0xffa0a0a0,0xff838383,0xff747474,0xff747474,0xff727272,0xff727272,0xff727272,
8 0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272, 8 0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,
9 0xff727272,0xffa0a0a0,0xffcacaca,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffcacaca, 9 0xff727272,0xffa0a0a0,0xffcacaca,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffcacaca,
10 0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 10 0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
11 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xffcacaca, 11 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xffcacaca,
12 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffaeaeae,0x0,0x0,0x0,0x0,0x0,0x0, 12 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffaeaeae,0x0,0x0,0x0,0x0,0x0,0x0,
13 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 13 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
14 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffaeaeae,0x0,0x0,0x0,0x0, 14 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffaeaeae,0x0,0x0,0x0,0x0,
15 0x0,0xffaeaeae,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 15 0x0,0xffaeaeae,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
16 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 16 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
17 0x0,0x0,0x0,0x0,0x0,0xffaeaeae,0x0,0x0,0x0,0xffcacaca,0x0,0x0,0x0,0x0, 17 0x0,0x0,0x0,0x0,0x0,0xffaeaeae,0x0,0x0,0x0,0xffcacaca,0x0,0x0,0x0,0x0,
18 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 18 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
19 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 19 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
20 0x0,0xffcacaca,0x0,0x0,0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 20 0x0,0xffcacaca,0x0,0x0,0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
21 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 21 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
22 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0x0,0xffcacaca,0x0, 22 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0x0,0xffcacaca,0x0,
23 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 23 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
24 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 24 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
25 0x0,0x0,0x0,0x0,0x0,0x0,0xffcacaca,0xffa0a0a0,0x0,0x0,0x0,0x0,0x0,0x0, 25 0x0,0x0,0x0,0x0,0x0,0x0,0xffcacaca,0xffa0a0a0,0x0,0x0,0x0,0x0,0x0,0x0,
26 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 26 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
27 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 27 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
28 0x0,0xffa0a0a0,0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 28 0x0,0xffa0a0a0,0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
29 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 29 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
30 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xff747474,0x0,0x0, 30 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xff747474,0x0,0x0,
31 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 31 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
32 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 32 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
33 0x0,0x0,0x0,0x0,0x0,0xff747474,0xff747474,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 33 0x0,0x0,0x0,0x0,0x0,0xff747474,0xff747474,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
34 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 34 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
35 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 35 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
36 0xff747474,0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 36 0xff747474,0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
37 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 37 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
38 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xff838383,0x0,0x0,0x0, 38 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xff838383,0x0,0x0,0x0,
39 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 39 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
40 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 40 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
41 0x0,0x0,0x0,0x0,0xff838383,0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 41 0x0,0x0,0x0,0x0,0xff838383,0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
42 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 42 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
43 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383, 43 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,
44 0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 44 0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
45 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 45 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
46 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xff838383,0x0,0x0,0x0,0x0, 46 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xff838383,0x0,0x0,0x0,0x0,
47 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 47 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
48 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 48 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
49 0x0,0x0,0x0,0xff838383,0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 49 0x0,0x0,0x0,0xff838383,0xff838383,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
50 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 50 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
51 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xff838383, 51 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xff838383,
52 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 52 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
53 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 53 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
54 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xff919191,0x0,0x0,0x0,0x0,0x0, 54 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xff919191,0x0,0x0,0x0,0x0,0x0,
55 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 55 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
56 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 56 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
57 0x0,0x0,0xffa0a0a0,0xffb7b7b7,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 57 0x0,0x0,0xffa0a0a0,0xffb7b7b7,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
58 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 58 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
59 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffcacaca,0xffeaeaea,0xff727272, 59 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffcacaca,0xffeaeaea,0xff727272,
60 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 60 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
61 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 61 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
62 0x0,0x0,0x0,0x0,0x0,0xff838383,0x0,0x0,0xffafafaf,0x0,0x0,0x0,0x0,0x0, 62 0x0,0x0,0x0,0x0,0x0,0xff838383,0x0,0x0,0xffafafaf,0x0,0x0,0x0,0x0,0x0,
63 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 63 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
64 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 64 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
65 0xffcacaca,0x0,0x0,0x0,0xff919191,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 65 0xffcacaca,0x0,0x0,0x0,0xff919191,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
66 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 66 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
67 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffaeaeae,0x0,0x0,0x0,0x0,0x0, 67 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffaeaeae,0x0,0x0,0x0,0x0,0x0,
68 0xff919191,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 68 0xff919191,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
69 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 69 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
70 0x0,0x0,0xffaeaeae,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffafafaf,0xff727272,0x0,0x0, 70 0x0,0x0,0xffaeaeae,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffafafaf,0xff727272,0x0,0x0,
71 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 71 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
72 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xffcacaca,0x0,0x0,0x0, 72 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff838383,0xffcacaca,0x0,0x0,0x0,
73 0x0,0x0,0x0,0x0,0x0,0x0,0xffeaeaea,0xffb7b7b7,0xff919191,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272, 73 0x0,0x0,0x0,0x0,0x0,0x0,0xffeaeaea,0xffb7b7b7,0xff919191,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,
74 0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272, 74 0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,0xff727272,
75 0xff727272,0xff838383,0xffa0a0a0,0xffcacaca,0x0,0x0,0x0,0x0,0x0,0x0 75 0xff727272,0xff838383,0xffa0a0a0,0xffcacaca,0x0,0x0,0x0,0x0,0x0,0x0
76}; 76};
77 77
78static const QRgb buttonfill_data[] = { 78static const QRgb buttonfill_data[] = {
79 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 79 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
80 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 80 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
81 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 81 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
82 0x0,0xff8a8685,0xffa2a2a2,0xffb9b8b6,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4, 82 0x0,0xff8a8685,0xffa2a2a2,0xffb9b8b6,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,
83 0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffb9b8b6,0xffa2a2a2,0xff8a8685,0x0,0x0, 83 0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffb9b8b6,0xffa2a2a2,0xff8a8685,0x0,0x0,
84 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff8a8685,0xffa8a6a5,0xffc8c7c5,0xffebebeb,0xfff4f4f4,0xffffffff, 84 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff8a8685,0xffa8a6a5,0xffc8c7c5,0xffebebeb,0xfff4f4f4,0xffffffff,
85 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 85 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
86 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff4f4f4,0xffebebeb,0xffc8c7c5,0xffa8a6a5,0xff8a8685,0x0,0x0,0x0,0x0,0x0, 86 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff4f4f4,0xffebebeb,0xffc8c7c5,0xffa8a6a5,0xff8a8685,0x0,0x0,0x0,0x0,0x0,
87 0x0,0x0,0xff949292,0xffb1aeae,0xffd4d4d4,0xfff0ebe8,0xfff3f3f3,0xfff4f4f4,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 87 0x0,0x0,0xff949292,0xffb1aeae,0xffd4d4d4,0xfff0ebe8,0xfff3f3f3,0xfff4f4f4,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
88 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff4f4f4, 88 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff4f4f4,
89 0xfff3f3f3,0xfff0ebe8,0xffd4d4d4,0xffb1aeae,0xff949292,0x0,0x0,0x0,0x0,0x0,0xff9d9593,0xffb1aeae,0xffd6d3d2,0xffe4e4e4, 89 0xfff3f3f3,0xfff0ebe8,0xffd4d4d4,0xffb1aeae,0xff949292,0x0,0x0,0x0,0x0,0x0,0xff9d9593,0xffb1aeae,0xffd6d3d2,0xffe4e4e4,
90 0xffe4e2e3,0xfff3f3f3,0xfff9f9f9,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 90 0xffe4e2e3,0xfff3f3f3,0xfff9f9f9,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
91 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff9f9f9,0xfff3f3f3,0xffe4e2e3,0xffe4e4e4,0xffd6d3d2,0xffb1aeae, 91 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff9f9f9,0xfff3f3f3,0xffe4e2e3,0xffe4e4e4,0xffd6d3d2,0xffb1aeae,
92 0xff9d9593,0x0,0x0,0x0,0x0,0xffa6a8a5,0xffc2c6c3,0xffd0d0d0,0xffe4e2e3,0xffe4e4e4,0xfff4f4f4,0xfff9f9f9,0xffffffff,0xffffffff, 92 0xff9d9593,0x0,0x0,0x0,0x0,0xffa6a8a5,0xffc2c6c3,0xffd0d0d0,0xffe4e2e3,0xffe4e4e4,0xfff4f4f4,0xfff9f9f9,0xffffffff,0xffffffff,
93 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 93 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
94 0xffffffff,0xffffffff,0xffffffff,0xfff9f9f9,0xfff4f4f4,0xffe4e4e4,0xffe4e2e3,0xffd0d0d0,0xffc2c6c3,0xffa6a8a5,0x0,0x0,0x0,0xff9e9d9a, 94 0xffffffff,0xffffffff,0xffffffff,0xfff9f9f9,0xfff4f4f4,0xffe4e4e4,0xffe4e2e3,0xffd0d0d0,0xffc2c6c3,0xffa6a8a5,0x0,0x0,0x0,0xff9e9d9a,
95 0xffaeb1ae,0xffc7ccc8,0xffced0cf,0xffdddddd,0xffe1e1e1,0xffefefef,0xffefefef,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 95 0xffaeb1ae,0xffc7ccc8,0xffced0cf,0xffdddddd,0xffe1e1e1,0xffefefef,0xffefefef,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
96 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffefefef,0xffefefef, 96 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffefefef,0xffefefef,
97 0xffe1e1e1,0xffdddddd,0xffced0cf,0xffc7ccc8,0xffaeb1ae,0xff9e9d9a,0x0,0x0,0xffa6a5a2,0xffb6bab6,0xffc7ccc8,0xffcacac9,0xffd4d4d4,0xffdbd9da, 97 0xffe1e1e1,0xffdddddd,0xffced0cf,0xffc7ccc8,0xffaeb1ae,0xff9e9d9a,0x0,0x0,0xffa6a5a2,0xffb6bab6,0xffc7ccc8,0xffcacac9,0xffd4d4d4,0xffdbd9da,
98 0xffe4e4e4,0xffe4e4e4,0xffebebeb,0xfff3f3f3,0xfff3f3f3,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff3f3f3,0xfff4f4f4,0xfff4f4f4,0xfff3f3f3,0xfff3f3f3, 98 0xffe4e4e4,0xffe4e4e4,0xffebebeb,0xfff3f3f3,0xfff3f3f3,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff3f3f3,0xfff4f4f4,0xfff4f4f4,0xfff3f3f3,0xfff3f3f3,
99 0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff3f3f3,0xfff3f3f3,0xffebebeb,0xffe4e4e4,0xffe4e4e4,0xffdbd9da,0xffd4d4d4,0xffcacac9,0xffc7ccc8,0xffb6bab6, 99 0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff3f3f3,0xfff3f3f3,0xffebebeb,0xffe4e4e4,0xffe4e4e4,0xffdbd9da,0xffd4d4d4,0xffcacac9,0xffc7ccc8,0xffb6bab6,
100 0xffa6a5a2,0x0,0x0,0xffa9a9a5,0xffb4b6b3,0xffbfc4c0,0xffc3c3c3,0xffcdcdcd,0xffd4d4d4,0xffd8d8d8,0xffdddddd,0xffe1e1e1,0xffe4e4e4,0xffe4e4e4, 100 0xffa6a5a2,0x0,0x0,0xffa9a9a5,0xffb4b6b3,0xffbfc4c0,0xffc3c3c3,0xffcdcdcd,0xffd4d4d4,0xffd8d8d8,0xffdddddd,0xffe1e1e1,0xffe4e4e4,0xffe4e4e4,
101 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4, 101 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,
102 0xffe4e4e4,0xffe1e1e1,0xffdddddd,0xffd8d8d8,0xffd4d4d4,0xffcdcdcd,0xffc3c3c3,0xffbfc4c0,0xffb4b6b3,0xffa9a9a5,0x0,0x0,0xffa9a9a5,0xffaeb1ae, 102 0xffe4e4e4,0xffe1e1e1,0xffdddddd,0xffd8d8d8,0xffd4d4d4,0xffcdcdcd,0xffc3c3c3,0xffbfc4c0,0xffb4b6b3,0xffa9a9a5,0x0,0x0,0xffa9a9a5,0xffaeb1ae,
103 0xffbabdbb,0xffc3c3c3,0xffcbcbcb,0xffcdcdcd,0xffd4d4d4,0xffd4d4d4,0xffdddddd,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4, 103 0xffbabdbb,0xffc3c3c3,0xffcbcbcb,0xffcdcdcd,0xffd4d4d4,0xffd4d4d4,0xffdddddd,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,
104 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffdddddd,0xffd4d4d4,0xffd4d4d4,0xffcdcdcd, 104 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffdddddd,0xffd4d4d4,0xffd4d4d4,0xffcdcdcd,
105 0xffcbcbcb,0xffc3c3c3,0xffbabdbb,0xffaeb1ae,0xffa9a9a5,0x0,0x0,0xff9a9894,0xffa6a8a5,0xffb2b7b3,0xffbabdbb,0xffc3c3c3,0xffc5c5c5,0xffc7c7c7, 105 0xffcbcbcb,0xffc3c3c3,0xffbabdbb,0xffaeb1ae,0xffa9a9a5,0x0,0x0,0xff9a9894,0xffa6a8a5,0xffb2b7b3,0xffbabdbb,0xffc3c3c3,0xffc5c5c5,0xffc7c7c7,
106 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0, 106 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,
107 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffc7c7c7,0xffc5c5c5,0xffc3c3c3,0xffbabdbb,0xffb2b7b3,0xffa6a8a5,0xff9a9894, 107 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffc7c7c7,0xffc5c5c5,0xffc3c3c3,0xffbabdbb,0xffb2b7b3,0xffa6a8a5,0xff9a9894,
108 0x0,0x0,0xff9a9894,0xffa6a8a5,0xffb2b7b3,0xffbabdbb,0xffc3c3c3,0xffc5c5c5,0xffc7c7c7,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0, 108 0x0,0x0,0xff9a9894,0xffa6a8a5,0xffb2b7b3,0xffbabdbb,0xffc3c3c3,0xffc5c5c5,0xffc7c7c7,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,
109 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0, 109 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,
110 0xffd0d0d0,0xffd0d0d0,0xffc7c7c7,0xffc5c5c5,0xffc3c3c3,0xffbabdbb,0xffb2b7b3,0xffa6a8a5,0xff9a9894,0x0,0x0,0xff9a9894,0xffa6a8a5,0xffb2b7b3, 110 0xffd0d0d0,0xffd0d0d0,0xffc7c7c7,0xffc5c5c5,0xffc3c3c3,0xffbabdbb,0xffb2b7b3,0xffa6a8a5,0xff9a9894,0x0,0x0,0xff9a9894,0xffa6a8a5,0xffb2b7b3,
111 0xffbabdbb,0xffc3c3c3,0xffc5c5c5,0xffc7c7c7,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0, 111 0xffbabdbb,0xffc3c3c3,0xffc5c5c5,0xffc7c7c7,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,
112 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffc7c7c7,0xffc5c5c5,0xffc3c3c3, 112 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffc7c7c7,0xffc5c5c5,0xffc3c3c3,
113 0xffbabdbb,0xffb2b7b3,0xffa6a8a5,0xff9a9894,0x0,0x0,0xff9a9894,0xffa6a8a5,0xffb2b7b3,0xffbabdbb,0xffc3c3c3,0xffc5c5c5,0xffc7c7c7,0xffd0d0d0, 113 0xffbabdbb,0xffb2b7b3,0xffa6a8a5,0xff9a9894,0x0,0x0,0xff9a9894,0xffa6a8a5,0xffb2b7b3,0xffbabdbb,0xffc3c3c3,0xffc5c5c5,0xffc7c7c7,0xffd0d0d0,
114 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0, 114 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,
115 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffc7c7c7,0xffc5c5c5,0xffc3c3c3,0xffbabdbb,0xffb2b7b3,0xffa6a8a5,0xff9a9894,0x0, 115 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffc7c7c7,0xffc5c5c5,0xffc3c3c3,0xffbabdbb,0xffb2b7b3,0xffa6a8a5,0xff9a9894,0x0,
116 0x0,0xff9a9894,0xffa6a8a5,0xffb2b7b3,0xffbabdbb,0xffc3c3c3,0xffc5c5c5,0xffc7c7c7,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0, 116 0x0,0xff9a9894,0xffa6a8a5,0xffb2b7b3,0xffbabdbb,0xffc3c3c3,0xffc5c5c5,0xffc7c7c7,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,
117 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0, 117 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,
118 0xffd0d0d0,0xffc7c7c7,0xffc5c5c5,0xffc3c3c3,0xffbabdbb,0xffb2b7b3,0xffa6a8a5,0xff9a9894,0x0,0x0,0xff9a9894,0xffa6a8a5,0xffb2b7b3,0xffbabdbb, 118 0xffd0d0d0,0xffc7c7c7,0xffc5c5c5,0xffc3c3c3,0xffbabdbb,0xffb2b7b3,0xffa6a8a5,0xff9a9894,0x0,0x0,0xff9a9894,0xffa6a8a5,0xffb2b7b3,0xffbabdbb,
119 0xffc3c3c3,0xffc5c5c5,0xffc7c7c7,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0, 119 0xffc3c3c3,0xffc5c5c5,0xffc7c7c7,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,
120 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffc7c7c7,0xffc5c5c5,0xffc3c3c3,0xffbabdbb, 120 0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffd0d0d0,0xffc7c7c7,0xffc5c5c5,0xffc3c3c3,0xffbabdbb,
121 0xffb2b7b3,0xffa6a8a5,0xff9a9894,0x0,0x0,0xffa9a9a5,0xffaeb1ae,0xffbabdbb,0xffc3c3c3,0xffcbcbcb,0xffcdcdcd,0xffd4d4d4,0xffd4d4d4,0xffdddddd, 121 0xffb2b7b3,0xffa6a8a5,0xff9a9894,0x0,0x0,0xffa9a9a5,0xffaeb1ae,0xffbabdbb,0xffc3c3c3,0xffcbcbcb,0xffcdcdcd,0xffd4d4d4,0xffd4d4d4,0xffdddddd,
122 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4, 122 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,
123 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffdddddd,0xffd4d4d4,0xffd4d4d4,0xffcdcdcd,0xffcbcbcb,0xffc3c3c3,0xffbabdbb,0xffaeb1ae,0xffa9a9a5,0x0,0x0, 123 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffdddddd,0xffd4d4d4,0xffd4d4d4,0xffcdcdcd,0xffcbcbcb,0xffc3c3c3,0xffbabdbb,0xffaeb1ae,0xffa9a9a5,0x0,0x0,
124 0xffa9a9a5,0xffb4b6b3,0xffbfc4c0,0xffc3c3c3,0xffcdcdcd,0xffd4d4d4,0xffd8d8d8,0xffdddddd,0xffe1e1e1,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4, 124 0xffa9a9a5,0xffb4b6b3,0xffbfc4c0,0xffc3c3c3,0xffcdcdcd,0xffd4d4d4,0xffd8d8d8,0xffdddddd,0xffe1e1e1,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,
125 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe1e1e1,0xffdddddd, 125 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe1e1e1,0xffdddddd,
126 0xffd8d8d8,0xffd4d4d4,0xffcdcdcd,0xffc3c3c3,0xffbfc4c0,0xffb4b6b3,0xffa9a9a5,0x0,0x0,0xffa6a5a2,0xffb6bab6,0xffc7ccc8,0xffcacac9,0xffd4d4d4, 126 0xffd8d8d8,0xffd4d4d4,0xffcdcdcd,0xffc3c3c3,0xffbfc4c0,0xffb4b6b3,0xffa9a9a5,0x0,0x0,0xffa6a5a2,0xffb6bab6,0xffc7ccc8,0xffcacac9,0xffd4d4d4,
127 0xffdbd9da,0xffe4e4e4,0xffe4e4e4,0xffebebeb,0xfff3f3f3,0xfff3f3f3,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff3f3f3,0xfff4f4f4,0xfff4f4f4,0xfff3f3f3, 127 0xffdbd9da,0xffe4e4e4,0xffe4e4e4,0xffebebeb,0xfff3f3f3,0xfff3f3f3,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff3f3f3,0xfff4f4f4,0xfff4f4f4,0xfff3f3f3,
128 0xfff3f3f3,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff3f3f3,0xfff3f3f3,0xffebebeb,0xffe4e4e4,0xffe4e4e4,0xffdbd9da,0xffd4d4d4,0xffcacac9,0xffc7ccc8, 128 0xfff3f3f3,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff4f4f4,0xfff3f3f3,0xfff3f3f3,0xffebebeb,0xffe4e4e4,0xffe4e4e4,0xffdbd9da,0xffd4d4d4,0xffcacac9,0xffc7ccc8,
129 0xffb6bab6,0xffa6a5a2,0x0,0x0,0xff9e9d9a,0xffaeb1ae,0xffc7ccc8,0xffced0cf,0xffdddddd,0xffe1e1e1,0xffefefef,0xffefefef,0xffffffff,0xffffffff, 129 0xffb6bab6,0xffa6a5a2,0x0,0x0,0xff9e9d9a,0xffaeb1ae,0xffc7ccc8,0xffced0cf,0xffdddddd,0xffe1e1e1,0xffefefef,0xffefefef,0xffffffff,0xffffffff,
130 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 130 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
131 0xffffffff,0xffffffff,0xffffffff,0xffefefef,0xffefefef,0xffe1e1e1,0xffdddddd,0xffced0cf,0xffc7ccc8,0xffaeb1ae,0xff9e9d9a,0x0,0x0,0x0, 131 0xffffffff,0xffffffff,0xffffffff,0xffefefef,0xffefefef,0xffe1e1e1,0xffdddddd,0xffced0cf,0xffc7ccc8,0xffaeb1ae,0xff9e9d9a,0x0,0x0,0x0,
132 0xffa6a8a5,0xffc2c6c3,0xffd0d0d0,0xffe4e2e3,0xffe4e4e4,0xfff4f4f4,0xfff9f9f9,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 132 0xffa6a8a5,0xffc2c6c3,0xffd0d0d0,0xffe4e2e3,0xffe4e4e4,0xfff4f4f4,0xfff9f9f9,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
133 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff9f9f9,0xfff4f4f4, 133 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff9f9f9,0xfff4f4f4,
134 0xffe4e4e4,0xffe4e2e3,0xffd0d0d0,0xffc2c6c3,0xffa6a8a5,0x0,0x0,0x0,0x0,0xff9d9593,0xffb1aeae,0xffd6d3d2,0xffe4e4e4,0xffe4e2e3, 134 0xffe4e4e4,0xffe4e2e3,0xffd0d0d0,0xffc2c6c3,0xffa6a8a5,0x0,0x0,0x0,0x0,0xff9d9593,0xffb1aeae,0xffd6d3d2,0xffe4e4e4,0xffe4e2e3,
135 0xfff3f3f3,0xfff9f9f9,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 135 0xfff3f3f3,0xfff9f9f9,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
136 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff9f9f9,0xfff3f3f3,0xffe4e2e3,0xffe4e4e4,0xffd6d3d2,0xffb1aeae,0xff9d9593, 136 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff9f9f9,0xfff3f3f3,0xffe4e2e3,0xffe4e4e4,0xffd6d3d2,0xffb1aeae,0xff9d9593,
137 0x0,0x0,0x0,0x0,0x0,0xff949292,0xffb1aeae,0xffd4d4d4,0xfff0ebe8,0xfff3f3f3,0xfff4f4f4,0xffffffff,0xffffffff,0xffffffff, 137 0x0,0x0,0x0,0x0,0x0,0xff949292,0xffb1aeae,0xffd4d4d4,0xfff0ebe8,0xfff3f3f3,0xfff4f4f4,0xffffffff,0xffffffff,0xffffffff,
138 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 138 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
139 0xffffffff,0xffffffff,0xfff4f4f4,0xfff3f3f3,0xfff0ebe8,0xffd4d4d4,0xffb1aeae,0xff949292,0x0,0x0,0x0,0x0,0x0,0x0, 139 0xffffffff,0xffffffff,0xfff4f4f4,0xfff3f3f3,0xfff0ebe8,0xffd4d4d4,0xffb1aeae,0xff949292,0x0,0x0,0x0,0x0,0x0,0x0,
140 0x0,0xff8a8685,0xffa8a6a5,0xffc8c7c5,0xffebebeb,0xfff4f4f4,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 140 0x0,0xff8a8685,0xffa8a6a5,0xffc8c7c5,0xffebebeb,0xfff4f4f4,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
141 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff4f4f4,0xffebebeb,0xffc8c7c5, 141 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff4f4f4,0xffebebeb,0xffc8c7c5,
142 0xffa8a6a5,0xff8a8685,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff8a8685,0xffa2a2a2, 142 0xffa8a6a5,0xff8a8685,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff8a8685,0xffa2a2a2,
143 0xffb9b8b6,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4, 143 0xffb9b8b6,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,
144 0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffb9b8b6,0xffa2a2a2,0xff8a8685,0x0,0x0,0x0,0x0,0x0, 144 0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffd4d4d4,0xffb9b8b6,0xffa2a2a2,0xff8a8685,0x0,0x0,0x0,0x0,0x0,
145 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 145 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
146 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 146 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
147 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 147 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
148}; 148};
149 149
150static const QRgb checkbox_data[] = { 150static const QRgb checkbox_data[] = {
151 0x786340,0x786340,0x360000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 151 0x786340,0x786340,0x360000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
152 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 152 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
153 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 153 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
154 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 154 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
155 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x404b4b4b,0xaa4c4c4c,0xff383838,0xff414141,0xff494949,0xff494949,0xff414141, 155 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x404b4b4b,0xaa4c4c4c,0xff383838,0xff414141,0xff494949,0xff494949,0xff414141,
156 0xff414141,0xff404040,0xff414141,0xff414141,0xff414141,0xff393939,0xaa4c4c4c,0x404f4f4f,0x0,0x0,0x0,0x0,0x0,0xaa555555, 156 0xff414141,0xff404040,0xff414141,0xff414141,0xff414141,0xff393939,0xaa4c4c4c,0x404f4f4f,0x0,0x0,0x0,0x0,0x0,0xaa555555,
157 0xea707070,0xffa4a4a4,0xffb4b4b4,0xffb4b4b4,0xffb5b5b5,0xffb4b4b4,0xffb5b5b5,0xffb4b4b4,0xffb3b3b3,0xffb4b4b4,0xffb5b5b5,0xff9a9a9a,0xea6f6f6f,0xaa575757, 157 0xea707070,0xffa4a4a4,0xffb4b4b4,0xffb4b4b4,0xffb5b5b5,0xffb4b4b4,0xffb5b5b5,0xffb4b4b4,0xffb3b3b3,0xffb4b4b4,0xffb5b5b5,0xff9a9a9a,0xea6f6f6f,0xaa575757,
158 0x0,0x0,0x0,0x0,0x0,0xff595959,0xff999999,0xffc0c0c0,0xffdddddd,0xffdedede,0xffdcdcdc,0xffdedede,0xffdcdcdc,0xffdddddd, 158 0x0,0x0,0x0,0x0,0x0,0xff595959,0xff999999,0xffc0c0c0,0xffdddddd,0xffdedede,0xffdcdcdc,0xffdedede,0xffdcdcdc,0xffdddddd,
159 0xffdddddd,0xffdddddd,0xffdddddd,0xffbebebe,0xffa4a4a4,0xff505050,0x0,0x0,0x0,0x0,0x0,0xff717171,0xffbcbcbc,0xffcecece, 159 0xffdddddd,0xffdddddd,0xffdddddd,0xffbebebe,0xffa4a4a4,0xff505050,0x0,0x0,0x0,0x0,0x0,0xff717171,0xffbcbcbc,0xffcecece,
160 0xffd5d5d5,0xffd5d5d5,0xffd6d6d6,0xffd4d4d4,0xffd6d6d6,0xffd5d5d5,0xffd5d5d5,0xffd4d4d4,0xffd5d5d5,0xffc5c5c5,0xffb4b4b4,0xff737373,0x0,0xff42f7, 160 0xffd5d5d5,0xffd5d5d5,0xffd6d6d6,0xffd4d4d4,0xffd6d6d6,0xffd5d5d5,0xffd5d5d5,0xffd4d4d4,0xffd5d5d5,0xffc5c5c5,0xffb4b4b4,0xff737373,0x0,0xff42f7,
161 0xff42f7,0x0,0x0,0xff848484,0xffababab,0xffbdbdbd,0xffbcbcbc,0xffbbbbbb,0xffc6c6c6,0xffbdbdbd,0xffbbbbbb,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc, 161 0xff42f7,0x0,0x0,0xff848484,0xffababab,0xffbdbdbd,0xffbcbcbc,0xffbbbbbb,0xffc6c6c6,0xffbdbdbd,0xffbbbbbb,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,
162 0xffbcbcbc,0xffbcbcbc,0xffacacac,0xff838383,0x0,0xff42f7,0xff42f7,0x0,0x0,0xff838383,0xffadadad,0xffbcbcbc,0xffbbbbbb,0xffbcbcbc, 162 0xffbcbcbc,0xffbcbcbc,0xffacacac,0xff838383,0x0,0xff42f7,0xff42f7,0x0,0x0,0xff838383,0xffadadad,0xffbcbcbc,0xffbbbbbb,0xffbcbcbc,
163 0xffbbbbbb,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbbbbbb,0xffadadad,0xff828282,0x0,0xff42f7,0xff42f7,0x0, 163 0xffbbbbbb,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbcbcbc,0xffbbbbbb,0xffadadad,0xff828282,0x0,0xff42f7,0xff42f7,0x0,
164 0x0,0xff8b8b8b,0xffb4b4b4,0xffc5c5c5,0xffc5c5c5,0xffc6c6c6,0xffcdcdcd,0xffc5c5c5,0xffc5c5c5,0xffc6c6c6,0xffcdcdcd,0xffc6c6c6,0xffc5c5c5,0xffc5c5c5, 164 0x0,0xff8b8b8b,0xffb4b4b4,0xffc5c5c5,0xffc5c5c5,0xffc6c6c6,0xffcdcdcd,0xffc5c5c5,0xffc5c5c5,0xffc6c6c6,0xffcdcdcd,0xffc6c6c6,0xffc5c5c5,0xffc5c5c5,
165 0xffbcbcbc,0xff8b8b8b,0x0,0xff42f7,0xff42f7,0x0,0x0,0xff939393,0xffb6b6b6,0xffcdcdcd,0xffcdcdcd,0xffcccccc,0xffcccccc,0xffcecece, 165 0xffbcbcbc,0xff8b8b8b,0x0,0xff42f7,0xff42f7,0x0,0x0,0xff939393,0xffb6b6b6,0xffcdcdcd,0xffcdcdcd,0xffcccccc,0xffcccccc,0xffcecece,
166 0xffcdcdcd,0xffcdcdcd,0xffcdcdcd,0xffcdcdcd,0xffd5d5d5,0xffcdcdcd,0xffc4c4c4,0xff929292,0x0,0xff42f7,0xff42f7,0x0,0x0,0xff949494, 166 0xffcdcdcd,0xffcdcdcd,0xffcdcdcd,0xffcdcdcd,0xffd5d5d5,0xffcdcdcd,0xffc4c4c4,0xff929292,0x0,0xff42f7,0xff42f7,0x0,0x0,0xff949494,
167 0xffc0c0c0,0xffd6d6d6,0xffd5d5d5,0xffdddddd,0xffd5d5d5,0xffdddddd,0xffdddddd,0xffdddddd,0xffdddddd,0xffdddddd,0xffdddddd,0xffd4d4d4,0xffcecece,0xff939393, 167 0xffc0c0c0,0xffd6d6d6,0xffd5d5d5,0xffdddddd,0xffd5d5d5,0xffdddddd,0xffdddddd,0xffdddddd,0xffdddddd,0xffdddddd,0xffdddddd,0xffd4d4d4,0xffcecece,0xff939393,
168 0x0,0xff42f7,0xff42f7,0x0,0x0,0xff9b9b9b,0xffcecece,0xffdcdcdc,0xffe6e6e6,0xffe5e5e5,0xffe6e6e6,0xffe5e5e5,0xffe6e6e6,0xffe7e7e7, 168 0x0,0xff42f7,0xff42f7,0x0,0x0,0xff9b9b9b,0xffcecece,0xffdcdcdc,0xffe6e6e6,0xffe5e5e5,0xffe6e6e6,0xffe5e5e5,0xffe6e6e6,0xffe7e7e7,
169 0xffdddddd,0xffe6e6e6,0xffe5e5e5,0xffdedede,0xffcdcdcd,0xff9a9a9a,0x0,0xd90200,0xe82c92,0x0,0x0,0xffa4a4a4,0xffd1d1d1,0xffeeeeee, 169 0xffdddddd,0xffe6e6e6,0xffe5e5e5,0xffdedede,0xffcdcdcd,0xff9a9a9a,0x0,0xd90200,0xe82c92,0x0,0x0,0xffa4a4a4,0xffd1d1d1,0xffeeeeee,
170 0xffe6e6e6,0xffeeeeee,0xffededed,0xffeeeeee,0xffefefef,0xffededed,0xffefefef,0xffeeeeee,0xffeeeeee,0xffe6e6e6,0xffcccccc,0xff9b9b9b,0x0,0x0, 170 0xffe6e6e6,0xffeeeeee,0xffededed,0xffeeeeee,0xffefefef,0xffededed,0xffefefef,0xffeeeeee,0xffeeeeee,0xffe6e6e6,0xffcccccc,0xff9b9b9b,0x0,0x0,
171 0x400000,0x0,0x0,0xffa3a3a3,0xffd9d9d9,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff7f7f7,0xfff6f6f6,0xfff6f6f6, 171 0x400000,0x0,0x0,0xffa3a3a3,0xffd9d9d9,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff7f7f7,0xfff6f6f6,0xfff6f6f6,
172 0xfff6f6f6,0xfff6f6f6,0xffd4d4d4,0xffa4a4a4,0x0,0x6c7574,0x6f6e20,0x0,0x0,0xffa5a5a5,0xffeeeeee,0xfffdfdfd,0xfffefefe,0xfffefefe, 172 0xfff6f6f6,0xfff6f6f6,0xffd4d4d4,0xffa4a4a4,0x0,0x6c7574,0x6f6e20,0x0,0x0,0xffa5a5a5,0xffeeeeee,0xfffdfdfd,0xfffefefe,0xfffefefe,
173 0xfffefefe,0xfffefefe,0xfffdfdfd,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xffd9d9d9,0xffa4a4a4,0x0,0xe90100,0xc86240,0x0, 173 0xfffefefe,0xfffefefe,0xfffdfdfd,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xffd9d9d9,0xffa4a4a4,0x0,0xe90100,0xc86240,0x0,
174 0x0,0xff939393,0xffd2d2d2,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffdfdfd,0xfffefefe,0xfffefefe, 174 0x0,0xff939393,0xffd2d2d2,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffdfdfd,0xfffefefe,0xfffefefe,
175 0xffd1d1d1,0xff939393,0x0,0x2d0014,0x490079,0x0,0x0,0xff797979,0xffa8a8a8,0xffc0c0c0,0xffededed,0xffeeeeee,0xffeeeeee,0xffeeeeee, 175 0xffd1d1d1,0xff939393,0x0,0x2d0014,0x490079,0x0,0x0,0xff797979,0xffa8a8a8,0xffc0c0c0,0xffededed,0xffeeeeee,0xffeeeeee,0xffeeeeee,
176 0xffefefef,0xffeeeeee,0xffeeeeee,0xffefefef,0xffeeeeee,0xffc0c0c0,0xffa8a8a8,0xff7a7a7a,0x0,0x0,0x0,0x0,0x0,0xaa848484, 176 0xffefefef,0xffeeeeee,0xffeeeeee,0xffefefef,0xffeeeeee,0xffc0c0c0,0xffa8a8a8,0xff7a7a7a,0x0,0x0,0x0,0x0,0x0,0xaa848484,
177 0xea787878,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xea787878,0xaa848484, 177 0xea787878,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xea787878,0xaa848484,
178 0x0,0xe06140,0xff42f7,0x0,0x0,0x40737373,0xaa787878,0xff7b7b7b,0xff727272,0xff717171,0xff727272,0xff737373,0xff727272,0xff727272, 178 0x0,0xe06140,0xff42f7,0x0,0x0,0x40737373,0xaa787878,0xff7b7b7b,0xff727272,0xff717171,0xff727272,0xff737373,0xff727272,0xff727272,
179 0xff727272,0xff727272,0xff727272,0xff7a7a7a,0xaa787878,0x40737373,0x0,0x906140,0xff42f7,0x0,0x0,0x0,0x0,0x0, 179 0xff727272,0xff727272,0xff727272,0xff7a7a7a,0xaa787878,0x40737373,0x0,0x906140,0xff42f7,0x0,0x0,0x0,0x0,0x0,
180 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 180 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
181 0x59,0xf8b092,0x28b192,0x0,0x52,0x7b14ae,0xe17a74,0x0,0xf0,0x0,0x0,0x0,0x52,0x7b14ae, 181 0x59,0xf8b092,0x28b192,0x0,0x52,0x7b14ae,0xe17a74,0x0,0xf0,0x0,0x0,0x0,0x52,0x7b14ae,
182 0xe17a74,0x0,0xf0,0x30000,0x0,0x0 182 0xe17a74,0x0,0xf0,0x30000,0x0,0x0
183}; 183};
184 184
185static const QRgb checkboxdown_data[] = { 185static const QRgb checkboxdown_data[] = {
186 0x786340,0x786340,0x360000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 186 0x786340,0x786340,0x360000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
187 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 187 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
188 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 188 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
189 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 189 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
190 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x404b4b4b,0xaa4c4c4c,0xff383838,0xff414141,0xff494949,0xff494949,0xff414141, 190 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x404b4b4b,0xaa4c4c4c,0xff383838,0xff414141,0xff494949,0xff494949,0xff414141,
191 0xff414141,0xff404040,0xff414141,0xff414141,0xff414141,0xff393939,0xaa4c4c4c,0x404f4f4f,0x0,0x0,0x0,0x0,0x0,0xaa555555, 191 0xff414141,0xff404040,0xff414141,0xff414141,0xff414141,0xff393939,0xaa4c4c4c,0x404f4f4f,0x0,0x0,0x0,0x0,0x0,0xaa555555,
192 0xea707070,0xffa4a4a4,0xffb4b4b4,0xffb4b4b4,0xffb5b5b5,0xffb4b4b4,0xffb5b5b5,0xffb4b4b4,0xffb3b3b3,0xffb4b4b4,0xffb5b5b5,0xff9a9a9a,0xea6f6f6f,0xaa575757, 192 0xea707070,0xffa4a4a4,0xffb4b4b4,0xffb4b4b4,0xffb5b5b5,0xffb4b4b4,0xffb5b5b5,0xffb4b4b4,0xffb3b3b3,0xffb4b4b4,0xffb5b5b5,0xff9a9a9a,0xea6f6f6f,0xaa575757,
193 0x0,0x0,0x0,0x0,0x0,0xff595959,0xff999999,0xffc0c0c0,0xffdddddd,0xffdedede,0xffdcdcdc,0xffdedede,0xffdcdcdc,0xffdddddd, 193 0x0,0x0,0x0,0x0,0x0,0xff595959,0xff999999,0xffc0c0c0,0xffdddddd,0xffdedede,0xffdcdcdc,0xffdedede,0xffdcdcdc,0xffdddddd,
194 0xffdddddd,0xffdddddd,0xffdddddd,0xffbebebe,0xffa4a4a4,0xff505050,0x0,0x0,0x0,0x0,0x0,0xff717171,0xffbcbcbc,0xffbcbcbc, 194 0xffdddddd,0xffdddddd,0xffdddddd,0xffbebebe,0xffa4a4a4,0xff505050,0x0,0x0,0x0,0x0,0x0,0xff717171,0xffbcbcbc,0xffbcbcbc,
195 0xff919191,0xffd5d5d5,0xffd6d6d6,0xffd4d4d4,0xffd6d6d6,0xffd5d5d5,0xffd5d5d5,0xffc2c2c2,0xff919191,0xffc5c5c5,0xffb4b4b4,0xff737373,0x0,0xff42f7, 195 0xff919191,0xffd5d5d5,0xffd6d6d6,0xffd4d4d4,0xffd6d6d6,0xffd5d5d5,0xffd5d5d5,0xffc2c2c2,0xff919191,0xffc5c5c5,0xffb4b4b4,0xff737373,0x0,0xff42f7,
196 0xff42f7,0x0,0x0,0xff848484,0xffababab,0xffacacac,0xff6b6b6b,0xff5f5f5f,0xffc6c6c6,0xffbdbdbd,0xffbbbbbb,0xffbcbcbc,0xff9f9f9f,0xff565656, 196 0xff42f7,0x0,0x0,0xff848484,0xffababab,0xffacacac,0xff6b6b6b,0xff5f5f5f,0xffc6c6c6,0xffbdbdbd,0xffbbbbbb,0xffbcbcbc,0xff9f9f9f,0xff565656,
197 0xff7f7f7f,0xffbcbcbc,0xffacacac,0xff838383,0x0,0xff42f7,0xff42f7,0x0,0x0,0xff838383,0xffadadad,0xffbcbcbc,0xff9e9e9e,0xff4a4a4a, 197 0xff7f7f7f,0xffbcbcbc,0xffacacac,0xff838383,0x0,0xff42f7,0xff42f7,0x0,0x0,0xff838383,0xffadadad,0xffbcbcbc,0xff9e9e9e,0xff4a4a4a,
198 0xff4b4b4b,0xffbcbcbc,0xffbcbcbc,0xff999999,0xff3d3d3d,0xff606060,0xffbcbcbc,0xffbbbbbb,0xffadadad,0xff828282,0x0,0xff42f7,0xff42f7,0x0, 198 0xff4b4b4b,0xffbcbcbc,0xffbcbcbc,0xff999999,0xff3d3d3d,0xff606060,0xffbcbcbc,0xffbbbbbb,0xffadadad,0xff828282,0x0,0xff42f7,0xff42f7,0x0,
199 0x0,0xff8b8b8b,0xffb4b4b4,0xffc5c5c5,0xffc5c5c5,0xffa2a2a2,0xff3c3c3c,0xff424242,0xff9b9b9b,0xff323232,0xff525252,0xffc6c6c6,0xffc5c5c5,0xffc5c5c5, 199 0x0,0xff8b8b8b,0xffb4b4b4,0xffc5c5c5,0xffc5c5c5,0xffa2a2a2,0xff3c3c3c,0xff424242,0xff9b9b9b,0xff323232,0xff525252,0xffc6c6c6,0xffc5c5c5,0xffc5c5c5,
200 0xffbcbcbc,0xff8b8b8b,0x0,0xff42f7,0xff42f7,0x0,0x0,0xff939393,0xffb6b6b6,0xffcdcdcd,0xffcdcdcd,0xffcccccc,0xffa0a0a0,0xff2b2b2b, 200 0xffbcbcbc,0xff8b8b8b,0x0,0xff42f7,0xff42f7,0x0,0x0,0xff939393,0xffb6b6b6,0xffcdcdcd,0xffcdcdcd,0xffcccccc,0xffa0a0a0,0xff2b2b2b,
201 0xff1d1d1d,0xff454545,0xffcdcdcd,0xffcdcdcd,0xffd5d5d5,0xffcdcdcd,0xffc4c4c4,0xff929292,0x0,0xff42f7,0xff42f7,0x0,0x0,0xff949494, 201 0xff1d1d1d,0xff454545,0xffcdcdcd,0xffcdcdcd,0xffd5d5d5,0xffcdcdcd,0xffc4c4c4,0xff929292,0x0,0xff42f7,0xff42f7,0x0,0x0,0xff949494,
202 0xffc0c0c0,0xffd6d6d6,0xffd5d5d5,0xffdddddd,0xffa8a8a8,0xff2f2f2f,0xff1f1f1f,0xff4a4a4a,0xffdddddd,0xffdddddd,0xffdddddd,0xffd4d4d4,0xffcecece,0xff939393, 202 0xffc0c0c0,0xffd6d6d6,0xffd5d5d5,0xffdddddd,0xffa8a8a8,0xff2f2f2f,0xff1f1f1f,0xff4a4a4a,0xffdddddd,0xffdddddd,0xffdddddd,0xffd4d4d4,0xffcecece,0xff939393,
203 0x0,0xff42f7,0xff42f7,0x0,0x0,0xff9b9b9b,0xffcecece,0xffdcdcdc,0xffe6e6e6,0xffbbbbbb,0xff444444,0xff4c4c4c,0xffb5b5b5,0xff3a3a3a, 203 0x0,0xff42f7,0xff42f7,0x0,0x0,0xff9b9b9b,0xffcecece,0xffdcdcdc,0xffe6e6e6,0xffbbbbbb,0xff444444,0xff4c4c4c,0xffb5b5b5,0xff3a3a3a,
204 0xff585858,0xffe6e6e6,0xffe5e5e5,0xffdedede,0xffcdcdcd,0xff9a9a9a,0x0,0xd90200,0xe82c92,0x0,0x0,0xffa4a4a4,0xffd1d1d1,0xffeeeeee, 204 0xff585858,0xffe6e6e6,0xffe5e5e5,0xffdedede,0xffcdcdcd,0xff9a9a9a,0x0,0xd90200,0xe82c92,0x0,0x0,0xffa4a4a4,0xffd1d1d1,0xffeeeeee,
205 0xffc3c3c3,0xff5f5f5f,0xff5f5f5f,0xffeeeeee,0xffefefef,0xffc2c2c2,0xff4d4d4d,0xff797979,0xffeeeeee,0xffe6e6e6,0xffcccccc,0xff9b9b9b,0x0,0x0, 205 0xffc3c3c3,0xff5f5f5f,0xff5f5f5f,0xffeeeeee,0xffefefef,0xffc2c2c2,0xff4d4d4d,0xff797979,0xffeeeeee,0xffe6e6e6,0xffcccccc,0xff9b9b9b,0x0,0x0,
206 0x400000,0x0,0x0,0xffa3a3a3,0xffd9d9d9,0xffe1e1e1,0xff8c8c8c,0xff7c7c7c,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff7f7f7,0xffd1d1d1,0xff707070, 206 0x400000,0x0,0x0,0xffa3a3a3,0xffd9d9d9,0xffe1e1e1,0xff8c8c8c,0xff7c7c7c,0xfff6f6f6,0xfff6f6f6,0xfff6f6f6,0xfff7f7f7,0xffd1d1d1,0xff707070,
207 0xffa8a8a8,0xfff6f6f6,0xffd4d4d4,0xffa4a4a4,0x0,0x6c7574,0x6f6e20,0x0,0x0,0xffa5a5a5,0xffeeeeee,0xffe8e8e8,0xffadadad,0xfffefefe, 207 0xffa8a8a8,0xfff6f6f6,0xffd4d4d4,0xffa4a4a4,0x0,0x6c7574,0x6f6e20,0x0,0x0,0xffa5a5a5,0xffeeeeee,0xffe8e8e8,0xffadadad,0xfffefefe,
208 0xfffefefe,0xfffefefe,0xfffdfdfd,0xfffefefe,0xfffefefe,0xffe9e9e9,0xffadadad,0xfffefefe,0xffd9d9d9,0xffa4a4a4,0x0,0xe90100,0xc86240,0x0, 208 0xfffefefe,0xfffefefe,0xfffdfdfd,0xfffefefe,0xfffefefe,0xffe9e9e9,0xffadadad,0xfffefefe,0xffd9d9d9,0xffa4a4a4,0x0,0xe90100,0xc86240,0x0,
209 0x0,0xff939393,0xffd2d2d2,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffdfdfd,0xfffefefe,0xfffefefe, 209 0x0,0xff939393,0xffd2d2d2,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffdfdfd,0xfffefefe,0xfffefefe,
210 0xffd1d1d1,0xff939393,0x0,0x2d0014,0x490079,0x0,0x0,0xff797979,0xffa8a8a8,0xffc0c0c0,0xffededed,0xffeeeeee,0xffeeeeee,0xffeeeeee, 210 0xffd1d1d1,0xff939393,0x0,0x2d0014,0x490079,0x0,0x0,0xff797979,0xffa8a8a8,0xffc0c0c0,0xffededed,0xffeeeeee,0xffeeeeee,0xffeeeeee,
211 0xffefefef,0xffeeeeee,0xffeeeeee,0xffefefef,0xffeeeeee,0xffc0c0c0,0xffa8a8a8,0xff7a7a7a,0x0,0x0,0x0,0x0,0x0,0xaa848484, 211 0xffefefef,0xffeeeeee,0xffeeeeee,0xffefefef,0xffeeeeee,0xffc0c0c0,0xffa8a8a8,0xff7a7a7a,0x0,0x0,0x0,0x0,0x0,0xaa848484,
212 0xea787878,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xea787878,0xaa848484, 212 0xea787878,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xff7c7c7c,0xea787878,0xaa848484,
213 0x0,0xe06140,0xff42f7,0x0,0x0,0x40737373,0xaa787878,0xff7b7b7b,0xff727272,0xff717171,0xff727272,0xff737373,0xff727272,0xff727272, 213 0x0,0xe06140,0xff42f7,0x0,0x0,0x40737373,0xaa787878,0xff7b7b7b,0xff727272,0xff717171,0xff727272,0xff737373,0xff727272,0xff727272,
214 0xff727272,0xff727272,0xff727272,0xff7a7a7a,0xaa787878,0x40737373,0x0,0x906140,0xff42f7,0x0,0x0,0x0,0x0,0x0, 214 0xff727272,0xff727272,0xff727272,0xff7a7a7a,0xaa787878,0x40737373,0x0,0x906140,0xff42f7,0x0,0x0,0x0,0x0,0x0,
215 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 215 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
216 0x59,0xf8b092,0x28b192,0x0,0x52,0x7b14ae,0xe17a74,0x0,0xf0,0x0,0x0,0x0,0x52,0x7b14ae, 216 0x59,0xf8b092,0x28b192,0x0,0x52,0x7b14ae,0xe17a74,0x0,0xf0,0x0,0x0,0x0,0x52,0x7b14ae,
217 0xe17a74,0x0,0xf0,0x30000,0x0,0x0 217 0xe17a74,0x0,0xf0,0x30000,0x0,0x0
218}; 218};
219 219
220static const QRgb clear_fill_large_data[] = { 220static const QRgb clear_fill_large_data[] = {
221 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 221 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
222 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 222 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
223 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 223 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
224 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 224 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
225 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 225 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
226 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 226 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
227 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffefefef,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 227 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffefefef,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
228 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 228 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
229 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 229 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
230 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 230 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
231 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 231 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
232 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 232 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
233 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffe7e7e7,0xffefefef, 233 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffe7e7e7,0xffefefef,
234 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 234 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
235 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 235 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
236 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 236 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
237 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 237 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
238 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 238 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
239 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 239 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
240 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 240 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
241 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 241 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
242 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 242 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
243 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 243 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
244 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 244 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
245 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 245 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
246 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 246 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
247 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 247 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
248 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 248 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
249 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffd6d6d6, 249 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffd6d6d6,
250 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 250 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
251 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 251 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
252 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 252 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
253 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 253 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
254 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 254 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
255 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 255 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
256 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 256 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
257 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 257 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
258 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 258 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
259 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 259 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
260 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 260 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
261 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 261 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
262 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffdedede,0xffdedede, 262 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffdedede,0xffdedede,
263 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 263 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
264 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 264 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
265 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffd6d6d6, 265 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffd6d6d6,
266 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 266 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
267 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 267 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
268 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 268 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
269 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 269 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
270 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 270 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
271 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 271 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
272 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffdedede,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 272 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffdedede,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
273 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 273 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
274 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 274 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
275 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 275 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
276 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 276 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
277 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 277 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
278 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffe7e7e7,0xffefefef,0xffefefef, 278 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffe7e7e7,0xffefefef,0xffefefef,
279 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 279 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
280 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 280 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
281 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 281 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
282 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 282 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
283 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 283 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
284 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 284 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
285 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 285 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
286 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 286 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
287 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 287 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
288 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 288 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
289 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 289 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
290 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 290 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
291 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 291 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
292 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 292 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
293 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 293 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
294 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xfff7f7f7, 294 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xfff7f7f7,
295 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 295 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
296 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 296 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
297 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 297 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
298 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 298 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
299 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 299 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
300 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 300 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
301 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 301 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
302 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 302 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
303 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 303 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
304 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 304 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
305 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 305 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
306 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 306 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
307 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff7f7f7,0xffffffff,0xffffffff,0xffffffff, 307 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff7f7f7,0xffffffff,0xffffffff,0xffffffff,
308 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 308 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
309 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 309 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
310 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 310 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
311 0xfff7f7f7,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 311 0xfff7f7f7,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
312 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 312 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
313 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 313 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
314 0xffffffff,0xffffffff,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 314 0xffffffff,0xffffffff,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
315 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 315 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
316 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 316 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
317 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 317 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
318 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 318 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
319 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 319 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
320 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 320 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
321 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 321 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
322 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 322 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
323 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xffffffff,0xffffffff, 323 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xffffffff,0xffffffff,
324 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 324 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
325 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 325 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
326 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 326 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
327 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 327 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
328 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 328 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
329 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 329 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
330 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 330 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
331 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 331 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
332 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 332 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
333 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 333 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
334 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 334 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
335 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 335 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
336 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 336 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
337 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 337 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
338 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 338 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
339 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 339 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
340 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 340 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
341 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 341 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
342 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 342 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
343 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 343 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
344 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 344 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
345 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 345 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
346 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 346 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
347 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 347 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
348 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 348 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
349 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xffffffff,0xffffffff,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 349 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xffffffff,0xffffffff,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
350 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 350 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
351 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 351 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
352 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xffffffff,0xffffffff,0xfff7f7f7,0xfff7f7f7, 352 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xffffffff,0xffffffff,0xfff7f7f7,0xfff7f7f7,
353 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 353 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
354 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 354 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
355 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xffffffff, 355 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xffffffff,
356 0xffffffff,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 356 0xffffffff,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
357 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 357 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
358 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 358 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
359 0xfff7f7f7,0xfff7f7f7,0xffffffff,0xfff7f7f7,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 359 0xfff7f7f7,0xfff7f7f7,0xffffffff,0xfff7f7f7,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
360 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 360 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
361 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 361 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
362 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff7f7f7 362 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfff7f7f7
363}; 363};
364 364
365static const QRgb clear_fill_small_data[] = { 365static const QRgb clear_fill_small_data[] = {
366 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 366 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
367 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 367 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
368 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 368 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
369 0xffececec,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9, 369 0xffececec,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,
370 0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9, 370 0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,
371 0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffececec, 371 0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffe9e9e9,0xffececec,
372 0xffebebeb,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed, 372 0xffebebeb,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,
373 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed, 373 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,
374 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffebebeb, 374 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffebebeb,
375 0xffe5e5e5,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 375 0xffe5e5e5,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
376 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 376 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
377 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe5e5e5, 377 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe5e5e5,
378 0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0, 378 0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,
379 0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0, 379 0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,
380 0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0, 380 0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,
381 0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9, 381 0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,
382 0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9, 382 0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,
383 0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9, 383 0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,
384 0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7, 384 0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,
385 0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7, 385 0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,
386 0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7, 386 0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,0xffd7d7d7,
387 0xffd7d7d7,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9, 387 0xffd7d7d7,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,
388 0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9, 388 0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,
389 0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd7d7d7, 389 0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd9d9d9,0xffd7d7d7,
390 0xffdcdcdc,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0, 390 0xffdcdcdc,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,
391 0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0, 391 0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,
392 0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffdcdcdc, 392 0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffdcdcdc,
393 0xffe3e3e3,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 393 0xffe3e3e3,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
394 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 394 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
395 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe3e3e3, 395 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe3e3e3,
396 0xffebebeb,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed, 396 0xffebebeb,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,
397 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed, 397 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,
398 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffebebeb, 398 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffebebeb,
399 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 399 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
400 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 400 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
401 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 401 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
402 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 402 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
403 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 403 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
404 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef, 404 0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,0xffefefef,
405 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2, 405 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,
406 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2, 406 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,
407 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2, 407 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,
408 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 408 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
409 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 409 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
410 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 410 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
411 0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 411 0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
412 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 412 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
413 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9, 413 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,
414 0xfffafafa,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd, 414 0xfffafafa,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,
415 0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd, 415 0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,
416 0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffafafa, 416 0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffafafa,
417 0xfff8f8f8,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa, 417 0xfff8f8f8,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,
418 0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa, 418 0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,
419 0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfff8f8f8, 419 0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfffafafa,0xfff8f8f8,
420 0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9, 420 0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,
421 0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9, 421 0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,
422 0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9, 422 0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,
423 0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd, 423 0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,
424 0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd, 424 0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,
425 0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd, 425 0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,0xfffdfdfd,
426 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 426 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
427 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 427 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
428 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 428 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
429 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 429 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
430 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 430 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
431 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff, 431 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,
432 0xffffffff,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 432 0xffffffff,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
433 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 433 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
434 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xffffffff, 434 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xffffffff,
435 0xffffffff,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9, 435 0xffffffff,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,
436 0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9, 436 0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,
437 0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xffffffff, 437 0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xfff9f9f9,0xffffffff,
438 0xfffefefe,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 438 0xfffefefe,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
439 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 439 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
440 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfffefefe, 440 0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfffefefe,
441 0xfffafafa,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc, 441 0xfffafafa,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,
442 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc, 442 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,
443 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffafafa 443 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffafafa
444}; 444};
445 445
446static const QRgb htmlbtnborder_data[] = { 446static const QRgb htmlbtnborder_data[] = {
447 0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894, 447 0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,
448 0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894, 448 0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,
449 0xff9a9894,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894, 449 0xff9a9894,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,
450 0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 450 0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
451 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894, 451 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,
452 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0, 452 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,
453 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 453 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
454 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0, 454 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,
455 0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 455 0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
456 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 456 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
457 0x0,0x0,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0, 457 0x0,0x0,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,
458 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 458 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
459 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 459 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
460 0x0,0xff9a9894,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 460 0x0,0xff9a9894,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
461 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 461 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
462 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0x0,0xff9a9894,0x0, 462 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0x0,0xff9a9894,0x0,
463 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 463 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
464 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 464 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
465 0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0, 465 0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,
466 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 466 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
467 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 467 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
468 0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 468 0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
469 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 469 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
470 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0, 470 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,
471 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 471 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
472 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 472 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
473 0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 473 0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
474 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 474 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
475 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 475 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
476 0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 476 0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
477 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 477 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
478 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0, 478 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,
479 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 479 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
480 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 480 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
481 0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 481 0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
482 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 482 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
483 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894, 483 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,
484 0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 484 0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
485 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 485 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
486 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0, 486 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,
487 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 487 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
488 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 488 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
489 0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 489 0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
490 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 490 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
491 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894, 491 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,
492 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 492 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
493 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 493 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
494 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0, 494 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,
495 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 495 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
496 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 496 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
497 0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 497 0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
498 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 498 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
499 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0xff9a9894, 499 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0xff9a9894,
500 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 500 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
501 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 501 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
502 0x0,0x0,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0, 502 0x0,0x0,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0,
503 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 503 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
504 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 504 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
505 0xff9a9894,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 505 0xff9a9894,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
506 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 506 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
507 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0, 507 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0,
508 0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 508 0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
509 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 509 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
510 0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0, 510 0x0,0x0,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,
511 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 511 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
512 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0, 512 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0x0,0x0,0x0,
513 0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894, 513 0x0,0x0,0x0,0x0,0x0,0x0,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,
514 0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894, 514 0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,
515 0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0 515 0xff9a9894,0xff9a9894,0xff9a9894,0xff9a9894,0x0,0x0,0x0,0x0,0x0,0x0
516}; 516};
517 517
518static const QRgb htmlcheckbox_data[] = { 518static const QRgb htmlcheckbox_data[] = {
519 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 519 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
520 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 520 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
521 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 521 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
522 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 522 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
523 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151, 523 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,
524 0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0x0,0x0,0x0,0x0,0x0,0x0,0xff515151,0xff6b6b6b, 524 0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0x0,0x0,0x0,0x0,0x0,0x0,0xff515151,0xff6b6b6b,
525 0xffa5a5a5,0xffb5b5b5,0xffb5b5b5,0xffb6b6b6,0xffb5b5b5,0xffb6b6b6,0xffb5b5b5,0xffb4b4b4,0xffb5b5b5,0xffb6b6b6,0xff9b9b9b,0xff6b6b6b,0xff515151,0x0, 525 0xffa5a5a5,0xffb5b5b5,0xffb5b5b5,0xffb6b6b6,0xffb5b5b5,0xffb6b6b6,0xffb5b5b5,0xffb4b4b4,0xffb5b5b5,0xffb6b6b6,0xff9b9b9b,0xff6b6b6b,0xff515151,0x0,
526 0x0,0x0,0x0,0x0,0xff515151,0xffadadad,0xffd5d5d5,0xffdedede,0xffdfdfdf,0xffdddddd,0xffdfdfdf,0xffdddddd,0xffdedede,0xffdedede, 526 0x0,0x0,0x0,0x0,0xff515151,0xffadadad,0xffd5d5d5,0xffdedede,0xffdfdfdf,0xffdddddd,0xffdfdfdf,0xffdddddd,0xffdedede,0xffdedede,
527 0xffdedede,0xffdedede,0xffd6d6d6,0xffa5a5a5,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffbdbdbd,0xffcfcfcf,0xffd6d6d6, 527 0xffdedede,0xffdedede,0xffd6d6d6,0xffa5a5a5,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffbdbdbd,0xffcfcfcf,0xffd6d6d6,
528 0xffd6d6d6,0xffd7d7d7,0xffd5d5d5,0xffd7d7d7,0xffd6d6d6,0xffd6d6d6,0xffd5d5d5,0xffd6d6d6,0xffcecece,0xffb5b5b5,0xff515151,0x0,0x0,0x0, 528 0xffd6d6d6,0xffd7d7d7,0xffd5d5d5,0xffd7d7d7,0xffd6d6d6,0xffd6d6d6,0xffd5d5d5,0xffd6d6d6,0xffcecece,0xffb5b5b5,0xff515151,0x0,0x0,0x0,
529 0x0,0x0,0xff515151,0xffacacac,0xffbebebe,0xffbdbdbd,0xffbcbcbc,0xffc7c7c7,0xffbebebe,0xffbcbcbc,0xffbdbdbd,0xffbdbdbd,0xffbdbdbd,0xffbdbdbd, 529 0x0,0x0,0xff515151,0xffacacac,0xffbebebe,0xffbdbdbd,0xffbcbcbc,0xffc7c7c7,0xffbebebe,0xffbcbcbc,0xffbdbdbd,0xffbdbdbd,0xffbdbdbd,0xffbdbdbd,
530 0xffbdbdbd,0xffadadad,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffaeaeae,0xffbdbdbd,0xffbcbcbc,0xffbdbdbd,0xffbcbcbc, 530 0xffbdbdbd,0xffadadad,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffaeaeae,0xffbdbdbd,0xffbcbcbc,0xffbdbdbd,0xffbcbcbc,
531 0xffbdbdbd,0xffbdbdbd,0xffbdbdbd,0xffbdbdbd,0xffbdbdbd,0xffbdbdbd,0xffbcbcbc,0xffaeaeae,0xff515151,0x0,0x0,0x0,0x0,0x0, 531 0xffbdbdbd,0xffbdbdbd,0xffbdbdbd,0xffbdbdbd,0xffbdbdbd,0xffbdbdbd,0xffbcbcbc,0xffaeaeae,0xff515151,0x0,0x0,0x0,0x0,0x0,
532 0xff515151,0xffb5b5b5,0xffc6c6c6,0xffc6c6c6,0xffc7c7c7,0xffcecece,0xffc6c6c6,0xffc6c6c6,0xffc7c7c7,0xffcecece,0xffc7c7c7,0xffc6c6c6,0xffc6c6c6,0xffbdbdbd, 532 0xff515151,0xffb5b5b5,0xffc6c6c6,0xffc6c6c6,0xffc7c7c7,0xffcecece,0xffc6c6c6,0xffc6c6c6,0xffc7c7c7,0xffcecece,0xffc7c7c7,0xffc6c6c6,0xffc6c6c6,0xffbdbdbd,
533 0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffbcbcbc,0xffcecece,0xffcecece,0xffcdcdcd,0xffcdcdcd,0xffcfcfcf,0xffcecece, 533 0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffbcbcbc,0xffcecece,0xffcecece,0xffcdcdcd,0xffcdcdcd,0xffcfcfcf,0xffcecece,
534 0xffcecece,0xffcecece,0xffcecece,0xffd6d6d6,0xffcecece,0xffc5c5c5,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffcdcdcd, 534 0xffcecece,0xffcecece,0xffcecece,0xffd6d6d6,0xffcecece,0xffc5c5c5,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffcdcdcd,
535 0xffd7d7d7,0xffd6d6d6,0xffdedede,0xffd6d6d6,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffd5d5d5,0xffcfcfcf,0xff515151,0x0, 535 0xffd7d7d7,0xffd6d6d6,0xffdedede,0xffd6d6d6,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffd5d5d5,0xffcfcfcf,0xff515151,0x0,
536 0x0,0x0,0x0,0x0,0xff515151,0xffcfcfcf,0xffdddddd,0xffe7e7e7,0xffe6e6e6,0xffe7e7e7,0xffe6e6e6,0xffe7e7e7,0xffe8e8e8,0xffdedede, 536 0x0,0x0,0x0,0x0,0xff515151,0xffcfcfcf,0xffdddddd,0xffe7e7e7,0xffe6e6e6,0xffe7e7e7,0xffe6e6e6,0xffe7e7e7,0xffe8e8e8,0xffdedede,
537 0xffe7e7e7,0xffe6e6e6,0xffdfdfdf,0xffcecece,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffdddddd,0xffefefef,0xffe7e7e7, 537 0xffe7e7e7,0xffe6e6e6,0xffdfdfdf,0xffcecece,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffdddddd,0xffefefef,0xffe7e7e7,
538 0xffefefef,0xffeeeeee,0xffefefef,0xfff0f0f0,0xffeeeeee,0xfff0f0f0,0xffefefef,0xffefefef,0xffe7e7e7,0xffd7d7d7,0xff515151,0x0,0x0,0x0, 538 0xffefefef,0xffeeeeee,0xffefefef,0xfff0f0f0,0xffeeeeee,0xfff0f0f0,0xffefefef,0xffefefef,0xffe7e7e7,0xffd7d7d7,0xff515151,0x0,0x0,0x0,
539 0x0,0x0,0xff515151,0xffe7e7e7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff8f8f8,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7, 539 0x0,0x0,0xff515151,0xffe7e7e7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff8f8f8,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,
540 0xfff7f7f7,0xffdedede,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffefefef,0xfffefefe,0xffffffff,0xffffffff,0xffffffff, 540 0xfff7f7f7,0xffdedede,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffefefef,0xfffefefe,0xffffffff,0xffffffff,0xffffffff,
541 0xffffffff,0xfffefefe,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffe7e7e7,0xff515151,0x0,0x0,0x0,0x0,0x0, 541 0xffffffff,0xfffefefe,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffe7e7e7,0xff515151,0x0,0x0,0x0,0x0,0x0,
542 0xff515151,0xffe7e7e7,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffefefe,0xffffffff,0xffffffff,0xffe7e7e7, 542 0xff515151,0xffe7e7e7,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffefefe,0xffffffff,0xffffffff,0xffe7e7e7,
543 0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffbdbdbd,0xffe7e7e7,0xffeeeeee,0xffefefef,0xffefefef,0xffefefef,0xfff0f0f0, 543 0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffbdbdbd,0xffe7e7e7,0xffeeeeee,0xffefefef,0xffefefef,0xffefefef,0xfff0f0f0,
544 0xffefefef,0xffefefef,0xfff0f0f0,0xffefefef,0xffe7e7e7,0xffbdbdbd,0xff515151,0x0,0x0,0x0,0x0,0x0,0x0,0xff515151, 544 0xffefefef,0xffefefef,0xfff0f0f0,0xffefefef,0xffe7e7e7,0xffbdbdbd,0xff515151,0x0,0x0,0x0,0x0,0x0,0x0,0xff515151,
545 0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0x0,0x0, 545 0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0x0,0x0,
546 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 546 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
547 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 547 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
548 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 548 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
549 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 549 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
550 0x0,0x0,0x0,0x0,0x0,0x0 550 0x0,0x0,0x0,0x0,0x0,0x0
551}; 551};
552 552
553static const QRgb htmlcheckboxdown_data[] = { 553static const QRgb htmlcheckboxdown_data[] = {
554 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 554 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
555 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 555 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
556 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 556 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
557 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 557 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
558 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151, 558 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,
559 0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0x0,0x0,0x0,0x0,0x0,0x0,0xff515151,0xff6b6b6b, 559 0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0x0,0x0,0x0,0x0,0x0,0x0,0xff515151,0xff6b6b6b,
560 0xffa5a5a5,0xffb5b5b5,0xffb5b5b5,0xffb6b6b6,0xffb5b5b5,0xffb6b6b6,0xffb5b5b5,0xffb4b4b4,0xffb5b5b5,0xffb6b6b6,0xff9b9b9b,0xff6b6b6b,0xff515151,0x0, 560 0xffa5a5a5,0xffb5b5b5,0xffb5b5b5,0xffb6b6b6,0xffb5b5b5,0xffb6b6b6,0xffb5b5b5,0xffb4b4b4,0xffb5b5b5,0xffb6b6b6,0xff9b9b9b,0xff6b6b6b,0xff515151,0x0,
561 0x0,0x0,0x0,0x0,0xff515151,0xffadadad,0xffd5d5d5,0xffdedede,0xffdfdfdf,0xffdddddd,0xffdfdfdf,0xffdddddd,0xffdedede,0xffdedede, 561 0x0,0x0,0x0,0x0,0xff515151,0xffadadad,0xffd5d5d5,0xffdedede,0xffdfdfdf,0xffdddddd,0xffdfdfdf,0xffdddddd,0xffdedede,0xffdedede,
562 0xffdedede,0xffdedede,0xffd6d6d6,0xffa5a5a5,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffbdbdbd,0xffcfcfcf,0xff5e5e5e, 562 0xffdedede,0xffdedede,0xffd6d6d6,0xffa5a5a5,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffbdbdbd,0xffcfcfcf,0xff5e5e5e,
563 0xffd6d6d6,0xffd7d7d7,0xffd5d5d5,0xffd7d7d7,0xffd6d6d6,0xffd6d6d6,0xffd5d5d5,0xff5e5e5e,0xffcecece,0xffb5b5b5,0xff515151,0x0,0x0,0x0, 563 0xffd6d6d6,0xffd7d7d7,0xffd5d5d5,0xffd7d7d7,0xffd6d6d6,0xffd6d6d6,0xffd5d5d5,0xff5e5e5e,0xffcecece,0xffb5b5b5,0xff515151,0x0,0x0,0x0,
564 0x0,0x0,0xff515151,0xffacacac,0xffbebebe,0xff525252,0xff2a2a2a,0xffc7c7c7,0xffbebebe,0xffbcbcbc,0xffbdbdbd,0xffbdbdbd,0xff2a2a2a,0xff525252, 564 0x0,0x0,0xff515151,0xffacacac,0xffbebebe,0xff525252,0xff2a2a2a,0xffc7c7c7,0xffbebebe,0xffbcbcbc,0xffbdbdbd,0xffbdbdbd,0xff2a2a2a,0xff525252,
565 0xffbdbdbd,0xffadadad,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffaeaeae,0xffbdbdbd,0xffbcbcbc,0xff2a2a2a,0xff181818, 565 0xffbdbdbd,0xffadadad,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffaeaeae,0xffbdbdbd,0xffbcbcbc,0xff2a2a2a,0xff181818,
566 0xffbdbdbd,0xffbdbdbd,0xffbdbdbd,0xff191919,0xff2a2a2a,0xffbdbdbd,0xffbcbcbc,0xffaeaeae,0xff515151,0x0,0x0,0x0,0x0,0x0, 566 0xffbdbdbd,0xffbdbdbd,0xffbdbdbd,0xff191919,0xff2a2a2a,0xffbdbdbd,0xffbcbcbc,0xffaeaeae,0xff515151,0x0,0x0,0x0,0x0,0x0,
567 0xff515151,0xffb5b5b5,0xffc6c6c6,0xffc6c6c6,0xffc7c7c7,0xff1b1b1b,0xff121212,0xffc6c6c6,0xff121212,0xff1b1b1b,0xffc7c7c7,0xffc6c6c6,0xffc6c6c6,0xffbdbdbd, 567 0xff515151,0xffb5b5b5,0xffc6c6c6,0xffc6c6c6,0xffc7c7c7,0xff1b1b1b,0xff121212,0xffc6c6c6,0xff121212,0xff1b1b1b,0xffc7c7c7,0xffc6c6c6,0xffc6c6c6,0xffbdbdbd,
568 0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffbcbcbc,0xffcecece,0xffcecece,0xffcdcdcd,0xffcdcdcd,0xff121212,0xff050505, 568 0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffbcbcbc,0xffcecece,0xffcecece,0xffcdcdcd,0xffcdcdcd,0xff121212,0xff050505,
569 0xff121212,0xffcecece,0xffcecece,0xffd6d6d6,0xffcecece,0xffc5c5c5,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffcdcdcd, 569 0xff121212,0xffcecece,0xffcecece,0xffd6d6d6,0xffcecece,0xffc5c5c5,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffcdcdcd,
570 0xffd7d7d7,0xffd6d6d6,0xffdedede,0xffd6d6d6,0xff141414,0xff050505,0xff141414,0xffdedede,0xffdedede,0xffdedede,0xffd5d5d5,0xffcfcfcf,0xff515151,0x0, 570 0xffd7d7d7,0xffd6d6d6,0xffdedede,0xffd6d6d6,0xff141414,0xff050505,0xff141414,0xffdedede,0xffdedede,0xffdedede,0xffd5d5d5,0xffcfcfcf,0xff515151,0x0,
571 0x0,0x0,0x0,0x0,0xff515151,0xffcfcfcf,0xffdddddd,0xffe7e7e7,0xffe6e6e6,0xff1f1f1f,0xff151515,0xffe7e7e7,0xff151515,0xff1e1e1e, 571 0x0,0x0,0x0,0x0,0xff515151,0xffcfcfcf,0xffdddddd,0xffe7e7e7,0xffe6e6e6,0xff1f1f1f,0xff151515,0xffe7e7e7,0xff151515,0xff1e1e1e,
572 0xffe7e7e7,0xffe6e6e6,0xffdfdfdf,0xffcecece,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffdddddd,0xffefefef,0xffe7e7e7, 572 0xffe7e7e7,0xffe6e6e6,0xffdfdfdf,0xffcecece,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffdddddd,0xffefefef,0xffe7e7e7,
573 0xff363636,0xff202020,0xffefefef,0xfff0f0f0,0xffeeeeee,0xff202020,0xff363636,0xffefefef,0xffe7e7e7,0xffd7d7d7,0xff515151,0x0,0x0,0x0, 573 0xff363636,0xff202020,0xffefefef,0xfff0f0f0,0xffeeeeee,0xff202020,0xff363636,0xffefefef,0xffe7e7e7,0xffd7d7d7,0xff515151,0x0,0x0,0x0,
574 0x0,0x0,0xff515151,0xffe7e7e7,0xfff7f7f7,0xff6c6c6c,0xff383838,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff8f8f8,0xfff7f7f7,0xff383838,0xff6c6c6c, 574 0x0,0x0,0xff515151,0xffe7e7e7,0xfff7f7f7,0xff6c6c6c,0xff383838,0xfff7f7f7,0xfff7f7f7,0xfff7f7f7,0xfff8f8f8,0xfff7f7f7,0xff383838,0xff6c6c6c,
575 0xfff7f7f7,0xffdedede,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffefefef,0xfffefefe,0xff707070,0xffffffff,0xffffffff, 575 0xfff7f7f7,0xffdedede,0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffefefef,0xfffefefe,0xff707070,0xffffffff,0xffffffff,
576 0xffffffff,0xfffefefe,0xffffffff,0xffffffff,0xffffffff,0xff707070,0xffffffff,0xffe7e7e7,0xff515151,0x0,0x0,0x0,0x0,0x0, 576 0xffffffff,0xfffefefe,0xffffffff,0xffffffff,0xffffffff,0xff707070,0xffffffff,0xffe7e7e7,0xff515151,0x0,0x0,0x0,0x0,0x0,
577 0xff515151,0xffe7e7e7,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffefefe,0xffffffff,0xffffffff,0xffe7e7e7, 577 0xff515151,0xffe7e7e7,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffefefe,0xffffffff,0xffffffff,0xffe7e7e7,
578 0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffbdbdbd,0xffe7e7e7,0xffeeeeee,0xffefefef,0xffefefef,0xffefefef,0xfff0f0f0, 578 0xff515151,0x0,0x0,0x0,0x0,0x0,0xff515151,0xffbdbdbd,0xffe7e7e7,0xffeeeeee,0xffefefef,0xffefefef,0xffefefef,0xfff0f0f0,
579 0xffefefef,0xffefefef,0xfff0f0f0,0xffefefef,0xffe7e7e7,0xffbdbdbd,0xff515151,0x0,0x0,0x0,0x0,0x0,0x0,0xff515151, 579 0xffefefef,0xffefefef,0xfff0f0f0,0xffefefef,0xffe7e7e7,0xffbdbdbd,0xff515151,0x0,0x0,0x0,0x0,0x0,0x0,0xff515151,
580 0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0x0,0x0, 580 0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0xff515151,0x0,0x0,
581 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 581 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
582 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 582 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
583 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 583 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
584 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 584 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
585 0x0,0x0,0x0,0x0,0x0,0x0 585 0x0,0x0,0x0,0x0,0x0,0x0
586}; 586};
587 587
588static const QRgb htmlradio_data[] = { 588static const QRgb htmlradio_data[] = {
589 0x0,0x0,0x0,0x0,0x0,0x0,0xff525252,0xff3a3a3a,0xff3a3a3a,0xff515151,0x0,0x0,0x0,0x0, 589 0x0,0x0,0x0,0x0,0x0,0x0,0xff525252,0xff3a3a3a,0xff3a3a3a,0xff515151,0x0,0x0,0x0,0x0,
590 0x0,0x0,0x0,0x0,0x0,0x0,0xff616161,0xff555555,0xff757575,0xff878787,0xff878787,0xff757575,0xff565656,0xff5d5d5d, 590 0x0,0x0,0x0,0x0,0x0,0x0,0xff616161,0xff555555,0xff757575,0xff878787,0xff878787,0xff757575,0xff565656,0xff5d5d5d,
591 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff6e6e6e,0xff7d7d7d,0xff9e9e9e,0xffb9b9b9,0xffc6c6c6,0xffc6c6c6,0xffbababa, 591 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff6e6e6e,0xff7d7d7d,0xff9e9e9e,0xffb9b9b9,0xffc6c6c6,0xffc6c6c6,0xffbababa,
592 0xffa5a5a5,0xff7f7f7f,0xff686868,0x0,0x0,0x0,0x0,0x0,0xff7a7a7a,0xff848484,0xffa7a7a7,0xffbfbfbf,0xffd1d1d1,0xffd7d7d7, 592 0xffa5a5a5,0xff7f7f7f,0xff686868,0x0,0x0,0x0,0x0,0x0,0xff7a7a7a,0xff848484,0xffa7a7a7,0xffbfbfbf,0xffd1d1d1,0xffd7d7d7,
593 0xffdadada,0xffd7d7d7,0xffcbcbcb,0xffababab,0xff7d7d7d,0xff717171,0x0,0x0,0x0,0x0,0xff7f7f7f,0xff9e9e9e,0xffb3b3b3,0xffc2c2c2, 593 0xffdadada,0xffd7d7d7,0xffcbcbcb,0xffababab,0xff7d7d7d,0xff717171,0x0,0x0,0x0,0x0,0xff7f7f7f,0xff9e9e9e,0xffb3b3b3,0xffc2c2c2,
594 0xffcacaca,0xffcacaca,0xffcacaca,0xffc9c9c9,0xffc6c6c6,0xffb6b6b6,0xff9a9a9a,0xff797979,0x0,0x0,0x0,0xff8d8d8d,0xff999999,0xffb0b0b0, 594 0xffcacaca,0xffcacaca,0xffcacaca,0xffc9c9c9,0xffc6c6c6,0xffb6b6b6,0xff9a9a9a,0xff797979,0x0,0x0,0x0,0xff8d8d8d,0xff999999,0xffb0b0b0,
595 0xffbababa,0xffc2c2c2,0xffc4c4c4,0xffc3c3c3,0xffc3c3c3,0xffc0c0c0,0xffc0c0c0,0xffbababa,0xffaeaeae,0xff969696,0xff868686,0x0,0x0,0xff939393, 595 0xffbababa,0xffc2c2c2,0xffc4c4c4,0xffc3c3c3,0xffc3c3c3,0xffc0c0c0,0xffc0c0c0,0xffbababa,0xffaeaeae,0xff969696,0xff868686,0x0,0x0,0xff939393,
596 0xffb0b0b0,0xffc1c1c1,0xffc6c6c6,0xffcccccc,0xffcccccc,0xffcccccc,0xffcccccc,0xffcbcbcb,0xffc9c9c9,0xffc5c5c5,0xffbebebe,0xffaaaaaa,0xff8b8b8b,0x0, 596 0xffb0b0b0,0xffc1c1c1,0xffc6c6c6,0xffcccccc,0xffcccccc,0xffcccccc,0xffcccccc,0xffcbcbcb,0xffc9c9c9,0xffc5c5c5,0xffbebebe,0xffaaaaaa,0xff8b8b8b,0x0,
597 0x0,0xff9c9c9c,0xffbfbfbf,0xffcecece,0xffd4d4d4,0xffdadada,0xffdbdbdb,0xffdedede,0xffdbdbdb,0xffd7d7d7,0xffd5d5d5,0xffd3d3d3,0xffcbcbcb,0xffbcbcbc, 597 0x0,0xff9c9c9c,0xffbfbfbf,0xffcecece,0xffd4d4d4,0xffdadada,0xffdbdbdb,0xffdedede,0xffdbdbdb,0xffd7d7d7,0xffd5d5d5,0xffd3d3d3,0xffcbcbcb,0xffbcbcbc,
598 0xff959595,0x0,0x0,0xff9d9d9d,0xffcdcdcd,0xffdbdbdb,0xffe0e0e0,0xffe4e4e4,0xffe8e8e8,0xffebebeb,0xffe9e9e9,0xffe6e6e6,0xffe4e4e4,0xffdddddd, 598 0xff959595,0x0,0x0,0xff9d9d9d,0xffcdcdcd,0xffdbdbdb,0xffe0e0e0,0xffe4e4e4,0xffe8e8e8,0xffebebeb,0xffe9e9e9,0xffe6e6e6,0xffe4e4e4,0xffdddddd,
599 0xffd4d4d4,0xffc5c5c5,0xff979797,0x0,0x0,0xff979797,0xffd1d1d1,0xffe1e1e1,0xffededed,0xfff1f1f1,0xfff5f5f5,0xfff8f8f8,0xfff6f6f6,0xfff3f3f3, 599 0xffd4d4d4,0xffc5c5c5,0xff979797,0x0,0x0,0xff979797,0xffd1d1d1,0xffe1e1e1,0xffededed,0xfff1f1f1,0xfff5f5f5,0xfff8f8f8,0xfff6f6f6,0xfff3f3f3,
600 0xffeeeeee,0xffe5e5e5,0xffdcdcdc,0xffcacaca,0xff939393,0x0,0x0,0xff909090,0xffb7b7b7,0xffe2e2e2,0xfff1f1f1,0xfff8f8f8,0xfffdfdfd,0xffffffff, 600 0xffeeeeee,0xffe5e5e5,0xffdcdcdc,0xffcacaca,0xff939393,0x0,0x0,0xff909090,0xffb7b7b7,0xffe2e2e2,0xfff1f1f1,0xfff8f8f8,0xfffdfdfd,0xffffffff,
601 0xfffdfdfd,0xfffcfcfc,0xfff7f7f7,0xffeeeeee,0xffe1e1e1,0xffb5b5b5,0xff909090,0x0,0x0,0x0,0xff8d8d8d,0xffd1d1d1,0xfff2f2f2,0xfffdfdfd, 601 0xfffdfdfd,0xfffcfcfc,0xfff7f7f7,0xffeeeeee,0xffe1e1e1,0xffb5b5b5,0xff909090,0x0,0x0,0x0,0xff8d8d8d,0xffd1d1d1,0xfff2f2f2,0xfffdfdfd,
602 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffafafa,0xfff1f1f1,0xffcdcdcd,0xff8c8c8c,0x0,0x0,0x0,0x0,0xff878787,0xff9b9b9b, 602 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffafafa,0xfff1f1f1,0xffcdcdcd,0xff8c8c8c,0x0,0x0,0x0,0x0,0xff878787,0xff9b9b9b,
603 0xffd5d5d5,0xfffbfbfb,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffafafa,0xffd4d4d4,0xff999999,0xff868686,0x0,0x0,0x0,0x0, 603 0xffd5d5d5,0xfffbfbfb,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffafafa,0xffd4d4d4,0xff999999,0xff868686,0x0,0x0,0x0,0x0,
604 0x0,0xff848484,0xff818181,0xffa9a9a9,0xffcccccc,0xffe9e9e9,0xffe9e9e9,0xffcccccc,0xffa9a9a9,0xff818181,0xff848484,0x0,0x0,0x0, 604 0x0,0xff848484,0xff818181,0xffa9a9a9,0xffcccccc,0xffe9e9e9,0xffe9e9e9,0xffcccccc,0xffa9a9a9,0xff818181,0xff848484,0x0,0x0,0x0,
605 0x0,0x0,0x0,0x0,0xff818181,0xff747474,0xff6f6f6f,0xff6e6e6e,0xff6e6e6e,0xff6f6f6f,0xff747474,0xff818181,0x0,0x0, 605 0x0,0x0,0x0,0x0,0xff818181,0xff747474,0xff6f6f6f,0xff6e6e6e,0xff6e6e6e,0xff6f6f6f,0xff747474,0xff818181,0x0,0x0,
606 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff898989,0xff7c7c7c,0xff7b7b7b,0xff888888,0x0,0x0, 606 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff898989,0xff7c7c7c,0xff7b7b7b,0xff888888,0x0,0x0,
607 0x0,0x0,0x0,0x0 607 0x0,0x0,0x0,0x0
608}; 608};
609 609
610static const QRgb htmlradiodown_data[] = { 610static const QRgb htmlradiodown_data[] = {
611 0x0,0x0,0x0,0x0,0x0,0x0,0xff525252,0xff3a3a3a,0xff3a3a3a,0xff515151,0x0,0x0,0x0,0x0, 611 0x0,0x0,0x0,0x0,0x0,0x0,0xff525252,0xff3a3a3a,0xff3a3a3a,0xff515151,0x0,0x0,0x0,0x0,
612 0x0,0x0,0x0,0x0,0x0,0x0,0xff616161,0xff555555,0xff757575,0xff878787,0xff878787,0xff757575,0xff565656,0xff5d5d5d, 612 0x0,0x0,0x0,0x0,0x0,0x0,0xff616161,0xff555555,0xff757575,0xff878787,0xff878787,0xff757575,0xff565656,0xff5d5d5d,
613 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff6e6e6e,0xff7d7d7d,0xff9d9d9d,0xffb6b6b6,0xffc2c2c2,0xffc2c2c2,0xffb6b6b6, 613 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff6e6e6e,0xff7d7d7d,0xff9d9d9d,0xffb6b6b6,0xffc2c2c2,0xffc2c2c2,0xffb6b6b6,
614 0xffa3a3a3,0xff7f7f7f,0xff686868,0x0,0x0,0x0,0x0,0x0,0xff7a7a7a,0xff848484,0xffa6a6a6,0xffb9b9b9,0xffc4c4c4,0xffc6c6c6, 614 0xffa3a3a3,0xff7f7f7f,0xff686868,0x0,0x0,0x0,0x0,0x0,0xff7a7a7a,0xff848484,0xffa6a6a6,0xffb9b9b9,0xffc4c4c4,0xffc6c6c6,
615 0xffc8c8c8,0xffc7c7c7,0xffc1c1c1,0xffa8a8a8,0xff7d7d7d,0xff717171,0x0,0x0,0x0,0x0,0xff7f7f7f,0xff9d9d9d,0xffaeaeae,0xffb2b2b2, 615 0xffc8c8c8,0xffc7c7c7,0xffc1c1c1,0xffa8a8a8,0xff7d7d7d,0xff717171,0x0,0x0,0x0,0x0,0xff7f7f7f,0xff9d9d9d,0xffaeaeae,0xffb2b2b2,
616 0xffacacac,0xffa3a3a3,0xff9f9f9f,0xffa5a5a5,0xffaeaeae,0xffababab,0xff979797,0xff797979,0x0,0x0,0x0,0xff8d8d8d,0xff989898,0xffababab, 616 0xffacacac,0xffa3a3a3,0xff9f9f9f,0xffa5a5a5,0xffaeaeae,0xffababab,0xff979797,0xff797979,0x0,0x0,0x0,0xff8d8d8d,0xff989898,0xffababab,
617 0xffacacac,0xffa1a1a1,0xff8a8a8a,0xff747474,0xff6e6e6e,0xff797979,0xff919191,0xffa2a2a2,0xffa5a5a5,0xff949494,0xff868686,0x0,0x0,0xff939393, 617 0xffacacac,0xffa1a1a1,0xff8a8a8a,0xff747474,0xff6e6e6e,0xff797979,0xff919191,0xffa2a2a2,0xffa5a5a5,0xff949494,0xff868686,0x0,0x0,0xff939393,
618 0xffaeaeae,0xffb7b7b7,0xffadadad,0xff959595,0xff6b6b6b,0xff454545,0xff3b3b3b,0xff515151,0xff797979,0xff9d9d9d,0xffaeaeae,0xffa5a5a5,0xff8b8b8b,0x0, 618 0xffaeaeae,0xffb7b7b7,0xffadadad,0xff959595,0xff6b6b6b,0xff454545,0xff3b3b3b,0xff515151,0xff797979,0xff9d9d9d,0xffaeaeae,0xffa5a5a5,0xff8b8b8b,0x0,
619 0x0,0xff9c9c9c,0xffbdbdbd,0xffc2c2c2,0xffb3b3b3,0xff909090,0xff565656,0xff232323,0xff131313,0xff323232,0xff6a6a6a,0xff9e9e9e,0xffb6b6b6,0xffb6b6b6, 619 0x0,0xff9c9c9c,0xffbdbdbd,0xffc2c2c2,0xffb3b3b3,0xff909090,0xff565656,0xff232323,0xff131313,0xff323232,0xff6a6a6a,0xff9e9e9e,0xffb6b6b6,0xffb6b6b6,
620 0xff959595,0x0,0x0,0xff9d9d9d,0xffcbcbcb,0xffcecece,0xffbdbdbd,0xff979797,0xff5b5b5b,0xff252525,0xff151515,0xff363636,0xff717171,0xffa5a5a5, 620 0xff959595,0x0,0x0,0xff9d9d9d,0xffcbcbcb,0xffcecece,0xffbdbdbd,0xff979797,0xff5b5b5b,0xff252525,0xff151515,0xff363636,0xff717171,0xffa5a5a5,
621 0xffbebebe,0xffbebebe,0xff979797,0x0,0x0,0xff979797,0xffcfcfcf,0xffd6d6d6,0xffd0d0d0,0xffb0b0b0,0xff808080,0xff545454,0xff474747,0xff616161, 621 0xffbebebe,0xffbebebe,0xff979797,0x0,0x0,0xff979797,0xffcfcfcf,0xffd6d6d6,0xffd0d0d0,0xffb0b0b0,0xff808080,0xff545454,0xff474747,0xff616161,
622 0xff8f8f8f,0xffb7b7b7,0xffc9c9c9,0xffc4c4c4,0xff939393,0x0,0x0,0xff909090,0xffb6b6b6,0xffdcdcdc,0xffdfdfdf,0xffcecece,0xffb2b2b2,0xff989898, 622 0xff8f8f8f,0xffb7b7b7,0xffc9c9c9,0xffc4c4c4,0xff939393,0x0,0x0,0xff909090,0xffb6b6b6,0xffdcdcdc,0xffdfdfdf,0xffcecece,0xffb2b2b2,0xff989898,
623 0xff8e8e8e,0xff9f9f9f,0xffbababa,0xffd0d0d0,0xffd5d5d5,0xffb2b2b2,0xff909090,0x0,0x0,0x0,0xff8d8d8d,0xffd0d0d0,0xffebebeb,0xffe8e8e8, 623 0xff8e8e8e,0xff9f9f9f,0xffbababa,0xffd0d0d0,0xffd5d5d5,0xffb2b2b2,0xff909090,0x0,0x0,0x0,0xff8d8d8d,0xffd0d0d0,0xffebebeb,0xffe8e8e8,
624 0xffdadada,0xffcecece,0xffc9c9c9,0xffd2d2d2,0xffdcdcdc,0xffe2e2e2,0xffc9c9c9,0xff8c8c8c,0x0,0x0,0x0,0x0,0xff878787,0xff9b9b9b, 624 0xffdadada,0xffcecece,0xffc9c9c9,0xffd2d2d2,0xffdcdcdc,0xffe2e2e2,0xffc9c9c9,0xff8c8c8c,0x0,0x0,0x0,0x0,0xff878787,0xff9b9b9b,
625 0xffd4d4d4,0xfff4f4f4,0xfff0f0f0,0xffececec,0xffeaeaea,0xffededed,0xffeeeeee,0xffd0d0d0,0xff999999,0xff868686,0x0,0x0,0x0,0x0, 625 0xffd4d4d4,0xfff4f4f4,0xfff0f0f0,0xffececec,0xffeaeaea,0xffededed,0xffeeeeee,0xffd0d0d0,0xff999999,0xff868686,0x0,0x0,0x0,0x0,
626 0x0,0xff848484,0xff818181,0xffa8a8a8,0xffc8c8c8,0xffe4e4e4,0xffe4e4e4,0xffc8c8c8,0xffa7a7a7,0xff818181,0xff848484,0x0,0x0,0x0, 626 0x0,0xff848484,0xff818181,0xffa8a8a8,0xffc8c8c8,0xffe4e4e4,0xffe4e4e4,0xffc8c8c8,0xffa7a7a7,0xff818181,0xff848484,0x0,0x0,0x0,
627 0x0,0x0,0x0,0x0,0xff818181,0xff747474,0xff6f6f6f,0xff6e6e6e,0xff6e6e6e,0xff6f6f6f,0xff747474,0xff818181,0x0,0x0, 627 0x0,0x0,0x0,0x0,0xff818181,0xff747474,0xff6f6f6f,0xff6e6e6e,0xff6e6e6e,0xff6f6f6f,0xff747474,0xff818181,0x0,0x0,
628 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff898989,0xff7c7c7c,0xff7b7b7b,0xff888888,0x0,0x0, 628 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xff898989,0xff7c7c7c,0xff7b7b7b,0xff888888,0x0,0x0,
629 0x0,0x0,0x0,0x0 629 0x0,0x0,0x0,0x0
630}; 630};
631 631
632static const QRgb radio_data[] = { 632static const QRgb radio_data[] = {
633 0x0,0x0,0x0,0x0,0x3bdbdbd,0x797d7d7d,0xcd525252,0xf93a3a3a,0xf93a3a3a,0xcd515151,0x797c7c7c,0x3bdbdbd,0x0,0x0, 633 0x0,0x0,0x0,0x0,0x3bdbdbd,0x797d7d7d,0xcd525252,0xf93a3a3a,0xf93a3a3a,0xcd515151,0x797c7c7c,0x3bdbdbd,0x0,0x0,
634 0x0,0x0,0x0,0x0,0x0,0x399d9d9d,0xda616161,0xff555555,0xff757575,0xff878787,0xff878787,0xff757575,0xff565656,0xda5d5d5d, 634 0x0,0x0,0x0,0x0,0x0,0x399d9d9d,0xda616161,0xff555555,0xff757575,0xff878787,0xff878787,0xff757575,0xff565656,0xda5d5d5d,
635 0x39969696,0x0,0x0,0x0,0x0,0x0,0x2bacacac,0xf06e6e6e,0xff7d7d7d,0xff9e9e9e,0xffb9b9b9,0xffc6c6c6,0xffc6c6c6,0xffbababa, 635 0x39969696,0x0,0x0,0x0,0x0,0x0,0x2bacacac,0xf06e6e6e,0xff7d7d7d,0xff9e9e9e,0xffb9b9b9,0xffc6c6c6,0xffc6c6c6,0xffbababa,
636 0xffa5a5a5,0xff7f7f7f,0xf0686868,0x2ba3a3a3,0x0,0x0,0x0,0x0,0xbe7a7a7a,0xff848484,0xffa7a7a7,0xffbfbfbf,0xffd1d1d1,0xffd7d7d7, 636 0xffa5a5a5,0xff7f7f7f,0xf0686868,0x2ba3a3a3,0x0,0x0,0x0,0x0,0xbe7a7a7a,0xff848484,0xffa7a7a7,0xffbfbfbf,0xffd1d1d1,0xffd7d7d7,
637 0xffdadada,0xffd7d7d7,0xffcbcbcb,0xffababab,0xff7d7d7d,0xbe717171,0x0,0x0,0x0,0x4e9a9a9a,0xff7f7f7f,0xff9e9e9e,0xffb3b3b3,0xffc2c2c2, 637 0xffdadada,0xffd7d7d7,0xffcbcbcb,0xffababab,0xff7d7d7d,0xbe717171,0x0,0x0,0x0,0x4e9a9a9a,0xff7f7f7f,0xff9e9e9e,0xffb3b3b3,0xffc2c2c2,
638 0xffcacaca,0xffcacaca,0xffcacaca,0xffc9c9c9,0xffc6c6c6,0xffb6b6b6,0xff9a9a9a,0xff797979,0x4e919191,0x0,0x0,0xa48d8d8d,0xff999999,0xffb0b0b0, 638 0xffcacaca,0xffcacaca,0xffcacaca,0xffc9c9c9,0xffc6c6c6,0xffb6b6b6,0xff9a9a9a,0xff797979,0x4e919191,0x0,0x0,0xa48d8d8d,0xff999999,0xffb0b0b0,
639 0xffbababa,0xffc2c2c2,0xffc4c4c4,0xffc3c3c3,0xffc3c3c3,0xffc0c0c0,0xffc0c0c0,0xffbababa,0xffaeaeae,0xff969696,0xa4868686,0x0,0x0,0xde939393, 639 0xffbababa,0xffc2c2c2,0xffc4c4c4,0xffc3c3c3,0xffc3c3c3,0xffc0c0c0,0xffc0c0c0,0xffbababa,0xffaeaeae,0xff969696,0xa4868686,0x0,0x0,0xde939393,
640 0xffb0b0b0,0xffc1c1c1,0xffc6c6c6,0xffcccccc,0xffcccccc,0xffcccccc,0xffcccccc,0xffcbcbcb,0xffc9c9c9,0xffc5c5c5,0xffbebebe,0xffaaaaaa,0xde8b8b8b,0x0, 640 0xffb0b0b0,0xffc1c1c1,0xffc6c6c6,0xffcccccc,0xffcccccc,0xffcccccc,0xffcccccc,0xffcbcbcb,0xffc9c9c9,0xffc5c5c5,0xffbebebe,0xffaaaaaa,0xde8b8b8b,0x0,
641 0x0,0xfb9c9c9c,0xffbfbfbf,0xffcecece,0xffd4d4d4,0xffdadada,0xffdbdbdb,0xffdedede,0xffdbdbdb,0xffd7d7d7,0xffd5d5d5,0xffd3d3d3,0xffcbcbcb,0xffbcbcbc, 641 0x0,0xfb9c9c9c,0xffbfbfbf,0xffcecece,0xffd4d4d4,0xffdadada,0xffdbdbdb,0xffdedede,0xffdbdbdb,0xffd7d7d7,0xffd5d5d5,0xffd3d3d3,0xffcbcbcb,0xffbcbcbc,
642 0xfb959595,0x0,0x0,0xfb9d9d9d,0xffcdcdcd,0xffdbdbdb,0xffe0e0e0,0xffe4e4e4,0xffe8e8e8,0xffebebeb,0xffe9e9e9,0xffe6e6e6,0xffe4e4e4,0xffdddddd, 642 0xfb959595,0x0,0x0,0xfb9d9d9d,0xffcdcdcd,0xffdbdbdb,0xffe0e0e0,0xffe4e4e4,0xffe8e8e8,0xffebebeb,0xffe9e9e9,0xffe6e6e6,0xffe4e4e4,0xffdddddd,
643 0xffd4d4d4,0xffc5c5c5,0xfb979797,0x0,0x0,0xde979797,0xffd1d1d1,0xffe1e1e1,0xffededed,0xfff1f1f1,0xfff5f5f5,0xfff8f8f8,0xfff6f6f6,0xfff3f3f3, 643 0xffd4d4d4,0xffc5c5c5,0xfb979797,0x0,0x0,0xde979797,0xffd1d1d1,0xffe1e1e1,0xffededed,0xfff1f1f1,0xfff5f5f5,0xfff8f8f8,0xfff6f6f6,0xfff3f3f3,
644 0xffeeeeee,0xffe5e5e5,0xffdcdcdc,0xffcacaca,0xde939393,0x0,0x0,0xa4909090,0xffb7b7b7,0xffe2e2e2,0xfff1f1f1,0xfff8f8f8,0xfffdfdfd,0xffffffff, 644 0xffeeeeee,0xffe5e5e5,0xffdcdcdc,0xffcacaca,0xde939393,0x0,0x0,0xa4909090,0xffb7b7b7,0xffe2e2e2,0xfff1f1f1,0xfff8f8f8,0xfffdfdfd,0xffffffff,
645 0xfffdfdfd,0xfffcfcfc,0xfff7f7f7,0xffeeeeee,0xffe1e1e1,0xffb5b5b5,0xa4909090,0x0,0x0,0x4e939393,0xff8d8d8d,0xffd1d1d1,0xfff2f2f2,0xfffdfdfd, 645 0xfffdfdfd,0xfffcfcfc,0xfff7f7f7,0xffeeeeee,0xffe1e1e1,0xffb5b5b5,0xa4909090,0x0,0x0,0x4e939393,0xff8d8d8d,0xffd1d1d1,0xfff2f2f2,0xfffdfdfd,
646 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffafafa,0xfff1f1f1,0xffcdcdcd,0xff8c8c8c,0x4e949494,0x0,0x0,0x0,0xbe878787,0xff9b9b9b, 646 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffafafa,0xfff1f1f1,0xffcdcdcd,0xff8c8c8c,0x4e949494,0x0,0x0,0x0,0xbe878787,0xff9b9b9b,
647 0xffd5d5d5,0xfffbfbfb,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffafafa,0xffd4d4d4,0xff999999,0xbe868686,0x0,0x0,0x0,0x0, 647 0xffd5d5d5,0xfffbfbfb,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffafafa,0xffd4d4d4,0xff999999,0xbe868686,0x0,0x0,0x0,0x0,
648 0x2bababab,0xf0848484,0xff818181,0xffa9a9a9,0xffcccccc,0xffe9e9e9,0xffe9e9e9,0xffcccccc,0xffa9a9a9,0xff818181,0xf0848484,0x2bababab,0x0,0x0, 648 0x2bababab,0xf0848484,0xff818181,0xffa9a9a9,0xffcccccc,0xffe9e9e9,0xffe9e9e9,0xffcccccc,0xffa9a9a9,0xff818181,0xf0848484,0x2bababab,0x0,0x0,
649 0x0,0x0,0x0,0x39a5a5a5,0xda818181,0xff747474,0xff6f6f6f,0xff6e6e6e,0xff6e6e6e,0xff6f6f6f,0xff747474,0xda818181,0x39a5a5a5,0x0, 649 0x0,0x0,0x0,0x39a5a5a5,0xda818181,0xff747474,0xff6f6f6f,0xff6e6e6e,0xff6e6e6e,0xff6f6f6f,0xff747474,0xda818181,0x39a5a5a5,0x0,
650 0x0,0x0,0x0,0x0,0x0,0x0,0x3aeaeae,0x79949494,0xcd898989,0xf97c7c7c,0xf97b7b7b,0xcd888888,0x79959595,0x3afafaf, 650 0x0,0x0,0x0,0x0,0x0,0x0,0x3aeaeae,0x79949494,0xcd898989,0xf97c7c7c,0xf97b7b7b,0xcd888888,0x79959595,0x3afafaf,
651 0x0,0x0,0x0,0x0 651 0x0,0x0,0x0,0x0
652}; 652};
653 653
654static const QRgb radio_down_data[] = { 654static const QRgb radio_down_data[] = {
655 0x0,0x0,0x0,0x0,0x3bdbdbd,0x797d7d7d,0xcd525252,0xf93a3a3a,0xf93a3a3a,0xcd515151,0x797c7c7c,0x3bdbdbd,0x0,0x0, 655 0x0,0x0,0x0,0x0,0x3bdbdbd,0x797d7d7d,0xcd525252,0xf93a3a3a,0xf93a3a3a,0xcd515151,0x797c7c7c,0x3bdbdbd,0x0,0x0,
656 0x0,0x0,0x0,0x0,0x0,0x399d9d9d,0xda616161,0xff555555,0xff757575,0xff878787,0xff878787,0xff757575,0xff565656,0xda5d5d5d, 656 0x0,0x0,0x0,0x0,0x0,0x399d9d9d,0xda616161,0xff555555,0xff757575,0xff878787,0xff878787,0xff757575,0xff565656,0xda5d5d5d,
657 0x39969696,0x0,0x0,0x0,0x0,0x0,0x2bacacac,0xf06e6e6e,0xff7d7d7d,0xff9e9e9e,0xffb9b9b9,0xffc6c6c6,0xffc6c6c6,0xffbababa, 657 0x39969696,0x0,0x0,0x0,0x0,0x0,0x2bacacac,0xf06e6e6e,0xff7d7d7d,0xff9e9e9e,0xffb9b9b9,0xffc6c6c6,0xffc6c6c6,0xffbababa,
658 0xffa5a5a5,0xff7f7f7f,0xf0686868,0x2ba3a3a3,0x0,0x0,0x0,0x0,0xbe7a7a7a,0xff848484,0xffa7a7a7,0xffbcbcbc,0xffcacaca,0xffcdcdcd, 658 0xffa5a5a5,0xff7f7f7f,0xf0686868,0x2ba3a3a3,0x0,0x0,0x0,0x0,0xbe7a7a7a,0xff848484,0xffa7a7a7,0xffbcbcbc,0xffcacaca,0xffcdcdcd,
659 0xffd0d0d0,0xffd0d0d0,0xffc8c8c8,0xffababab,0xff7d7d7d,0xbe717171,0x0,0x0,0x0,0x4e9a9a9a,0xff7f7f7f,0xff9e9e9e,0xffb0b0b0,0xffb6b6b6, 659 0xffd0d0d0,0xffd0d0d0,0xffc8c8c8,0xffababab,0xff7d7d7d,0xbe717171,0x0,0x0,0x0,0x4e9a9a9a,0xff7f7f7f,0xff9e9e9e,0xffb0b0b0,0xffb6b6b6,
660 0xffb3b3b3,0xffaaaaaa,0xffaaaaaa,0xffb2b2b2,0xffbababa,0xffb3b3b3,0xff9a9a9a,0xff797979,0x4e919191,0x0,0x0,0xa48d8d8d,0xff999999,0xffadadad, 660 0xffb3b3b3,0xffaaaaaa,0xffaaaaaa,0xffb2b2b2,0xffbababa,0xffb3b3b3,0xff9a9a9a,0xff797979,0x4e919191,0x0,0x0,0xa48d8d8d,0xff999999,0xffadadad,
661 0xffafafaf,0xffa5a5a5,0xff8a8a8a,0xff717171,0xff717171,0xff878787,0xffa3a3a3,0xffafafaf,0xffababab,0xff969696,0xa4868686,0x0,0x0,0xde939393, 661 0xffafafaf,0xffa5a5a5,0xff8a8a8a,0xff717171,0xff717171,0xff878787,0xffa3a3a3,0xffafafaf,0xffababab,0xff969696,0xa4868686,0x0,0x0,0xde939393,
662 0xffb0b0b0,0xffbdbdbd,0xffb4b4b4,0xff979797,0xff606060,0xff333333,0xff333333,0xff606060,0xff949494,0xffb3b3b3,0xffbababa,0xffaaaaaa,0xde8b8b8b,0x0, 662 0xffb0b0b0,0xffbdbdbd,0xffb4b4b4,0xff979797,0xff606060,0xff333333,0xff333333,0xff606060,0xff949494,0xffb3b3b3,0xffbababa,0xffaaaaaa,0xde8b8b8b,0x0,
663 0x0,0xfb9c9c9c,0xffbfbfbf,0xffc9c9c9,0xffbcbcbc,0xff949494,0xff4e4e4e,0xff131313,0xff121212,0xff4c4c4c,0xff919191,0xffbbbbbb,0xffc6c6c6,0xffbcbcbc, 663 0x0,0xfb9c9c9c,0xffbfbfbf,0xffc9c9c9,0xffbcbcbc,0xff949494,0xff4e4e4e,0xff131313,0xff121212,0xff4c4c4c,0xff919191,0xffbbbbbb,0xffc6c6c6,0xffbcbcbc,
664 0xfb959595,0x0,0x0,0xfb9d9d9d,0xffcdcdcd,0xffd6d6d6,0xffcbcbcb,0xffa8a8a8,0xff6e6e6e,0xff3a3a3a,0xff3a3a3a,0xff6d6d6d,0xffa8a8a8,0xffc9c9c9, 664 0xfb959595,0x0,0x0,0xfb9d9d9d,0xffcdcdcd,0xffd6d6d6,0xffcbcbcb,0xffa8a8a8,0xff6e6e6e,0xff3a3a3a,0xff3a3a3a,0xff6d6d6d,0xffa8a8a8,0xffc9c9c9,
665 0xffcfcfcf,0xffc5c5c5,0xfb979797,0x0,0x0,0xde979797,0xffd1d1d1,0xffdedede,0xffdfdfdf,0xffcdcdcd,0xffacacac,0xff8f8f8f,0xff8e8e8e,0xffababab, 665 0xffcfcfcf,0xffc5c5c5,0xfb979797,0x0,0x0,0xde979797,0xffd1d1d1,0xffdedede,0xffdfdfdf,0xffcdcdcd,0xffacacac,0xff8f8f8f,0xff8e8e8e,0xffababab,
666 0xffcacaca,0xffd8d8d8,0xffd9d9d9,0xffcacaca,0xde939393,0x0,0x0,0xa4909090,0xffb7b7b7,0xffe2e2e2,0xffededed,0xffe9e9e9,0xffe0e0e0,0xffd7d7d7, 666 0xffcacaca,0xffd8d8d8,0xffd9d9d9,0xffcacaca,0xde939393,0x0,0x0,0xa4909090,0xffb7b7b7,0xffe2e2e2,0xffededed,0xffe9e9e9,0xffe0e0e0,0xffd7d7d7,
667 0xffd5d5d5,0xffdfdfdf,0xffe8e8e8,0xffeaeaea,0xffe1e1e1,0xffb5b5b5,0xa4909090,0x0,0x0,0x4e939393,0xff8d8d8d,0xffd1d1d1,0xfff2f2f2,0xfffafafa, 667 0xffd5d5d5,0xffdfdfdf,0xffe8e8e8,0xffeaeaea,0xffe1e1e1,0xffb5b5b5,0xa4909090,0x0,0x0,0x4e939393,0xff8d8d8d,0xffd1d1d1,0xfff2f2f2,0xfffafafa,
668 0xfff7f7f7,0xfff4f4f4,0xfff4f4f4,0xfff7f7f7,0xfff7f7f7,0xfff1f1f1,0xffcdcdcd,0xff8c8c8c,0x4e949494,0x0,0x0,0x0,0xbe878787,0xff9b9b9b, 668 0xfff7f7f7,0xfff4f4f4,0xfff4f4f4,0xfff7f7f7,0xfff7f7f7,0xfff1f1f1,0xffcdcdcd,0xff8c8c8c,0x4e949494,0x0,0x0,0x0,0xbe878787,0xff9b9b9b,
669 0xffd5d5d5,0xfffbfbfb,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffafafa,0xffd4d4d4,0xff999999,0xbe868686,0x0,0x0,0x0,0x0, 669 0xffd5d5d5,0xfffbfbfb,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xfffafafa,0xffd4d4d4,0xff999999,0xbe868686,0x0,0x0,0x0,0x0,
670 0x2bababab,0xf0848484,0xff818181,0xffa9a9a9,0xffcccccc,0xffe9e9e9,0xffe9e9e9,0xffcccccc,0xffa9a9a9,0xff818181,0xf0848484,0x2bababab,0x0,0x0, 670 0x2bababab,0xf0848484,0xff818181,0xffa9a9a9,0xffcccccc,0xffe9e9e9,0xffe9e9e9,0xffcccccc,0xffa9a9a9,0xff818181,0xf0848484,0x2bababab,0x0,0x0,
671 0x0,0x0,0x0,0x39a5a5a5,0xda818181,0xff747474,0xff6f6f6f,0xff6e6e6e,0xff6e6e6e,0xff6f6f6f,0xff747474,0xda818181,0x39a5a5a5,0x0, 671 0x0,0x0,0x0,0x39a5a5a5,0xda818181,0xff747474,0xff6f6f6f,0xff6e6e6e,0xff6e6e6e,0xff6f6f6f,0xff747474,0xda818181,0x39a5a5a5,0x0,
672 0x0,0x0,0x0,0x0,0x0,0x0,0x3aeaeae,0x79949494,0xcd898989,0xf97c7c7c,0xf97b7b7b,0xcd888888,0x79959595,0x3afafaf, 672 0x0,0x0,0x0,0x0,0x0,0x0,0x3aeaeae,0x79949494,0xcd898989,0xf97c7c7c,0xf97b7b7b,0xcd888888,0x79959595,0x3afafaf,
673 0x0,0x0,0x0,0x0 673 0x0,0x0,0x0,0x0
674}; 674};
675 675
676static const QRgb sbslider_btm_data[] = { 676static const QRgb sbslider_btm_data[] = {
677 0xe96e6e6e,0xffb9b9b9,0xffc9c9c9,0xffc0c0c0,0xffbcbcbc,0xff9c9c9c,0xffafafaf,0xffbababa,0xffc3c3c3,0xffcacaca,0xffcbcbcb,0xffcbcbcb,0xe9717171,0xff6d6d6d, 677 0xe96e6e6e,0xffb9b9b9,0xffc9c9c9,0xffc0c0c0,0xffbcbcbc,0xff9c9c9c,0xffafafaf,0xffbababa,0xffc3c3c3,0xffcacaca,0xffcbcbcb,0xffcbcbcb,0xe9717171,0xff6d6d6d,
678 0xffb0b0b0,0xffc6c6c6,0xffc0c0c0,0xffb8b8b8,0xff9a9a9a,0xffacacac,0xffbababa,0xffc0c0c0,0xffc9c9c9,0xffcacaca,0xffc9c9c9,0xff757575,0xe9737373,0xff999999, 678 0xffb0b0b0,0xffc6c6c6,0xffc0c0c0,0xffb8b8b8,0xff9a9a9a,0xffacacac,0xffbababa,0xffc0c0c0,0xffc9c9c9,0xffcacaca,0xffc9c9c9,0xff757575,0xe9737373,0xff999999,
679 0xffc1c1c1,0xffbfbfbf,0xffb5b5b5,0xff999999,0xffa7a7a7,0xffb6b6b6,0xffc0c0c0,0xffc5c5c5,0xffc7c7c7,0xffbebebe,0xe97b7b7b,0xac737373,0xff747474,0xff9a9a9a, 679 0xffc1c1c1,0xffbfbfbf,0xffb5b5b5,0xff999999,0xffa7a7a7,0xffb6b6b6,0xffc0c0c0,0xffc5c5c5,0xffc7c7c7,0xffbebebe,0xe97b7b7b,0xac737373,0xff747474,0xff9a9a9a,
680 0xff9e9e9e,0xff959595,0xff949494,0xffa0a0a0,0xffadadad,0xffb9b9b9,0xffc0c0c0,0xffc0c0c0,0xffa7a7a7,0xac737373,0x737373,0xff737373,0xff747474,0xff747474, 680 0xff9e9e9e,0xff959595,0xff949494,0xffa0a0a0,0xffadadad,0xffb9b9b9,0xffc0c0c0,0xffc0c0c0,0xffa7a7a7,0xac737373,0x737373,0xff737373,0xff747474,0xff747474,
681 0xff7e7e7e,0xff8b8b8b,0xff979797,0xffa4a4a4,0xffacacac,0xffb3b3b3,0xffb5b5b5,0xff8f8f8f,0x737373,0x0,0x98737373,0xff727272,0xff747474,0xff787878, 681 0xff7e7e7e,0xff8b8b8b,0xff979797,0xffa4a4a4,0xffacacac,0xffb3b3b3,0xffb5b5b5,0xff8f8f8f,0x737373,0x0,0x98737373,0xff727272,0xff747474,0xff787878,
682 0xff828282,0xff8d8d8d,0xff989898,0xff9d9d9d,0xffa7a7a7,0xff989898,0x98737373,0x0,0x0,0x0,0x98737373,0xff747474,0xff757575,0xff7b7b7b, 682 0xff828282,0xff8d8d8d,0xff989898,0xff9d9d9d,0xffa7a7a7,0xff989898,0x98737373,0x0,0x0,0x0,0x98737373,0xff747474,0xff757575,0xff7b7b7b,
683 0xff838383,0xff8d8d8d,0xff979797,0xff737373,0x98737373,0x0,0x0,0x0,0x0,0x0,0x0,0xac737373,0xe9737373,0xff737373, 683 0xff838383,0xff8d8d8d,0xff979797,0xff737373,0x98737373,0x0,0x0,0x0,0x0,0x0,0x0,0xac737373,0xe9737373,0xff737373,
684 0xe9737373,0xac737373,0x0,0x0,0x0,0x0 684 0xe9737373,0xac737373,0x0,0x0,0x0,0x0
685}; 685};
686 686
687static const QRgb sbslider_mid_data[] = { 687static const QRgb sbslider_mid_data[] = {
688 0xff737373,0xffb9b9b9,0xffcbcbcb,0xffc3c3c3,0xffc1c1c1,0xffa0a0a0,0xffb3b3b3,0xffc0c0c0,0xffc9c9c9,0xffd1d1d1,0xffd0d0d0,0xffcfcfcf,0xff727272,0xff737373, 688 0xff737373,0xffb9b9b9,0xffcbcbcb,0xffc3c3c3,0xffc1c1c1,0xffa0a0a0,0xffb3b3b3,0xffc0c0c0,0xffc9c9c9,0xffd1d1d1,0xffd0d0d0,0xffcfcfcf,0xff727272,0xff737373,
689 0xffb9b9b9,0xffcbcbcb,0xffc3c3c3,0xffc1c1c1,0xffa0a0a0,0xffb3b3b3,0xffc0c0c0,0xffc9c9c9,0xffd1d1d1,0xffd0d0d0,0xffcfcfcf,0xff727272,0xff707070,0xffb9b9b9, 689 0xffb9b9b9,0xffcbcbcb,0xffc3c3c3,0xffc1c1c1,0xffa0a0a0,0xffb3b3b3,0xffc0c0c0,0xffc9c9c9,0xffd1d1d1,0xffd0d0d0,0xffcfcfcf,0xff727272,0xff707070,0xffb9b9b9,
690 0xffcbcbcb,0xffc3c3c3,0xffc1c1c1,0xff9f9f9f,0xffb3b3b3,0xffbfbfbf,0xffc7c7c7,0xffcfcfcf,0xffcfcfcf,0xffcecece,0xff727272,0xff6e6e6e,0xffb9b9b9,0xffcccccc, 690 0xffcbcbcb,0xffc3c3c3,0xffc1c1c1,0xff9f9f9f,0xffb3b3b3,0xffbfbfbf,0xffc7c7c7,0xffcfcfcf,0xffcfcfcf,0xffcecece,0xff727272,0xff6e6e6e,0xffb9b9b9,0xffcccccc,
691 0xffc2c2c2,0xffc0c0c0,0xff9e9e9e,0xffb1b1b1,0xffbdbdbd,0xffc6c6c6,0xffcdcdcd,0xffcdcdcd,0xffcccccc,0xff717171,0xff6c6c6c,0xffbababa,0xffcbcbcb,0xffc2c2c2, 691 0xffc2c2c2,0xffc0c0c0,0xff9e9e9e,0xffb1b1b1,0xffbdbdbd,0xffc6c6c6,0xffcdcdcd,0xffcdcdcd,0xffcccccc,0xff717171,0xff6c6c6c,0xffbababa,0xffcbcbcb,0xffc2c2c2,
692 0xffc0c0c0,0xff9c9c9c,0xffafafaf,0xffbcbcbc,0xffc5c5c5,0xffcacaca,0xffcbcbcb,0xffcccccc,0xff717171,0xff6c6c6c,0xffbababa,0xffcccccc,0xffc2c2c2,0xffc0c0c0, 692 0xffc0c0c0,0xff9c9c9c,0xffafafaf,0xffbcbcbc,0xffc5c5c5,0xffcacaca,0xffcbcbcb,0xffcccccc,0xff717171,0xff6c6c6c,0xffbababa,0xffcccccc,0xffc2c2c2,0xffc0c0c0,
693 0xff9b9b9b,0xffaeaeae,0xffbbbbbb,0xffc5c5c5,0xffc9c9c9,0xffcbcbcb,0xffcbcbcb,0xff717171,0xff6e6e6e,0xffbababa,0xffcbcbcb,0xffc2c2c2,0xffc0c0c0,0xff9c9c9c, 693 0xff9b9b9b,0xffaeaeae,0xffbbbbbb,0xffc5c5c5,0xffc9c9c9,0xffcbcbcb,0xffcbcbcb,0xff717171,0xff6e6e6e,0xffbababa,0xffcbcbcb,0xffc2c2c2,0xffc0c0c0,0xff9c9c9c,
694 0xffafafaf,0xffbbbbbb,0xffc5c5c5,0xffcacaca,0xffcccccc,0xffcccccc,0xff717171,0xff707070,0xffb9b9b9,0xffcbcbcb,0xffc1c1c1,0xffc0c0c0,0xff9d9d9d,0xffb0b0b0, 694 0xffafafaf,0xffbbbbbb,0xffc5c5c5,0xffcacaca,0xffcccccc,0xffcccccc,0xff717171,0xff707070,0xffb9b9b9,0xffcbcbcb,0xffc1c1c1,0xffc0c0c0,0xff9d9d9d,0xffb0b0b0,
695 0xffbcbcbc,0xffc6c6c6,0xffcccccc,0xffcdcdcd,0xffcdcdcd,0xff727272,0xff737373,0xffb9b9b9,0xffcacaca,0xffc1c1c1,0xffc0c0c0,0xff9d9d9d,0xffb1b1b1,0xffbdbdbd, 695 0xffbcbcbc,0xffc6c6c6,0xffcccccc,0xffcdcdcd,0xffcdcdcd,0xff727272,0xff737373,0xffb9b9b9,0xffcacaca,0xffc1c1c1,0xffc0c0c0,0xff9d9d9d,0xffb1b1b1,0xffbdbdbd,
696 0xffc6c6c6,0xffcecece,0xffcecece,0xffcecece,0xff727272,0xff6e6e6e,0xffb9b9b9,0xffcdcdcd,0xffc6c6c6,0xffc5c5c5,0xffa0a0a0,0xffb3b3b3,0xffc0c0c0,0xffc8c8c8, 696 0xffc6c6c6,0xffcecece,0xffcecece,0xffcecece,0xff727272,0xff6e6e6e,0xffb9b9b9,0xffcdcdcd,0xffc6c6c6,0xffc5c5c5,0xffa0a0a0,0xffb3b3b3,0xffc0c0c0,0xffc8c8c8,
697 0xffcccccc,0xffcccccc,0xffd3d3d3,0xff6f6f6f,0xff707070,0xffbababa,0xffcdcdcd,0xffc6c6c6,0xffc5c5c5,0xffa2a2a2,0xffb5b5b5,0xffc1c1c1,0xffc8c8c8,0xffcecece, 697 0xffcccccc,0xffcccccc,0xffd3d3d3,0xff6f6f6f,0xff707070,0xffbababa,0xffcdcdcd,0xffc6c6c6,0xffc5c5c5,0xffa2a2a2,0xffb5b5b5,0xffc1c1c1,0xffc8c8c8,0xffcecece,
698 0xffcdcdcd,0xffd4d4d4,0xff6f6f6f,0xff737373,0xffbbbbbb,0xffcdcdcd,0xffc6c6c6,0xffc6c6c6,0xffa5a5a5,0xffb9b9b9,0xffc3c3c3,0xffcacaca,0xffd3d3d3,0xffd1d1d1, 698 0xffcdcdcd,0xffd4d4d4,0xff6f6f6f,0xff737373,0xffbbbbbb,0xffcdcdcd,0xffc6c6c6,0xffc6c6c6,0xffa5a5a5,0xffb9b9b9,0xffc3c3c3,0xffcacaca,0xffd3d3d3,0xffd1d1d1,
699 0xffd5d5d5,0xff707070,0xff757575,0xffbcbcbc,0xffcdcdcd,0xffc6c6c6,0xffc6c6c6,0xffa7a7a7,0xffbbbbbb,0xffc5c5c5,0xffcccccc,0xffd5d5d5,0xffd3d3d3,0xffd5d5d5, 699 0xffd5d5d5,0xff707070,0xff757575,0xffbcbcbc,0xffcdcdcd,0xffc6c6c6,0xffc6c6c6,0xffa7a7a7,0xffbbbbbb,0xffc5c5c5,0xffcccccc,0xffd5d5d5,0xffd3d3d3,0xffd5d5d5,
700 0xff707070,0xff757575,0xffbcbcbc,0xffcdcdcd,0xffc5c5c5,0xffc6c6c6,0xffa7a7a7,0xffbbbbbb,0xffc6c6c6,0xffcccccc,0xffd6d6d6,0xffd3d3d3,0xffd6d6d6,0xff707070, 700 0xff707070,0xff757575,0xffbcbcbc,0xffcdcdcd,0xffc5c5c5,0xffc6c6c6,0xffa7a7a7,0xffbbbbbb,0xffc6c6c6,0xffcccccc,0xffd6d6d6,0xffd3d3d3,0xffd6d6d6,0xff707070,
701 0xff737373,0xffbababa,0xffcccccc,0xffc6c6c6,0xffc6c6c6,0xffa6a6a6,0xffbababa,0xffc5c5c5,0xffcccccc,0xffd5d5d5,0xffd3d3d3,0xffd5d5d5,0xff707070,0xff707070, 701 0xff737373,0xffbababa,0xffcccccc,0xffc6c6c6,0xffc6c6c6,0xffa6a6a6,0xffbababa,0xffc5c5c5,0xffcccccc,0xffd5d5d5,0xffd3d3d3,0xffd5d5d5,0xff707070,0xff707070,
702 0xffbababa,0xffcdcdcd,0xffc6c6c6,0xffc6c6c6,0xffa5a5a5,0xffb9b9b9,0xffc4c4c4,0xffcccccc,0xffd3d3d3,0xffd1d1d1,0xffd4d4d4,0xff6f6f6f,0xff6e6e6e,0xffb9b9b9, 702 0xffbababa,0xffcdcdcd,0xffc6c6c6,0xffc6c6c6,0xffa5a5a5,0xffb9b9b9,0xffc4c4c4,0xffcccccc,0xffd3d3d3,0xffd1d1d1,0xffd4d4d4,0xff6f6f6f,0xff6e6e6e,0xffb9b9b9,
703 0xffcdcdcd,0xffc6c6c6,0xffc6c6c6,0xffa4a4a4,0xffb7b7b7,0xffc2c2c2,0xffcccccc,0xffd1d1d1,0xffcfcfcf,0xffd4d4d4,0xff6f6f6f,0xff737373,0xffb9b9b9,0xffcbcbcb, 703 0xffcdcdcd,0xffc6c6c6,0xffc6c6c6,0xffa4a4a4,0xffb7b7b7,0xffc2c2c2,0xffcccccc,0xffd1d1d1,0xffcfcfcf,0xffd4d4d4,0xff6f6f6f,0xff737373,0xffb9b9b9,0xffcbcbcb,
704 0xffc3c3c3,0xffc1c1c1,0xffa0a0a0,0xffb3b3b3,0xffc0c0c0,0xffc9c9c9,0xffd1d1d1,0xffd0d0d0,0xffcfcfcf,0xff727272,0xff707070,0xffb9b9b9,0xffcbcbcb,0xffc3c3c3, 704 0xffc3c3c3,0xffc1c1c1,0xffa0a0a0,0xffb3b3b3,0xffc0c0c0,0xffc9c9c9,0xffd1d1d1,0xffd0d0d0,0xffcfcfcf,0xff727272,0xff707070,0xffb9b9b9,0xffcbcbcb,0xffc3c3c3,
705 0xffc1c1c1,0xff9f9f9f,0xffb3b3b3,0xffbfbfbf,0xffc7c7c7,0xffcfcfcf,0xffcfcfcf,0xffcecece,0xff727272,0xff6e6e6e,0xffb9b9b9,0xffcccccc,0xffc2c2c2,0xffc0c0c0, 705 0xffc1c1c1,0xff9f9f9f,0xffb3b3b3,0xffbfbfbf,0xffc7c7c7,0xffcfcfcf,0xffcfcfcf,0xffcecece,0xff727272,0xff6e6e6e,0xffb9b9b9,0xffcccccc,0xffc2c2c2,0xffc0c0c0,
706 0xff9e9e9e,0xffb1b1b1,0xffbdbdbd,0xffc6c6c6,0xffcdcdcd,0xffcdcdcd,0xffcccccc,0xff717171,0xff6c6c6c,0xffbababa,0xffcbcbcb,0xffc2c2c2,0xffc0c0c0,0xff9c9c9c, 706 0xff9e9e9e,0xffb1b1b1,0xffbdbdbd,0xffc6c6c6,0xffcdcdcd,0xffcdcdcd,0xffcccccc,0xff717171,0xff6c6c6c,0xffbababa,0xffcbcbcb,0xffc2c2c2,0xffc0c0c0,0xff9c9c9c,
707 0xffafafaf,0xffbcbcbc,0xffc5c5c5,0xffcacaca,0xffcbcbcb,0xffcccccc,0xff717171,0xff6c6c6c,0xffbababa,0xffcccccc,0xffc2c2c2,0xffc0c0c0,0xff9b9b9b,0xffaeaeae, 707 0xffafafaf,0xffbcbcbc,0xffc5c5c5,0xffcacaca,0xffcbcbcb,0xffcccccc,0xff717171,0xff6c6c6c,0xffbababa,0xffcccccc,0xffc2c2c2,0xffc0c0c0,0xff9b9b9b,0xffaeaeae,
708 0xffbbbbbb,0xffc5c5c5,0xffc9c9c9,0xffcbcbcb,0xffcbcbcb,0xff717171,0xff6e6e6e,0xffbababa,0xffcbcbcb,0xffc2c2c2,0xffc0c0c0,0xff9c9c9c,0xffafafaf,0xffbbbbbb, 708 0xffbbbbbb,0xffc5c5c5,0xffc9c9c9,0xffcbcbcb,0xffcbcbcb,0xff717171,0xff6e6e6e,0xffbababa,0xffcbcbcb,0xffc2c2c2,0xffc0c0c0,0xff9c9c9c,0xffafafaf,0xffbbbbbb,
709 0xffc5c5c5,0xffcacaca,0xffcccccc,0xffcccccc,0xff717171,0xff6e6e6e,0xffb9b9b9,0xffc8c8c8,0xffc1c1c1,0xffbdbdbd,0xff9e9e9e,0xffaeaeae,0xffbebebe,0xffc6c6c6, 709 0xffc5c5c5,0xffcacaca,0xffcccccc,0xffcccccc,0xff717171,0xff6e6e6e,0xffb9b9b9,0xffc8c8c8,0xffc1c1c1,0xffbdbdbd,0xff9e9e9e,0xffaeaeae,0xffbebebe,0xffc6c6c6,
710 0xffcdcdcd,0xffcfcfcf,0xffcccccc,0xff727272,0xff6e6e6e,0xffb7b7b7,0xffc9c9c9,0xffc2c2c2,0xffc0c0c0,0xffa0a0a0,0xffb1b1b1,0xffbfbfbf,0xffc6c6c6,0xffcdcdcd, 710 0xffcdcdcd,0xffcfcfcf,0xffcccccc,0xff727272,0xff6e6e6e,0xffb7b7b7,0xffc9c9c9,0xffc2c2c2,0xffc0c0c0,0xffa0a0a0,0xffb1b1b1,0xffbfbfbf,0xffc6c6c6,0xffcdcdcd,
711 0xffcfcfcf,0xffcccccc,0xff727272,0xff6f6f6f,0xffb9b9b9,0xffc9c9c9,0xffc3c3c3,0xffc0c0c0,0xffa1a1a1,0xffb1b1b1,0xffbdbdbd,0xffc6c6c6,0xffcdcdcd,0xffd0d0d0, 711 0xffcfcfcf,0xffcccccc,0xff727272,0xff6f6f6f,0xffb9b9b9,0xffc9c9c9,0xffc3c3c3,0xffc0c0c0,0xffa1a1a1,0xffb1b1b1,0xffbdbdbd,0xffc6c6c6,0xffcdcdcd,0xffd0d0d0,
712 0xffcccccc,0xff737373,0xff727272,0xffbbbbbb,0xffc9c9c9,0xffc6c6c6,0xffc3c3c3,0xffa5a5a5,0xffb6b6b6,0xffc2c2c2,0xffcbcbcb,0xffd2d2d2,0xffd2d2d2,0xffcfcfcf, 712 0xffcccccc,0xff737373,0xff727272,0xffbbbbbb,0xffc9c9c9,0xffc6c6c6,0xffc3c3c3,0xffa5a5a5,0xffb6b6b6,0xffc2c2c2,0xffcbcbcb,0xffd2d2d2,0xffd2d2d2,0xffcfcfcf,
713 0xff727272,0xff727272,0xffbbbbbb,0xffc9c9c9,0xffc7c7c7,0xffc6c6c6,0xffa9a9a9,0xffb8b8b8,0xffc4c4c4,0xffcccccc,0xffd2d2d2,0xffd4d4d4,0xffd0d0d0,0xff737373 713 0xff727272,0xff727272,0xffbbbbbb,0xffc9c9c9,0xffc7c7c7,0xffc6c6c6,0xffa9a9a9,0xffb8b8b8,0xffc4c4c4,0xffcccccc,0xffd2d2d2,0xffd4d4d4,0xffd0d0d0,0xff737373
714}; 714};
715 715
716static const QRgb sbslider_top_data[] = { 716static const QRgb sbslider_top_data[] = {
717 0x0,0x0,0x0,0x0,0xac686868,0xe9686868,0xff686868,0xe9686868,0xac686868,0x0,0x0,0x0,0x0,0x0, 717 0x0,0x0,0x0,0x0,0xac686868,0xe9686868,0xff686868,0xe9686868,0xac686868,0x0,0x0,0x0,0x0,0x0,
718 0x0,0x98686868,0xff686868,0xff747474,0xff777777,0xff7c7c7c,0xff848484,0xff8b8b8b,0xff757575,0x98757575,0x0,0x0,0x0,0x98686868, 718 0x0,0x98686868,0xff686868,0xff747474,0xff777777,0xff7c7c7c,0xff848484,0xff8b8b8b,0xff757575,0x98757575,0x0,0x0,0x0,0x98686868,
719 0xff6f6f6f,0xff696969,0xff7b7b7b,0xff808080,0xff888888,0xff8e8e8e,0xff949494,0xff9a9a9a,0xff979797,0x98757575,0x0,0x686868,0xff696969,0xff7b7b7b, 719 0xff6f6f6f,0xff696969,0xff7b7b7b,0xff808080,0xff888888,0xff8e8e8e,0xff949494,0xff9a9a9a,0xff979797,0x98757575,0x0,0x686868,0xff696969,0xff7b7b7b,
720 0xff757575,0xff7e7e7e,0xff808080,0xff8f8f8f,0xff969696,0xffa3a3a3,0xffb3b3b3,0xffa9a9a9,0xff939393,0x757575,0xac686868,0xff727272,0xffa2a2a2,0xff9d9d9d, 720 0xff757575,0xff7e7e7e,0xff808080,0xff8f8f8f,0xff969696,0xffa3a3a3,0xffb3b3b3,0xffa9a9a9,0xff939393,0x757575,0xac686868,0xff727272,0xffa2a2a2,0xff9d9d9d,
721 0xff949494,0xff858585,0xff999999,0xffa0a0a0,0xffb0b0b0,0xffb6b6b6,0xffb8b8b8,0xff9f9f9f,0xac757575,0xe9686868,0xff9a9a9a,0xffc6c6c6,0xffbbbbbb,0xffb0b0b0, 721 0xff949494,0xff858585,0xff999999,0xffa0a0a0,0xffb0b0b0,0xffb6b6b6,0xffb8b8b8,0xff9f9f9f,0xac757575,0xe9686868,0xff9a9a9a,0xffc6c6c6,0xffbbbbbb,0xffb0b0b0,
722 0xff8e8e8e,0xffa2a2a2,0xffadadad,0xffb7b7b7,0xffbababa,0xffc1c1c1,0xffb3b3b3,0xe9757575,0xff696969,0xffa8a8a8,0xffc3c3c3,0xffb4b4b4,0xffb4b4b4,0xff8f8f8f, 722 0xff8e8e8e,0xffa2a2a2,0xffadadad,0xffb7b7b7,0xffbababa,0xffc1c1c1,0xffb3b3b3,0xe9757575,0xff696969,0xffa8a8a8,0xffc3c3c3,0xffb4b4b4,0xffb4b4b4,0xff8f8f8f,
723 0xffa6a6a6,0xffb3b3b3,0xffb7b7b7,0xffbdbdbd,0xffc6c6c6,0xffc0c0c0,0xff757575,0xe9707070,0xffb9b9b9,0xffcdcdcd,0xffb6b6b6,0xffbbbbbb,0xff979797,0xffadadad, 723 0xffa6a6a6,0xffb3b3b3,0xffb7b7b7,0xffbdbdbd,0xffc6c6c6,0xffc0c0c0,0xff757575,0xe9707070,0xffb9b9b9,0xffcdcdcd,0xffb6b6b6,0xffbbbbbb,0xff979797,0xffadadad,
724 0xffb5b5b5,0xffbababa,0xffbfbfbf,0xffc9c9c9,0xffcbcbcb,0xe9727272 724 0xffb5b5b5,0xffbababa,0xffbfbfbf,0xffc9c9c9,0xffcbcbcb,0xe9727272
725}; 725};
726 726
727static const QRgb sliderarrow_data[] = { 727static const QRgb sliderarrow_data[] = {
728 0x0,0x0,0xff888888,0xff888888,0xff888888,0xff888888,0xff888888,0xff888888,0x0,0x0,0x0,0xff888888,0xffe0e0e0,0xffe0e0e0, 728 0x0,0x0,0xff888888,0xff888888,0xff888888,0xff888888,0xff888888,0xff888888,0x0,0x0,0x0,0xff888888,0xffe0e0e0,0xffe0e0e0,
729 0xffe0e0e0,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xff888888,0x0,0xff888888,0xffe0e0e0,0xffe0e0e0,0xffe5e5e5,0xffe5e5e5,0xffe5e5e5,0xffe5e5e5,0xffe0e0e0, 729 0xffe0e0e0,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xff888888,0x0,0xff888888,0xffe0e0e0,0xffe0e0e0,0xffe5e5e5,0xffe5e5e5,0xffe5e5e5,0xffe5e5e5,0xffe0e0e0,
730 0xffdddddd,0xff888888,0xff888888,0xffc9c9c9,0xffc9c9c9,0xffd0d0d0,0xffc9c9c9,0xffc9c9c9,0xffd1d1d1,0xffc9c9c9,0xffc1c1c1,0xff888888,0xff888888,0xffa3a3a3, 730 0xffdddddd,0xff888888,0xff888888,0xffc9c9c9,0xffc9c9c9,0xffd0d0d0,0xffc9c9c9,0xffc9c9c9,0xffd1d1d1,0xffc9c9c9,0xffc1c1c1,0xff888888,0xff888888,0xffa3a3a3,
731 0xffababab,0xffababab,0xffababab,0xffababab,0xffababab,0xffa8a8a8,0xffa3a3a3,0xff888888,0xff888888,0xffa5a5a5,0xffb7b7b7,0xffb7b7b7,0xffb7b7b7,0xffb7b7b7, 731 0xffababab,0xffababab,0xffababab,0xffababab,0xffababab,0xffa8a8a8,0xffa3a3a3,0xff888888,0xff888888,0xffa5a5a5,0xffb7b7b7,0xffb7b7b7,0xffb7b7b7,0xffb7b7b7,
732 0xffb6b6b6,0xffb8b8b8,0xffa5a5a5,0xff888888,0xff888888,0xffc4c4c4,0xffe1e1e1,0xffe3e3e3,0xffe1e1e1,0xffe4e4e4,0xffe5e5e5,0xffe1e1e1,0xffaeaeae,0xff888888, 732 0xffb6b6b6,0xffb8b8b8,0xffa5a5a5,0xff888888,0xff888888,0xffc4c4c4,0xffe1e1e1,0xffe3e3e3,0xffe1e1e1,0xffe4e4e4,0xffe5e5e5,0xffe1e1e1,0xffaeaeae,0xff888888,
733 0x0,0xff888888,0xffc8c8c8,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc7c7c7,0xffbdbdbd,0xff888888,0x0,0x0,0x0,0xff888888,0xffbdbdbd, 733 0x0,0xff888888,0xffc8c8c8,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc7c7c7,0xffbdbdbd,0xff888888,0x0,0x0,0x0,0xff888888,0xffbdbdbd,
734 0xffbbbbbb,0xffbbbbbb,0xffbdbdbd,0xff888888,0x0,0x0,0x0,0x0,0x0,0xff888888,0xffb6b6b6,0xffaeaeae,0xff888888,0x0, 734 0xffbbbbbb,0xffbbbbbb,0xffbdbdbd,0xff888888,0x0,0x0,0x0,0x0,0x0,0xff888888,0xffb6b6b6,0xffaeaeae,0xff888888,0x0,
735 0x0,0x0,0x0,0x0,0x0,0x0,0xff888888,0xff888888,0x0,0x0,0x0,0x0 735 0x0,0x0,0x0,0x0,0x0,0x0,0xff888888,0xff888888,0x0,0x0,0x0,0x0
736}; 736};
737 737
738static const QRgb tab_data[] = { 738static const QRgb tab_data[] = {
739 0x0,0x0,0x0,0x0,0x55a2a2a2,0xaaa2a2a2,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494, 739 0x0,0x0,0x0,0x0,0x55a2a2a2,0xaaa2a2a2,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,
740 0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494, 740 0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,
741 0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494, 741 0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,
742 0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494, 742 0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,
743 0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494, 743 0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,
744 0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xaaa2a2a2,0x55a2a2a2,0x0,0x0,0x0, 744 0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xff949494,0xaaa2a2a2,0x55a2a2a2,0x0,0x0,0x0,
745 0x0,0x0,0x0,0x40a3a3a3,0xaaa3a3a3,0xd5afafaf,0xeabdbdbd,0xffc5c5c5,0xffc8c8c8,0xffc7c7c7,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8, 745 0x0,0x0,0x0,0x40a3a3a3,0xaaa3a3a3,0xd5afafaf,0xeabdbdbd,0xffc5c5c5,0xffc8c8c8,0xffc7c7c7,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,
746 0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8, 746 0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,
747 0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8, 747 0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,
748 0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8, 748 0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,
749 0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8, 749 0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,
750 0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc7c7c7,0xffc8c8c8,0xffc8c8c8,0xffc5c5c5,0xeabdbdbd,0xd5afafaf,0xaaa3a3a3,0x40a3a3a3, 750 0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc8c8c8,0xffc7c7c7,0xffc8c8c8,0xffc8c8c8,0xffc5c5c5,0xeabdbdbd,0xd5afafaf,0xaaa3a3a3,0x40a3a3a3,
751 0x0,0x0,0x0,0x409f9f9f,0xbfa5a5a5,0xeabcbcbc,0xffcccccc,0xffdfdfdf,0xffe0e0e0,0xffe0e0e0,0xffdfdfdf,0xffe0e0e0,0xffdfdfdf,0xffdfdfdf, 751 0x0,0x0,0x0,0x409f9f9f,0xbfa5a5a5,0xeabcbcbc,0xffcccccc,0xffdfdfdf,0xffe0e0e0,0xffe0e0e0,0xffdfdfdf,0xffe0e0e0,0xffdfdfdf,0xffdfdfdf,
752 0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf, 752 0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,
753 0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf, 753 0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,
754 0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf, 754 0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,
755 0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf, 755 0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,
756 0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffe0e0e0,0xffdfdfdf,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffdfdfdf,0xffcccccc,0xeabcbcbc, 756 0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffdfdfdf,0xffe0e0e0,0xffdfdfdf,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffdfdfdf,0xffcccccc,0xeabcbcbc,
757 0xbfa5a5a5,0x409f9f9f,0x0,0x409f9f9f,0xbfa1a1a1,0xeabababa,0xffcfcfcf,0xffe6e6e6,0xffe7e7e7,0xffe8e8e8,0xffe7e7e7,0xffe6e6e6,0xffe7e7e7,0xffe7e7e7, 757 0xbfa5a5a5,0x409f9f9f,0x0,0x409f9f9f,0xbfa1a1a1,0xeabababa,0xffcfcfcf,0xffe6e6e6,0xffe7e7e7,0xffe8e8e8,0xffe7e7e7,0xffe6e6e6,0xffe7e7e7,0xffe7e7e7,
758 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 758 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
759 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 759 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
760 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 760 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
761 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 761 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
762 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe6e6e6,0xffe7e7e7,0xffe7e7e7,0xffe8e8e8,0xffe7e7e7,0xffe6e6e6, 762 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe6e6e6,0xffe7e7e7,0xffe7e7e7,0xffe8e8e8,0xffe7e7e7,0xffe6e6e6,
763 0xffcfcfcf,0xeabababa,0xbfa1a1a1,0x409f9f9f,0xaa9d9d9d,0xeaafafaf,0xffc2c2c2,0xffd3d3d3,0xffe7e7e7,0xffebebeb,0xffececec,0xffececec,0xffebebeb,0xffebebeb, 763 0xffcfcfcf,0xeabababa,0xbfa1a1a1,0x409f9f9f,0xaa9d9d9d,0xeaafafaf,0xffc2c2c2,0xffd3d3d3,0xffe7e7e7,0xffebebeb,0xffececec,0xffececec,0xffebebeb,0xffebebeb,
764 0xffececec,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb, 764 0xffececec,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,
765 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb, 765 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,
766 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb, 766 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,
767 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb, 767 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,
768 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffececec,0xffebebeb,0xffebebeb,0xffececec,0xffececec,0xffececec,0xffebebeb, 768 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffececec,0xffebebeb,0xffebebeb,0xffececec,0xffececec,0xffececec,0xffebebeb,
769 0xffe7e7e7,0xffd3d3d3,0xffc2c2c2,0xeaafafaf,0xaa9d9d9d,0xff949494,0xffc0c0c0,0xffc5c5c5,0xffc9c9c9,0xffc7c7c7,0xffc9c9c9,0xffcacaca,0xffc9c9c9,0xffc9c9c9, 769 0xffe7e7e7,0xffd3d3d3,0xffc2c2c2,0xeaafafaf,0xaa9d9d9d,0xff949494,0xffc0c0c0,0xffc5c5c5,0xffc9c9c9,0xffc7c7c7,0xffc9c9c9,0xffcacaca,0xffc9c9c9,0xffc9c9c9,
770 0xffc8c8c8,0xffc8c8c8,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9, 770 0xffc8c8c8,0xffc8c8c8,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,
771 0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9, 771 0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,
772 0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9, 772 0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,
773 0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9, 773 0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,
774 0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc8c8c8,0xffc8c8c8,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffcacaca, 774 0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffc8c8c8,0xffc8c8c8,0xffc9c9c9,0xffc9c9c9,0xffc9c9c9,0xffcacaca,
775 0xffc9c9c9,0xffc7c7c7,0xffc9c9c9,0xffc5c5c5,0xffc0c0c0,0xff949494,0xff949494,0xffc8c8c8,0xffc7c7c7,0xffc7c7c7,0xffc5c5c5,0xffc5c5c5,0xffc7c7c7,0xffc5c5c5, 775 0xffc9c9c9,0xffc7c7c7,0xffc9c9c9,0xffc5c5c5,0xffc0c0c0,0xff949494,0xff949494,0xffc8c8c8,0xffc7c7c7,0xffc7c7c7,0xffc5c5c5,0xffc5c5c5,0xffc7c7c7,0xffc5c5c5,
776 0xffc7c7c7,0xffc7c7c7,0xffc5c5c5,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7, 776 0xffc7c7c7,0xffc7c7c7,0xffc5c5c5,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,
777 0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7, 777 0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,
778 0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7, 778 0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,
779 0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7, 779 0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,
780 0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc5c5c5,0xffc7c7c7,0xffc7c7c7,0xffc5c5c5,0xffc5c5c5, 780 0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc7c7c7,0xffc5c5c5,0xffc7c7c7,0xffc7c7c7,0xffc5c5c5,0xffc5c5c5,
781 0xffc7c7c7,0xffc5c5c5,0xffc5c5c5,0xffc7c7c7,0xffc7c7c7,0xffc8c8c8,0xff949494,0xff949494,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffcfcfcf,0xffcdcdcd,0xffd0d0d0, 781 0xffc7c7c7,0xffc5c5c5,0xffc5c5c5,0xffc7c7c7,0xffc7c7c7,0xffc8c8c8,0xff949494,0xff949494,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffcfcfcf,0xffcdcdcd,0xffd0d0d0,
782 0xffd0d0d0,0xffd1d1d1,0xffcfcfcf,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1, 782 0xffd0d0d0,0xffd1d1d1,0xffcfcfcf,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,
783 0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1, 783 0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,
784 0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1, 784 0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,
785 0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1, 785 0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,
786 0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffcfcfcf,0xffd1d1d1,0xffd0d0d0, 786 0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xffcfcfcf,0xffd1d1d1,0xffd0d0d0,
787 0xffd0d0d0,0xffd0d0d0,0xffcdcdcd,0xffcfcfcf,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xff949494,0xff949494,0xffd6d6d6,0xffd6d6d6,0xffd4d4d4,0xffd5d5d5,0xffd5d5d5, 787 0xffd0d0d0,0xffd0d0d0,0xffcdcdcd,0xffcfcfcf,0xffd1d1d1,0xffd1d1d1,0xffd1d1d1,0xff949494,0xff949494,0xffd6d6d6,0xffd6d6d6,0xffd4d4d4,0xffd5d5d5,0xffd5d5d5,
788 0xffd8d8d8,0xffd8d8d8,0xffd9d9d9,0xffd7d7d7,0xffd8d8d8,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 788 0xffd8d8d8,0xffd8d8d8,0xffd9d9d9,0xffd7d7d7,0xffd8d8d8,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
789 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 789 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
790 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 790 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
791 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6, 791 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,
792 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd8d8d8,0xffd7d7d7,0xffd9d9d9, 792 0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd6d6d6,0xffd8d8d8,0xffd7d7d7,0xffd9d9d9,
793 0xffd8d8d8,0xffd8d8d8,0xffd8d8d8,0xffd5d5d5,0xffd5d5d5,0xffd4d4d4,0xffd6d6d6,0xffd6d6d6,0xff949494,0xff949494,0xffdadada,0xffdcdcdc,0xffdadada,0xffdadada, 793 0xffd8d8d8,0xffd8d8d8,0xffd8d8d8,0xffd5d5d5,0xffd5d5d5,0xffd4d4d4,0xffd6d6d6,0xffd6d6d6,0xff949494,0xff949494,0xffdadada,0xffdcdcdc,0xffdadada,0xffdadada,
794 0xffdcdcdc,0xffdcdcdc,0xffdddddd,0xffdddddd,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 794 0xffdcdcdc,0xffdcdcdc,0xffdddddd,0xffdddddd,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
795 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 795 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
796 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 796 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
797 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 797 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
798 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede, 798 0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,0xffdedede,
799 0xffdddddd,0xffdddddd,0xffdddddd,0xffdcdcdc,0xffdcdcdc,0xffdadada,0xffdadada,0xffdcdcdc,0xffdadada,0xff949494,0xff949494,0xffdddddd,0xffe1e1e1,0xffdfdfdf, 799 0xffdddddd,0xffdddddd,0xffdddddd,0xffdcdcdc,0xffdcdcdc,0xffdadada,0xffdadada,0xffdcdcdc,0xffdadada,0xff949494,0xff949494,0xffdddddd,0xffe1e1e1,0xffdfdfdf,
800 0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe1e1e1,0xffe2e2e2,0xffe2e2e2,0xffe3e3e3,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2, 800 0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffe1e1e1,0xffe2e2e2,0xffe2e2e2,0xffe3e3e3,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,
801 0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2, 801 0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,
802 0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2, 802 0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,
803 0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2, 803 0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,
804 0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe3e3e3, 804 0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe2e2e2,0xffe3e3e3,
805 0xffe2e2e2,0xffe2e2e2,0xffe1e1e1,0xffe1e1e1,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffdfdfdf,0xffe1e1e1,0xffdddddd,0xff949494,0xff949494,0xffdfdfdf,0xffe3e3e3, 805 0xffe2e2e2,0xffe2e2e2,0xffe1e1e1,0xffe1e1e1,0xffe0e0e0,0xffe0e0e0,0xffe0e0e0,0xffdfdfdf,0xffe1e1e1,0xffdddddd,0xff949494,0xff949494,0xffdfdfdf,0xffe3e3e3,
806 0xffe2e2e2,0xffe2e2e2,0xffe3e3e3,0xffe3e3e3,0xffe4e4e4,0xffe4e4e4,0xffe5e5e5,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4, 806 0xffe2e2e2,0xffe2e2e2,0xffe3e3e3,0xffe3e3e3,0xffe4e4e4,0xffe4e4e4,0xffe5e5e5,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,
807 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4, 807 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,
808 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4, 808 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,
809 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4, 809 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,
810 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4, 810 0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,
811 0xffe4e4e4,0xffe5e5e5,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe3e3e3,0xffe3e3e3,0xffe2e2e2,0xffe2e2e2,0xffe3e3e3,0xffdfdfdf,0xff949494,0xff949494,0xffe2e2e2, 811 0xffe4e4e4,0xffe5e5e5,0xffe4e4e4,0xffe4e4e4,0xffe4e4e4,0xffe3e3e3,0xffe3e3e3,0xffe2e2e2,0xffe2e2e2,0xffe3e3e3,0xffdfdfdf,0xff949494,0xff949494,0xffe2e2e2,
812 0xffe5e5e5,0xffe5e5e5,0xffe5e5e5,0xffe6e6e6,0xffe5e5e5,0xffe7e7e7,0xffe7e7e7,0xffe8e8e8,0xffe6e6e6,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 812 0xffe5e5e5,0xffe5e5e5,0xffe5e5e5,0xffe6e6e6,0xffe5e5e5,0xffe7e7e7,0xffe7e7e7,0xffe8e8e8,0xffe6e6e6,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
813 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 813 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
814 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 814 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
815 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 815 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
816 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7, 816 0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,
817 0xffe7e7e7,0xffe6e6e6,0xffe8e8e8,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe5e5e5,0xffe6e6e6,0xffe5e5e5,0xffe5e5e5,0xffe5e5e5,0xffe2e2e2,0xff949494,0xff949494, 817 0xffe7e7e7,0xffe6e6e6,0xffe8e8e8,0xffe7e7e7,0xffe7e7e7,0xffe7e7e7,0xffe5e5e5,0xffe6e6e6,0xffe5e5e5,0xffe5e5e5,0xffe5e5e5,0xffe2e2e2,0xff949494,0xff949494,
818 0xffe3e3e3,0xffe7e7e7,0xffe6e6e6,0xffe9e9e9,0xffe9e9e9,0xffe7e7e7,0xffebebeb,0xffeaeaea,0xffe9e9e9,0xffe9e9e9,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb, 818 0xffe3e3e3,0xffe7e7e7,0xffe6e6e6,0xffe9e9e9,0xffe9e9e9,0xffe7e7e7,0xffebebeb,0xffeaeaea,0xffe9e9e9,0xffe9e9e9,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,
819 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb, 819 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,
820 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb, 820 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,
821 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb, 821 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,
822 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb, 822 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,
823 0xffebebeb,0xffebebeb,0xffe9e9e9,0xffe9e9e9,0xffeaeaea,0xffebebeb,0xffebebeb,0xffe7e7e7,0xffe9e9e9,0xffe9e9e9,0xffe6e6e6,0xffe7e7e7,0xffe3e3e3,0xff949494, 823 0xffebebeb,0xffebebeb,0xffe9e9e9,0xffe9e9e9,0xffeaeaea,0xffebebeb,0xffebebeb,0xffe7e7e7,0xffe9e9e9,0xffe9e9e9,0xffe6e6e6,0xffe7e7e7,0xffe3e3e3,0xff949494,
824 0xff949494,0xffe4e4e4,0xffe8e8e8,0xffe9e9e9,0xffececec,0xffececec,0xffe9e9e9,0xffededed,0xffececec,0xffeeeeee,0xffeeeeee,0xffebebeb,0xffebebeb,0xffebebeb, 824 0xff949494,0xffe4e4e4,0xffe8e8e8,0xffe9e9e9,0xffececec,0xffececec,0xffe9e9e9,0xffededed,0xffececec,0xffeeeeee,0xffeeeeee,0xffebebeb,0xffebebeb,0xffebebeb,
825 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb, 825 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,
826 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb, 826 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,
827 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb, 827 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,
828 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb, 828 0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,0xffebebeb,
829 0xffebebeb,0xffebebeb,0xffebebeb,0xffeeeeee,0xffeeeeee,0xffececec,0xffededed,0xffededed,0xffe9e9e9,0xffececec,0xffececec,0xffe9e9e9,0xffe8e8e8,0xffe4e4e4, 829 0xffebebeb,0xffebebeb,0xffebebeb,0xffeeeeee,0xffeeeeee,0xffececec,0xffededed,0xffededed,0xffe9e9e9,0xffececec,0xffececec,0xffe9e9e9,0xffe8e8e8,0xffe4e4e4,
830 0xff949494,0xff949494,0xffe6e6e6,0xffebebeb,0xffebebeb,0xffefefef,0xfff0f0f0,0xffefefef,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff1f1f1,0xfff0f0f0,0xfff0f0f0, 830 0xff949494,0xff949494,0xffe6e6e6,0xffebebeb,0xffebebeb,0xffefefef,0xfff0f0f0,0xffefefef,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff1f1f1,0xfff0f0f0,0xfff0f0f0,
831 0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0, 831 0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,
832 0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0, 832 0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,
833 0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0, 833 0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,
834 0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0, 834 0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,
835 0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff1f1f1,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffefefef,0xfff0f0f0,0xffefefef,0xffebebeb,0xffebebeb, 835 0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff1f1f1,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xfff0f0f0,0xffefefef,0xfff0f0f0,0xffefefef,0xffebebeb,0xffebebeb,
836 0xffe6e6e6,0xff949494,0xff949494,0xffe7e7e7,0xffededed,0xffefefef,0xfff1f1f1,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff4f4f4,0xfff2f2f2,0xfff4f4f4,0xfff2f2f2, 836 0xffe6e6e6,0xff949494,0xff949494,0xffe7e7e7,0xffededed,0xffefefef,0xfff1f1f1,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff4f4f4,0xfff2f2f2,0xfff4f4f4,0xfff2f2f2,
837 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2, 837 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,
838 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2, 838 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,
839 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2, 839 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,
840 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2, 840 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,
841 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff4f4f4,0xfff2f2f2,0xfff4f4f4,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff1f1f1,0xffefefef, 841 0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff4f4f4,0xfff2f2f2,0xfff4f4f4,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff2f2f2,0xfff1f1f1,0xffefefef,
842 0xffededed,0xffe7e7e7,0xff949494,0xff949494,0xffe9e9e9,0xfff0f0f0,0xfff2f2f2,0xfff5f5f5,0xfff8f8f8,0xfff7f7f7,0xfff8f8f8,0xfff8f8f8,0xfff9f9f9,0xfffafafa, 842 0xffededed,0xffe7e7e7,0xff949494,0xff949494,0xffe9e9e9,0xfff0f0f0,0xfff2f2f2,0xfff5f5f5,0xfff8f8f8,0xfff7f7f7,0xfff8f8f8,0xfff8f8f8,0xfff9f9f9,0xfffafafa,
843 0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8, 843 0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,
844 0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8, 844 0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,
845 0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8, 845 0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,
846 0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8, 846 0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,
847 0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfffafafa,0xfff9f9f9,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff7f7f7,0xfff8f8f8,0xfff5f5f5, 847 0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfffafafa,0xfff9f9f9,0xfff8f8f8,0xfff8f8f8,0xfff8f8f8,0xfff7f7f7,0xfff8f8f8,0xfff5f5f5,
848 0xfff2f2f2,0xfff0f0f0,0xffe9e9e9,0xff949494,0xff949494,0xffeaeaea,0xfff1f1f1,0xfff6f6f6,0xfff9f9f9,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffdfdfd, 848 0xfff2f2f2,0xfff0f0f0,0xffe9e9e9,0xff949494,0xff949494,0xffeaeaea,0xfff1f1f1,0xfff6f6f6,0xfff9f9f9,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffdfdfd,
849 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc, 849 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,
850 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc, 850 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,
851 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc, 851 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,
852 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc, 852 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,
853 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffdfdfd,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc, 853 0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffdfdfd,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,0xfffcfcfc,
854 0xfff9f9f9,0xfff6f6f6,0xfff1f1f1,0xffeaeaea,0xff949494,0xff949494,0xffececec,0xfff4f4f4,0xfffbfbfb,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 854 0xfff9f9f9,0xfff6f6f6,0xfff1f1f1,0xffeaeaea,0xff949494,0xff949494,0xffececec,0xfff4f4f4,0xfffbfbfb,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
855 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 855 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
856 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 856 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
857 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 857 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
858 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 858 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
859 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 859 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
860 0xfffefefe,0xfffefefe,0xfffbfbfb,0xfff4f4f4,0xffececec,0xff949494,0xff949494,0xffeeeeee,0xfff9f9f9,0xfffdfdfd,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 860 0xfffefefe,0xfffefefe,0xfffbfbfb,0xfff4f4f4,0xffececec,0xff949494,0xff949494,0xffeeeeee,0xfff9f9f9,0xfffdfdfd,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
861 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 861 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
862 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 862 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
863 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 863 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
864 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 864 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
865 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe, 865 0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,0xfffefefe,
866 0xfffefefe,0xfffefefe,0xfffefefe,0xfffdfdfd,0xfff9f9f9,0xffeeeeee,0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 866 0xfffefefe,0xfffefefe,0xfffefefe,0xfffdfdfd,0xfff9f9f9,0xffeeeeee,0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
867 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 867 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
868 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 868 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
869 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 869 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
870 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 870 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
871 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 871 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
872 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 872 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
873 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 873 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
874 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 874 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
875 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 875 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
876 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 876 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
877 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 877 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
878 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb, 878 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,
879 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 879 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
880 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 880 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
881 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 881 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
882 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 882 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
883 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 883 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
884 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb, 884 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,
885 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 885 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
886 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 886 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
887 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 887 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
888 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 888 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
889 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 889 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
890 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0xff949494,0xffececec,0xfff9f9f9, 890 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0xff949494,0xffececec,0xfff9f9f9,
891 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 891 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
892 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 892 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
893 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 893 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
894 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 894 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
895 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 895 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
896 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0xff949494,0xffececec, 896 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0xff949494,0xffececec,
897 0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 897 0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
898 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 898 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
899 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 899 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
900 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 900 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
901 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 901 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
902 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0xff949494, 902 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0xff949494,
903 0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 903 0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
904 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 904 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
905 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 905 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
906 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 906 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
907 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 907 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
908 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494, 908 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,
909 0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 909 0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
910 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 910 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
911 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 911 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
912 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 912 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
913 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 913 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
914 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec, 914 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,0xffececec,
915 0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 915 0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
916 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 916 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
917 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 917 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
918 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 918 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
919 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 919 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
920 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9, 920 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfff9f9f9,
921 0xffececec,0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 921 0xffececec,0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
922 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 922 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
923 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 923 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
924 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 924 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
925 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 925 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
926 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 926 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
927 0xfff9f9f9,0xffececec,0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 927 0xfff9f9f9,0xffececec,0xff949494,0xff949494,0xffececec,0xfff9f9f9,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
928 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 928 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
929 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 929 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
930 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 930 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
931 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 931 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
932 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb, 932 0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,0xfffbfbfb,
933 0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0x95ababab,0xbfd5d5d5,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed, 933 0xfffbfbfb,0xfff9f9f9,0xffececec,0xff949494,0x95ababab,0xbfd5d5d5,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,
934 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed, 934 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,
935 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed, 935 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,
936 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed, 936 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,
937 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed, 937 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,
938 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed, 938 0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,0xffededed,
939 0xffededed,0xffededed,0xffededed,0xc0d4d3d4,0x96aba9aa 939 0xffededed,0xffededed,0xffededed,0xc0d4d3d4,0x96aba9aa
940}; 940};
941 941
942static struct EmbedImage { 942static struct EmbedImage {
943 int width, height, depth; 943 int width, height, depth;
944 const unsigned char *data; 944 const unsigned char *data;
945 int numColors; 945 int numColors;
946 const QRgb *colorTable; 946 const QRgb *colorTable;
947 bool alpha; 947 bool alpha;
948 const char *name; 948 const char *name;
949} embed_image_vec[] = { 949} embed_image_vec[] = {
950 { 37, 26, 32, (const unsigned char*)buttonborder_data, 0, 0, TRUE, "buttonborder" }, 950 { 37, 26, 32, (const unsigned char*)buttonborder_data, 0, 0, TRUE, "buttonborder" },
951 { 37, 26, 32, (const unsigned char*)buttonfill_data, 0, 0, TRUE, "buttonfill" }, 951 { 37, 26, 32, (const unsigned char*)buttonfill_data, 0, 0, TRUE, "buttonfill" },
952 { 20, 22, 32, (const unsigned char*)checkbox_data, 0, 0, TRUE, "checkbox" }, 952 { 20, 22, 32, (const unsigned char*)checkbox_data, 0, 0, TRUE, "checkbox" },
953 { 20, 22, 32, (const unsigned char*)checkboxdown_data, 0, 0, TRUE, "checkboxdown" }, 953 { 20, 22, 32, (const unsigned char*)checkboxdown_data, 0, 0, TRUE, "checkboxdown" },
954 { 45, 44, 32, (const unsigned char*)clear_fill_large_data, 0, 0, TRUE, "clear_fill_large" }, 954 { 45, 44, 32, (const unsigned char*)clear_fill_large_data, 0, 0, TRUE, "clear_fill_large" },
955 { 42, 26, 32, (const unsigned char*)clear_fill_small_data, 0, 0, TRUE, "clear_fill_small" }, 955 { 42, 26, 32, (const unsigned char*)clear_fill_small_data, 0, 0, TRUE, "clear_fill_small" },
956 { 37, 26, 32, (const unsigned char*)htmlbtnborder_data, 0, 0, TRUE, "htmlbtnborder" }, 956 { 37, 26, 32, (const unsigned char*)htmlbtnborder_data, 0, 0, TRUE, "htmlbtnborder" },
957 { 20, 22, 32, (const unsigned char*)htmlcheckbox_data, 0, 0, TRUE, "htmlcheckbox" }, 957 { 20, 22, 32, (const unsigned char*)htmlcheckbox_data, 0, 0, TRUE, "htmlcheckbox" },
958 { 20, 22, 32, (const unsigned char*)htmlcheckboxdown_data, 0, 0, TRUE, "htmlcheckboxdown" }, 958 { 20, 22, 32, (const unsigned char*)htmlcheckboxdown_data, 0, 0, TRUE, "htmlcheckboxdown" },
959 { 16, 16, 32, (const unsigned char*)htmlradio_data, 0, 0, TRUE, "htmlradio" }, 959 { 16, 16, 32, (const unsigned char*)htmlradio_data, 0, 0, TRUE, "htmlradio" },
960 { 16, 16, 32, (const unsigned char*)htmlradiodown_data, 0, 0, TRUE, "htmlradiodown" }, 960 { 16, 16, 32, (const unsigned char*)htmlradiodown_data, 0, 0, TRUE, "htmlradiodown" },
961 { 16, 16, 32, (const unsigned char*)radio_data, 0, 0, TRUE, "radio" }, 961 { 16, 16, 32, (const unsigned char*)radio_data, 0, 0, TRUE, "radio" },
962 { 16, 16, 32, (const unsigned char*)radio_down_data, 0, 0, TRUE, "radio_down" }, 962 { 16, 16, 32, (const unsigned char*)radio_down_data, 0, 0, TRUE, "radio_down" },
963 { 13, 8, 32, (const unsigned char*)sbslider_btm_data, 0, 0, TRUE, "sbslider_btm" }, 963 { 13, 8, 32, (const unsigned char*)sbslider_btm_data, 0, 0, TRUE, "sbslider_btm" },
964 { 13, 28, 32, (const unsigned char*)sbslider_mid_data, 0, 0, TRUE, "sbslider_mid" }, 964 { 13, 28, 32, (const unsigned char*)sbslider_mid_data, 0, 0, TRUE, "sbslider_mid" },
965 { 13, 8, 32, (const unsigned char*)sbslider_top_data, 0, 0, TRUE, "sbslider_top" }, 965 { 13, 8, 32, (const unsigned char*)sbslider_top_data, 0, 0, TRUE, "sbslider_top" },
966 { 10, 11, 32, (const unsigned char*)sliderarrow_data, 0, 0, TRUE, "sliderarrow" }, 966 { 10, 11, 32, (const unsigned char*)sliderarrow_data, 0, 0, TRUE, "sliderarrow" },
967 { 85, 33, 32, (const unsigned char*)tab_data, 0, 0, TRUE, "tab" }, 967 { 85, 33, 32, (const unsigned char*)tab_data, 0, 0, TRUE, "tab" },
968}; 968};
969 969
970static int cmpEmbedImage(const void *a, const void *b) 970static int cmpEmbedImage(const void *a, const void *b)
971{ 971{
972 const EmbedImage* ea = (const EmbedImage*)a; 972 const EmbedImage* ea = (const EmbedImage*)a;
973 const EmbedImage* eb = (const EmbedImage*)b; 973 const EmbedImage* eb = (const EmbedImage*)b;
974 return strcmp(ea->name,eb->name); 974 return strcmp(ea->name,eb->name);
975} 975}
976inline const QImage& qembed_findImage(const char* name) 976static const QImage& qembed_findImage(const char* name)
977{ 977{
978 EmbedImage key; key.name = name; 978 EmbedImage key; key.name = name;
979 EmbedImage* r = (EmbedImage*)bsearch( &key, embed_image_vec, 979 EmbedImage* r = (EmbedImage*)bsearch( &key, embed_image_vec,
980 sizeof(embed_image_vec)/sizeof(EmbedImage), sizeof(EmbedImage), cmpEmbedImage ); 980 sizeof(embed_image_vec)/sizeof(EmbedImage), sizeof(EmbedImage), cmpEmbedImage );
981 QImage* img; 981 QImage* img;
982 if ( r ) { 982 if ( r ) {
983 img = new QImage((uchar*)r->data, 983 img = new QImage((uchar*)r->data,
984 r->width, 984 r->width,
985 r->height, 985 r->height,
986 r->depth, 986 r->depth,
987 (QRgb*)r->colorTable, 987 (QRgb*)r->colorTable,
988 r->numColors, 988 r->numColors,
989 QImage::BigEndian 989 QImage::BigEndian
990 ); 990 );
991 if ( r->alpha ) 991 if ( r->alpha )
992 img->setAlphaBuffer(TRUE); 992 img->setAlphaBuffer(TRUE);
993 } else { 993 } else {
994 static QImage dummy; 994 static QImage dummy;
995 img = &dummy; 995 img = &dummy;
996 } 996 }
997 return *img; 997 return *img;
998} 998}
999 999
1000#endif 1000#endif
diff --git a/noncore/styles/liquid/liquid.cpp b/noncore/styles/liquid/liquid.cpp
index ba732aa..c8f8d20 100644
--- a/noncore/styles/liquid/liquid.cpp
+++ b/noncore/styles/liquid/liquid.cpp
@@ -1,2610 +1,2620 @@
1/*- 1/*-
2 * Copyright (C)QPL 2001 Daniel M. Duley. All rights reserved. 2 * Copyright (C)QPL 2001 Daniel M. Duley. All rights reserved.
3 */ 3 */
4 4
5// 5//
6// (c) 2002 Robert 'sandman' Griebl 6// (c) 2002 Robert 'sandman' Griebl
7// 7//
8 8
9 9
10#ifndef INCLUDE_MENUITEM_DEF 10#ifndef INCLUDE_MENUITEM_DEF
11#define INCLUDE_MENUITEM_DEF 11#define INCLUDE_MENUITEM_DEF
12#endif 12#endif
13 13
14#include <qmenudata.h> 14#include <qmenudata.h>
15#include "liquid.h" 15#include "liquid.h"
16//#include "liquiddeco.h" 16//#include "liquiddeco.h"
17#include <qapplication.h> 17#include <qapplication.h>
18#include <qpe/config.h> 18#include <qpe/config.h>
19#include "effects.h" 19#include "effects.h"
20#include <qpalette.h> 20#include <qpalette.h>
21#include <qbitmap.h> 21#include <qbitmap.h>
22#include <qtabbar.h> 22#include <qtabbar.h>
23#include <qpopupmenu.h> 23#include <qpopupmenu.h>
24#include <qobjectlist.h> 24#include <qobjectlist.h>
25#include <qimage.h> 25#include <qimage.h>
26#include <qtimer.h> 26#include <qtimer.h>
27#include <qpixmapcache.h> 27#include <qpixmapcache.h>
28#include <qradiobutton.h> 28#include <qradiobutton.h>
29#include <qcombobox.h> 29#include <qcombobox.h>
30#include <qdrawutil.h> 30#include <qdrawutil.h>
31#include <qwidgetlist.h> 31#include <qwidgetlist.h>
32#include <qtoolbutton.h> 32#include <qtoolbutton.h>
33#include <qheader.h> 33#include <qheader.h>
34#include <unistd.h> 34#include <unistd.h>
35#include <qmenubar.h> 35#include <qmenubar.h>
36#include <qprogressbar.h> 36#include <qprogressbar.h>
37#include <qlineedit.h> 37#include <qlineedit.h>
38 38
39#include <stdio.h> 39#include <stdio.h>
40 40
41#include "htmlmasks.h" 41#include "htmlmasks.h"
42#include "embeddata.h" 42#include "embeddata.h"
43 43
44typedef void (QStyle::*QDrawMenuBarItemImpl) (QPainter *, int, int, int, int, QMenuItem *, 44typedef void (QStyle::*QDrawMenuBarItemImpl) (QPainter *, int, int, int, int, QMenuItem *,
45 QColorGroup &, bool, bool); 45 QColorGroup &, bool, bool);
46 46
47QDrawMenuBarItemImpl qt_set_draw_menu_bar_impl(QDrawMenuBarItemImpl impl); 47QDrawMenuBarItemImpl qt_set_draw_menu_bar_impl(QDrawMenuBarItemImpl impl);
48 48
49void TransMenuHandler::stripePixmap(QPixmap &pix, const QColor &color) 49void TransMenuHandler::stripePixmap(QPixmap &pix, const QColor &color)
50{ 50{
51 QImage img(pix.convertToImage()); 51 QImage img(pix.convertToImage());
52 QImageEffect::fade(img, 0.9, color); 52 QImageEffect::fade(img, 0.9, color);
53 int x, y; 53 int x, y;
54 int r, g, b; 54 int r, g, b;
55 for(y=0; y < img.height(); y+=3){ 55 for(y=0; y < img.height(); y+=3){
56 unsigned int *data = (unsigned int *) img.scanLine(y); 56 unsigned int *data = (unsigned int *) img.scanLine(y);
57 for(x=0; x < img.width(); ++x){ 57 for(x=0; x < img.width(); ++x){
58 r = qRed(data[x]); 58 r = qRed(data[x]);
59 g = qGreen(data[x]); 59 g = qGreen(data[x]);
60 b = qBlue(data[x]); 60 b = qBlue(data[x]);
61 if(r-10) 61 if(r-10)
62 r-=10; 62 r-=10;
63 if(g-10) 63 if(g-10)
64 g-=10; 64 g-=10;
65 if(b-10) 65 if(b-10)
66 b-=10; 66 b-=10;
67 data[x] = qRgb(r, g, b); 67 data[x] = qRgb(r, g, b);
68 } 68 }
69 } 69 }
70 pix.convertFromImage(img); 70 pix.convertFromImage(img);
71} 71}
72 72
73TransMenuHandler::TransMenuHandler(QObject *parent) 73TransMenuHandler::TransMenuHandler(QObject *parent)
74 : QObject(parent) 74 : QObject(parent)
75{ 75{
76 pixDict.setAutoDelete(true); 76 pixDict.setAutoDelete(true);
77 reloadSettings(); 77 reloadSettings();
78} 78}
79 79
80void TransMenuHandler::reloadSettings() 80void TransMenuHandler::reloadSettings()
81{ 81{
82 pixDict.clear(); 82 pixDict.clear();
83 83
84 Config config ( "qpe" ); 84 Config config ( "qpe" );
85 config. setGroup ( "Liquid-Style" ); 85 config. setGroup ( "Liquid-Style" );
86 86
87 type = config. readNumEntry("Type", TransStippleBg); 87 type = config. readNumEntry("Type", TransStippleBg);
88 color = QColor ( config. readEntry("Color", QApplication::palette().active().button().name())); 88 color = QColor ( config. readEntry("Color", QApplication::palette().active().button().name()));
89 fgColor = QColor ( config. readEntry("TextColor", QApplication::palette().active().text().name())); 89 fgColor = QColor ( config. readEntry("TextColor", QApplication::palette().active().text().name()));
90 opacity = config. readNumEntry("Opacity", 10); 90 opacity = config. readNumEntry("Opacity", 10);
91 if ( opacity < -20 ) 91 if ( opacity < -20 )
92 opacity = 20; 92 opacity = 20;
93 else if ( opacity > 20 ) 93 else if ( opacity > 20 )
94 opacity = 20; 94 opacity = 20;
95 95
96 shadowText = config. readBoolEntry("ShadowText", true); 96 shadowText = config. readBoolEntry("ShadowText", true);
97} 97}
98 98
99bool TransMenuHandler::eventFilter(QObject *obj, QEvent *ev) 99bool TransMenuHandler::eventFilter(QObject *obj, QEvent *ev)
100{ 100{
101 QWidget *p = (QWidget *)obj; 101 QWidget *p = (QWidget *)obj;
102 102
103 if(ev->type() == QEvent::Show){ 103 if(ev->type() == QEvent::Show){
104 if(type == TransStippleBg || type == TransStippleBtn || 104 if(type == TransStippleBg || type == TransStippleBtn ||
105 type == Custom){ 105 type == Custom){
106 QApplication::syncX(); 106 QApplication::syncX();
107 QPixmap *pix = new QPixmap; 107 QPixmap *pix = new QPixmap;
108 if(p->testWFlags(Qt::WType_Popup)){ 108 if(p->testWFlags(Qt::WType_Popup)){
109 QRect r(p->x(), p->y(), p->width(), p->height()); 109 QRect r(p->x(), p->y(), p->width(), p->height());
110 QRect deskR = QApplication::desktop()->rect(); 110 QRect deskR = QApplication::desktop()->rect();
111 if(r.right() > deskR.right() || r.bottom() > deskR.bottom()){ 111 if(r.right() > deskR.right() || r.bottom() > deskR.bottom()){
112 r.setBottom(deskR.bottom()); 112 r.setBottom(deskR.bottom());
113 r.setRight(deskR.right()); 113 r.setRight(deskR.right());
114 } 114 }
115 *pix = QPixmap::grabWindow(QApplication::desktop()-> winId(), r.x(), r.y(), 115 *pix = QPixmap::grabWindow(QApplication::desktop()-> winId(), r.x(), r.y(),
116 r.width(), r.height()); 116 r.width(), r.height());
117 } 117 }
118 else{ // tear off menu 118 else{ // tear off menu
119 pix->resize(p->width(), p->height()); 119 pix->resize(p->width(), p->height());
120 pix->fill(Qt::black.rgb()); 120 pix->fill(Qt::black.rgb());
121 } 121 }
122 if(type == TransStippleBg){ 122 if(type == TransStippleBg){
123 stripePixmap(*pix, p->colorGroup().background()); 123 stripePixmap(*pix, p->colorGroup().background());
124 } 124 }
125 else if(type == TransStippleBtn){ 125 else if(type == TransStippleBtn){
126 stripePixmap(*pix, p->colorGroup().button()); 126 stripePixmap(*pix, p->colorGroup().button());
127 } 127 }
128 else{ 128 else{
129 QPixmapEffect::fade(*pix, (((float)opacity)+80)*0.01, color); 129 QPixmapEffect::fade(*pix, (((float)opacity)+80)*0.01, color);
130 } 130 }
131 131
132 pixDict.insert(p->winId(), pix); 132 pixDict.insert(p->winId(), pix);
133 133
134 if ( !p->inherits("QPopupMenu")) 134 if ( !p->inherits("QPopupMenu"))
135 p->setBackgroundPixmap(*pix); 135 p->setBackgroundPixmap(*pix);
136 136
137 QObjectList *ol = p-> queryList("QWidget"); 137 QObjectList *ol = p-> queryList("QWidget");
138 for ( QObjectListIt it( *ol ); it. current ( ); ++it ) { 138 for ( QObjectListIt it( *ol ); it. current ( ); ++it ) {
139 QWidget *wid = (QWidget *) it.current ( ); 139 QWidget *wid = (QWidget *) it.current ( );
140 140
141 wid-> setBackgroundPixmap(*pix); 141 wid-> setBackgroundPixmap(*pix);
142 wid-> setBackgroundOrigin(QWidget::ParentOrigin); 142 wid-> setBackgroundOrigin(QWidget::ParentOrigin);
143 } 143 }
144 delete ol; 144 delete ol;
145 } 145 }
146 } 146 }
147 else if(ev->type() == QEvent::Hide){ 147 else if(ev->type() == QEvent::Hide){
148 if(type == TransStippleBg || type == TransStippleBtn || 148 if(type == TransStippleBg || type == TransStippleBtn ||
149 type == Custom){ 149 type == Custom){
150// qWarning("Deleting menu pixmap, width %d", pixDict.find(p->winId())->width()); 150// qWarning("Deleting menu pixmap, width %d", pixDict.find(p->winId())->width());
151 151
152 pixDict.remove(p->winId()); 152 pixDict.remove(p->winId());
153 if ( !p->inherits("QPopupMenu")) 153 if ( !p->inherits("QPopupMenu"))
154 p->setBackgroundMode(QWidget::PaletteBackground); 154 p->setBackgroundMode(QWidget::PaletteBackground);
155 155
156 QObjectList *ol = p-> queryList("QWidget"); 156 QObjectList *ol = p-> queryList("QWidget");
157 for ( QObjectListIt it( *ol ); it. current ( ); ++it ) { 157 for ( QObjectListIt it( *ol ); it. current ( ); ++it ) {
158 QWidget *wid = (QWidget *) it.current ( ); 158 QWidget *wid = (QWidget *) it.current ( );
159 159
160 wid-> setBackgroundMode( QWidget::PaletteBackground ); 160 wid-> setBackgroundMode( QWidget::PaletteBackground );
161 } 161 }
162 delete ol; 162 delete ol;
163 } 163 }
164 } 164 }
165 return(false); 165 return(false);
166} 166}
167 167
168 168
169static int qt_version ( ) 169static int qt_version ( )
170{ 170{
171 const char *qver = qVersion ( ); 171 const char *qver = qVersion ( );
172 return ( qver [0] - '0' ) * 100 + ( qver [2] - '0' ) * 10 + ( qver [4] - '0' ); 172 return ( qver [0] - '0' ) * 100 + ( qver [2] - '0' ) * 10 + ( qver [4] - '0' );
173} 173}
174 174
175 175
176LiquidStyle::LiquidStyle() 176LiquidStyle::LiquidStyle()
177 :QWindowsStyle() 177 :QWindowsStyle()
178{ 178{
179 setName ( "LiquidStyle" ); 179 setName ( "LiquidStyle" );
180 180
181 oldqte = ( qt_version ( ) < 234 ); 181 oldqte = ( qt_version ( ) < 234 );
182 flatTBButtons = false; 182 flatTBButtons = false;
183 183
184 btnMaskBmp = QBitmap(37, 26, buttonmask_bits, true); 184 btnMaskBmp = QBitmap(37, 26, buttonmask_bits, true);
185 btnMaskBmp.setMask(btnMaskBmp); 185 btnMaskBmp.setMask(btnMaskBmp);
186 htmlBtnMaskBmp = QBitmap(37, 26, htmlbuttonmask_bits, true); 186 htmlBtnMaskBmp = QBitmap(37, 26, htmlbuttonmask_bits, true);
187 htmlBtnMaskBmp.setMask(htmlBtnMaskBmp); 187 htmlBtnMaskBmp.setMask(htmlBtnMaskBmp);
188 headerHoverID = -1; 188 headerHoverID = -1;
189 highlightWidget = NULL; 189 highlightWidget = NULL;
190 setButtonDefaultIndicatorWidth(0); 190 setButtonDefaultIndicatorWidth(0);
191 btnDict.setAutoDelete(true); 191 btnDict.setAutoDelete(true);
192 bevelFillDict.setAutoDelete(true); 192 bevelFillDict.setAutoDelete(true);
193 smallBevelFillDict.setAutoDelete(true); 193 smallBevelFillDict.setAutoDelete(true);
194 194
195 rMatrix.rotate(270.0); 195 rMatrix.rotate(270.0);
196 btnBorderPix = new QPixmap; 196 btnBorderPix = new QPixmap;
197 btnBorderPix->convertFromImage(qembed_findImage("buttonfill")); 197 btnBorderPix->convertFromImage(qembed_findImage("buttonfill"));
198 btnBlendPix = new QPixmap; 198 btnBlendPix = new QPixmap;
199 btnBlendPix->convertFromImage(qembed_findImage("buttonborder")); 199 btnBlendPix->convertFromImage(qembed_findImage("buttonborder"));
200 bevelFillPix = new QPixmap; 200 bevelFillPix = new QPixmap;
201 bevelFillPix->convertFromImage(qembed_findImage("clear_fill_large")); 201 bevelFillPix->convertFromImage(qembed_findImage("clear_fill_large"));
202 smallBevelFillPix = new QPixmap; 202 smallBevelFillPix = new QPixmap;
203 smallBevelFillPix->convertFromImage(qembed_findImage("clear_fill_small")); 203 smallBevelFillPix->convertFromImage(qembed_findImage("clear_fill_small"));
204 // new stuff 204 // new stuff
205 vsbSliderFillPix = menuPix = NULL; 205 vsbSliderFillPix = menuPix = NULL;
206 menuHandler = new TransMenuHandler(this); 206 menuHandler = new TransMenuHandler(this);
207 setScrollBarExtent(15, 15); 207 setScrollBarExtent(15, 15);
208 int i; 208 int i;
209 for(i=0; i < BITMAP_ITEMS; ++i){ 209 for(i=0; i < BITMAP_ITEMS; ++i){
210 pixmaps[i] = NULL; 210 pixmaps[i] = NULL;
211 } 211 }
212 oldSliderThickness = sliderThickness(); 212 oldSliderThickness = sliderThickness();
213 setSliderThickness(11); 213 setSliderThickness(11);
214} 214}
215 215
216LiquidStyle::~LiquidStyle() 216LiquidStyle::~LiquidStyle()
217{ 217{
218 if(btnBorderPix) 218 if(btnBorderPix)
219 delete btnBorderPix; 219 delete btnBorderPix;
220 if(btnBlendPix) 220 if(btnBlendPix)
221 delete btnBlendPix; 221 delete btnBlendPix;
222 if(bevelFillPix) 222 if(bevelFillPix)
223 delete bevelFillPix; 223 delete bevelFillPix;
224 if(smallBevelFillPix) 224 if(smallBevelFillPix)
225 delete smallBevelFillPix; 225 delete smallBevelFillPix;
226 if(vsbSliderFillPix) 226 if(vsbSliderFillPix)
227 delete vsbSliderFillPix; 227 delete vsbSliderFillPix;
228 if(menuPix) 228 if(menuPix)
229 delete menuPix; 229 delete menuPix;
230 230
231 setScrollBarExtent(16, 16); 231 setScrollBarExtent(16, 16);
232 setSliderThickness(oldSliderThickness); 232 setSliderThickness(oldSliderThickness);
233 int i; 233 int i;
234 for(i=0; i < BITMAP_ITEMS; ++i){ 234 for(i=0; i < BITMAP_ITEMS; ++i){
235 if(pixmaps[i]) 235 if(pixmaps[i])
236 delete pixmaps[i]; 236 delete pixmaps[i];
237 } 237 }
238} 238}
239 239
240void LiquidStyle::drawClearBevel(QPainter *p, int x, int y, int w, int h, 240void LiquidStyle::drawClearBevel(QPainter *p, int x, int y, int w, int h,
241 const QColor &c, const QColor &bg) 241 const QColor &c, const QColor &bg)
242{ 242{
243 243
244 QPen oldPen = p->pen(); // headers need this 244 QPen oldPen = p->pen(); // headers need this
245 int x2 = x+w-1; 245 int x2 = x+w-1;
246 int y2 = y+h-1; 246 int y2 = y+h-1;
247 // outer dark rect 247 // outer dark rect
248 p->setPen(c.dark(130)); 248 p->setPen(c.dark(130));
249 p->drawLine(x, y+2, x, y2-2); // l 249 p->drawLine(x, y+2, x, y2-2); // l
250 p->drawLine(x2, y+2, x2, y2-2); // r 250 p->drawLine(x2, y+2, x2, y2-2); // r
251 p->drawLine(x+2, y, x2-2, y); // t 251 p->drawLine(x+2, y, x2-2, y); // t
252 p->drawLine(x+2, y2, x2-2, y2); // b 252 p->drawLine(x+2, y2, x2-2, y2); // b
253 p->drawPoint(x+1, y+1); // tl 253 p->drawPoint(x+1, y+1); // tl
254 p->drawPoint(x2-1, y+1); // tr 254 p->drawPoint(x2-1, y+1); // tr
255 p->drawPoint(x+1, y2-1); // bl 255 p->drawPoint(x+1, y2-1); // bl
256 p->drawPoint(x2-1, y2-1); // br 256 p->drawPoint(x2-1, y2-1); // br
257 257
258 // inner top light lines 258 // inner top light lines
259 p->setPen(c.light(105)); 259 p->setPen(c.light(105));
260 p->drawLine(x+2, y+1, x2-2, y+1); 260 p->drawLine(x+2, y+1, x2-2, y+1);
261 p->drawLine(x+1, y+2, x2-1, y+2); 261 p->drawLine(x+1, y+2, x2-1, y+2);
262 p->drawLine(x+1, y+3, x+2, y+3); 262 p->drawLine(x+1, y+3, x+2, y+3);
263 p->drawLine(x2-2, y+3, x2-1, y+3); 263 p->drawLine(x2-2, y+3, x2-1, y+3);
264 p->drawPoint(x+1, y+4); 264 p->drawPoint(x+1, y+4);
265 p->drawPoint(x2-1, y+4); 265 p->drawPoint(x2-1, y+4);
266 266
267 // inner bottom light lines 267 // inner bottom light lines
268 p->setPen(c.light(110)); 268 p->setPen(c.light(110));
269 p->drawLine(x+2, y2-1, x2-2, y2-1); 269 p->drawLine(x+2, y2-1, x2-2, y2-1);
270 p->drawLine(x+1, y2-2, x2-1, y2-2); 270 p->drawLine(x+1, y2-2, x2-1, y2-2);
271 p->drawLine(x+1, y2-3, x+2, y2-3); 271 p->drawLine(x+1, y2-3, x+2, y2-3);
272 p->drawLine(x2-2, y2-3, x2-1, y2-3); 272 p->drawLine(x2-2, y2-3, x2-1, y2-3);
273 p->drawPoint(x+1, y2-4); 273 p->drawPoint(x+1, y2-4);
274 p->drawPoint(x2-1, y2-4); 274 p->drawPoint(x2-1, y2-4);
275 275
276 // inner left mid lines 276 // inner left mid lines
277 //p->setPen(c.light(105)); 277 //p->setPen(c.light(105));
278 p->setPen(c); 278 p->setPen(c);
279 p->drawLine(x+1, y+5, x+1, y2-5); 279 p->drawLine(x+1, y+5, x+1, y2-5);
280 p->drawLine(x+2, y+4, x+2, y2-4); 280 p->drawLine(x+2, y+4, x+2, y2-4);
281 281
282 // inner right mid lines 282 // inner right mid lines
283 p->drawLine(x2-1, y+5, x2-1, y2-5); 283 p->drawLine(x2-1, y+5, x2-1, y2-5);
284 p->drawLine(x2-2, y+4, x2-2, y2-4); 284 p->drawLine(x2-2, y+4, x2-2, y2-4);
285 285
286 // fill 286 // fill
287 QPixmap *pix; 287 QPixmap *pix;
288 if(h >= 32){ 288 if(h >= 32){
289 pix = bevelFillDict.find(c.rgb()); 289 pix = bevelFillDict.find(c.rgb());
290 if(!pix){ 290 if(!pix){
291 int h, s, v; 291 int h, s, v;
292 c.hsv(&h, &s, &v); 292 c.hsv(&h, &s, &v);
293 pix = new QPixmap(*bevelFillPix); 293 pix = new QPixmap(*bevelFillPix);
294 adjustHSV(*pix, h, s, v); 294 adjustHSV(*pix, h, s, v);
295 bevelFillDict.insert(c.rgb(), pix); 295 bevelFillDict.insert(c.rgb(), pix);
296 } 296 }
297 } 297 }
298 else{ 298 else{
299 pix = smallBevelFillDict.find(c.rgb()); 299 pix = smallBevelFillDict.find(c.rgb());
300 if(!pix){ 300 if(!pix){
301 int h, s, v; 301 int h, s, v;
302 c.hsv(&h, &s, &v); 302 c.hsv(&h, &s, &v);
303 pix = new QPixmap(*smallBevelFillPix); 303 pix = new QPixmap(*smallBevelFillPix);
304 adjustHSV(*pix, h, s, v); 304 adjustHSV(*pix, h, s, v);
305 smallBevelFillDict.insert(c.rgb(), pix); 305 smallBevelFillDict.insert(c.rgb(), pix);
306 } 306 }
307 } 307 }
308 p->drawTiledPixmap(x+3, y+3, w-6, h-6, *pix); 308 p->drawTiledPixmap(x+3, y+3, w-6, h-6, *pix);
309 // blend 309 // blend
310 int red, green, blue; 310 int red, green, blue;
311 QColor btnColor(c.dark(130)); 311 QColor btnColor(c.dark(130));
312 red = (btnColor.red() >> 1) + (bg.red() >> 1); 312 red = (btnColor.red() >> 1) + (bg.red() >> 1);
313 green = (btnColor.green() >> 1) + (bg.green() >> 1); 313 green = (btnColor.green() >> 1) + (bg.green() >> 1);
314 blue = (btnColor.blue() >> 1) + (bg.blue() >> 1); 314 blue = (btnColor.blue() >> 1) + (bg.blue() >> 1);
315 btnColor.setRgb(red, green, blue); 315 btnColor.setRgb(red, green, blue);
316 316
317 p->setPen(btnColor); 317 p->setPen(btnColor);
318 p->drawPoint(x+1, y); 318 p->drawPoint(x+1, y);
319 p->drawPoint(x, y+1); 319 p->drawPoint(x, y+1);
320 p->drawPoint(x+1, y2); 320 p->drawPoint(x+1, y2);
321 p->drawPoint(x, y2-1); 321 p->drawPoint(x, y2-1);
322 322
323 p->drawPoint(x2-1, y); 323 p->drawPoint(x2-1, y);
324 p->drawPoint(x2, y+1); 324 p->drawPoint(x2, y+1);
325 p->drawPoint(x2-1, y2); 325 p->drawPoint(x2-1, y2);
326 p->drawPoint(x2, y2-1); 326 p->drawPoint(x2, y2-1);
327 327
328 p->setPen(oldPen); 328 p->setPen(oldPen);
329 329
330} 330}
331 331
332void LiquidStyle::drawRoundButton(QPainter *painter, const QColor &c, 332void LiquidStyle::drawRoundButton(QPainter *painter, const QColor &c,
333 const QColor &back, int x, int y, int w, int h, 333 const QColor &back, int x, int y, int w, int h,
334 bool supportPushDown, bool pushedDown, 334 bool supportPushDown, bool pushedDown,
335 bool autoDefault, bool isMasked) 335 bool autoDefault, bool isMasked)
336{ 336{
337 if(w < 21 || h < 21){ 337 if(w < 21 || h < 21){
338 drawClearBevel(painter, x, y, w, h, c, back); 338 drawClearBevel(painter, x, y, w, h, c, back);
339 return; 339 return;
340 } 340 }
341 if(supportPushDown){ 341 if(supportPushDown){
342 --w, --h; 342 --w, --h;
343 } 343 }
344 /* We don't make the round buttons smaller, since they don't look as good 344 /* We don't make the round buttons smaller, since they don't look as good
345 if(autoDefault){ 345 if(autoDefault){
346 w = w-buttonDefaultIndicatorWidth()*2; 346 w = w-buttonDefaultIndicatorWidth()*2;
347 h = h-buttonDefaultIndicatorWidth()*2; 347 h = h-buttonDefaultIndicatorWidth()*2;
348 }*/ 348 }*/
349 349
350 350
351 QPixmap *pix = btnDict.find(c.rgb()); 351 QPixmap *pix = btnDict.find(c.rgb());
352 if(!pix){ 352 if(!pix){
353 int h, s, v; 353 int h, s, v;
354 c.hsv(&h, &s, &v); 354 c.hsv(&h, &s, &v);
355 pix = new QPixmap(*btnBorderPix); 355 pix = new QPixmap(*btnBorderPix);
356 adjustHSV(*pix, h, s, v); 356 adjustHSV(*pix, h, s, v);
357 btnDict.insert(c.rgb(), pix); 357 btnDict.insert(c.rgb(), pix);
358 } 358 }
359 int x2 = x+w-1; 359 int x2 = x+w-1;
360 int y2 = y+h-1; 360 int y2 = y+h-1;
361 int bx2 = pix->width()-1; 361 int bx2 = pix->width()-1;
362 int by2 = pix->height()-1; 362 int by2 = pix->height()-1;
363 363
364 QPixmap tmpPix(w, h); 364 QPixmap tmpPix(w, h);
365 QPixmap tilePix; 365 QPixmap tilePix;
366 QPainter p; 366 QPainter p;
367 p.begin(&tmpPix); 367 p.begin(&tmpPix);
368 368
369 // do the fill 369 // do the fill
370 p.drawPixmap(0, 0, *pix, 0, 0, 10, 10); // tl 370 p.drawPixmap(0, 0, *pix, 0, 0, 10, 10); // tl
371 p.drawPixmap(x2-9, 0, *pix, bx2-9, 0, 10, 10); // tr 371 p.drawPixmap(x2-9, 0, *pix, bx2-9, 0, 10, 10); // tr
372 p.drawPixmap(0, y2-9, *pix, 0, by2-9, 10, 10); // bl 372 p.drawPixmap(0, y2-9, *pix, 0, by2-9, 10, 10); // bl
373 p.drawPixmap(x2-9, y2-9, *pix, bx2-9, by2-9, 10, 10); // br 373 p.drawPixmap(x2-9, y2-9, *pix, bx2-9, by2-9, 10, 10); // br
374 374
375 // edges 375 // edges
376 tilePix.resize(pix->width()-20, 10); 376 tilePix.resize(pix->width()-20, 10);
377 // top 377 // top
378 bitBlt(&tilePix, 0, 0, pix, 10, 0, pix->width()-20, 10); 378 bitBlt(&tilePix, 0, 0, pix, 10, 0, pix->width()-20, 10);
379 p.drawTiledPixmap(10, 0, w-20, 10, tilePix); 379 p.drawTiledPixmap(10, 0, w-20, 10, tilePix);
380 // bottom 380 // bottom
381 bitBlt(&tilePix, 0, 0, pix, 10, by2-9, pix->width()-20, 20); 381 bitBlt(&tilePix, 0, 0, pix, 10, by2-9, pix->width()-20, 20);
382 p.drawTiledPixmap(10, y2-9, w-20, 10, tilePix); 382 p.drawTiledPixmap(10, y2-9, w-20, 10, tilePix);
383 // left 383 // left
384 tilePix.resize(10, pix->height()-20); 384 tilePix.resize(10, pix->height()-20);
385 bitBlt(&tilePix, 0, 0, pix, 0, 10, 10, pix->height()-20); 385 bitBlt(&tilePix, 0, 0, pix, 0, 10, 10, pix->height()-20);
386 p.drawTiledPixmap(0, 10, 10, h-20, tilePix); 386 p.drawTiledPixmap(0, 10, 10, h-20, tilePix);
387 // right 387 // right
388 bitBlt(&tilePix, 0, 0, pix, bx2-9, 10, 10, pix->height()-20); 388 bitBlt(&tilePix, 0, 0, pix, bx2-9, 10, 10, pix->height()-20);
389 p.drawTiledPixmap(x2-9, 10, 10, h-20, tilePix); 389 p.drawTiledPixmap(x2-9, 10, 10, h-20, tilePix);
390 390
391 // middle 391 // middle
392 tilePix.resize(pix->width()-20, pix->height()-20); 392 tilePix.resize(pix->width()-20, pix->height()-20);
393 bitBlt(&tilePix, 0, 0, pix, 10, 10, pix->width()-20, pix->height()-20); 393 bitBlt(&tilePix, 0, 0, pix, 10, 10, pix->width()-20, pix->height()-20);
394 p.drawTiledPixmap(10, 10, w-20, h-20, tilePix); 394 p.drawTiledPixmap(10, 10, w-20, h-20, tilePix);
395 395
396 396
397 // do the blend 397 // do the blend
398 QBitmap blendMask; 398 QBitmap blendMask;
399 if(!isMasked){ 399 if(!isMasked){
400 //QRgb bgRgb = back.rgb(); 400 //QRgb bgRgb = back.rgb();
401 //QRgb fgRgb = c.rgb(); 401 //QRgb fgRgb = c.rgb();
402 //int r, g, b; 402 //int r, g, b;
403 403
404 //r = (int)(qRed(bgRgb)*0.75 + qRed(fgRgb)*0.25); 404 //r = (int)(qRed(bgRgb)*0.75 + qRed(fgRgb)*0.25);
405 //g = (int)(qGreen(bgRgb)*0.75 + qGreen(fgRgb)*0.25); 405 //g = (int)(qGreen(bgRgb)*0.75 + qGreen(fgRgb)*0.25);
406 //b = (int)(qBlue(bgRgb)*0.75 + qBlue(fgRgb)*0.25); 406 //b = (int)(qBlue(bgRgb)*0.75 + qBlue(fgRgb)*0.25);
407 //QColor blendColor(r, g, b); 407 //QColor blendColor(r, g, b);
408 int hue, sat, v1, v2; 408 int hue, sat, v1, v2;
409 QColor blendColor(autoDefault ? c : back); 409 QColor blendColor(autoDefault ? c : back);
410 back.hsv(&hue, &sat, &v1); 410 back.hsv(&hue, &sat, &v1);
411 blendColor.hsv(&hue, &sat, &v2); 411 blendColor.hsv(&hue, &sat, &v2);
412 if(v2 > v1) 412 if(v2 > v1)
413 blendColor.setHsv(hue, sat, (int)(v1*0.75 + v2*0.25)); 413 blendColor.setHsv(hue, sat, (int)(v1*0.75 + v2*0.25));
414 414
415 pix = btnBorderDict.find(blendColor.rgb()); 415 pix = btnBorderDict.find(blendColor.rgb());
416 if(!pix){ 416 if(!pix){
417 int h, s, v; 417 int h, s, v;
418 blendColor.hsv(&h, &s, &v); 418 blendColor.hsv(&h, &s, &v);
419 pix = new QPixmap(*btnBlendPix); 419 pix = new QPixmap(*btnBlendPix);
420 adjustHSV(*pix, h, s, v); 420 adjustHSV(*pix, h, s, v);
421 btnBorderDict.insert(blendColor.rgb(), pix); 421 btnBorderDict.insert(blendColor.rgb(), pix);
422 } 422 }
423 } 423 }
424 else{ 424 else{
425 pix = pushedDown ? getPixmap(HTMLBtnBorderDown) : 425 pix = pushedDown ? getPixmap(HTMLBtnBorderDown) :
426 getPixmap(HTMLBtnBorder); 426 getPixmap(HTMLBtnBorder);
427 } 427 }
428 p.drawPixmap(0, 0, *pix, 0, 0, 10, 10); // tl 428 p.drawPixmap(0, 0, *pix, 0, 0, 10, 10); // tl
429 p.drawPixmap(x2-9, 0, *pix, bx2-9, 0, 10, 10); // tr 429 p.drawPixmap(x2-9, 0, *pix, bx2-9, 0, 10, 10); // tr
430 p.drawPixmap(0, y2-9, *pix, 0, by2-9, 10, 10); // bl 430 p.drawPixmap(0, y2-9, *pix, 0, by2-9, 10, 10); // bl
431 p.drawPixmap(x2-9, y2-9, *pix, bx2-9, by2-9, 10, 10); // br 431 p.drawPixmap(x2-9, y2-9, *pix, bx2-9, by2-9, 10, 10); // br
432 432
433 // edges 433 // edges
434 tilePix.resize(pix->width()-20, 10); 434 tilePix.resize(pix->width()-20, 10);
435 blendMask.resize(pix->width()-20, 10); 435 blendMask.resize(pix->width()-20, 10);
436 // top 436 // top
437 bitBlt(&tilePix, 0, 0, pix, 10, 0, pix->width()-20, 10); 437 bitBlt(&tilePix, 0, 0, pix, 10, 0, pix->width()-20, 10);
438 bitBlt(&blendMask, 0, 0, pix->mask(), 10, 0, pix->width()-20, 10); 438 bitBlt(&blendMask, 0, 0, pix->mask(), 10, 0, pix->width()-20, 10);
439 tilePix.setMask(blendMask); 439 tilePix.setMask(blendMask);
440 p.drawTiledPixmap(10, 0, w-20, 10, tilePix); 440 p.drawTiledPixmap(10, 0, w-20, 10, tilePix);
441 // bottom 441 // bottom
442 bitBlt(&tilePix, 0, 0, pix, 10, by2-9, pix->width()-20, 20); 442 bitBlt(&tilePix, 0, 0, pix, 10, by2-9, pix->width()-20, 20);
443 bitBlt(&blendMask, 0, 0, pix->mask(), 10, by2-9, pix->width()-20, 20); 443 bitBlt(&blendMask, 0, 0, pix->mask(), 10, by2-9, pix->width()-20, 20);
444 tilePix.setMask(blendMask); 444 tilePix.setMask(blendMask);
445 p.drawTiledPixmap(10, y2-9, w-20, 10, tilePix); 445 p.drawTiledPixmap(10, y2-9, w-20, 10, tilePix);
446 // left 446 // left
447 tilePix.resize(10, pix->height()-20); 447 tilePix.resize(10, pix->height()-20);
448 blendMask.resize(10, pix->height()-20); 448 blendMask.resize(10, pix->height()-20);
449 bitBlt(&tilePix, 0, 0, pix, 0, 10, 10, pix->height()-20); 449 bitBlt(&tilePix, 0, 0, pix, 0, 10, 10, pix->height()-20);
450 bitBlt(&blendMask, 0, 0, pix->mask(), 0, 10, 10, pix->height()-20); 450 bitBlt(&blendMask, 0, 0, pix->mask(), 0, 10, 10, pix->height()-20);
451 tilePix.setMask(blendMask); 451 tilePix.setMask(blendMask);
452 p.drawTiledPixmap(0, 10, 10, h-20, tilePix); 452 p.drawTiledPixmap(0, 10, 10, h-20, tilePix);
453 // right 453 // right
454 bitBlt(&tilePix, 0, 0, pix, bx2-9, 10, 10, pix->height()-20); 454 bitBlt(&tilePix, 0, 0, pix, bx2-9, 10, 10, pix->height()-20);
455 bitBlt(&blendMask, 0, 0, pix->mask(), bx2-9, 10, 10, pix->height()-20); 455 bitBlt(&blendMask, 0, 0, pix->mask(), bx2-9, 10, 10, pix->height()-20);
456 tilePix.setMask(blendMask); 456 tilePix.setMask(blendMask);
457 p.drawTiledPixmap(x2-9, 10, 10, h-20, tilePix); 457 p.drawTiledPixmap(x2-9, 10, 10, h-20, tilePix);
458 458
459 p.end(); 459 p.end();
460 460
461 // do the button mask - we don't automask buttons 461 // do the button mask - we don't automask buttons
462 QBitmap btnMask(w, h); 462 QBitmap btnMask(w, h);
463 QBitmap *mask = isMasked ? &htmlBtnMaskBmp : &btnMaskBmp; 463 QBitmap *mask = isMasked ? &htmlBtnMaskBmp : &btnMaskBmp;
464 p.begin(&btnMask); 464 p.begin(&btnMask);
465 p.fillRect(0, 0, w, h, Qt::color0); 465 p.fillRect(0, 0, w, h, Qt::color0);
466 p.drawPixmap(0, 0, *mask, 0, 0, 10, 10); // tl 466 p.drawPixmap(0, 0, *mask, 0, 0, 10, 10); // tl
467 p.drawPixmap(x2-9, 0, *mask, bx2-9, 0, 10, 10); // tr 467 p.drawPixmap(x2-9, 0, *mask, bx2-9, 0, 10, 10); // tr
468 p.drawPixmap(0, y2-9, *mask, 0, by2-9, 10, 10); // bl 468 p.drawPixmap(0, y2-9, *mask, 0, by2-9, 10, 10); // bl
469 p.drawPixmap(x2-9, y2-9, *mask, bx2-9, by2-9, 10, 10); // br 469 p.drawPixmap(x2-9, y2-9, *mask, bx2-9, by2-9, 10, 10); // br
470 // fills 470 // fills
471 p.fillRect(10, 0, w-20, 10, Qt::color1); // top 471 p.fillRect(10, 0, w-20, 10, Qt::color1); // top
472 p.fillRect(10, y2-9, w-20, 10, Qt::color1); // bottom 472 p.fillRect(10, y2-9, w-20, 10, Qt::color1); // bottom
473 p.fillRect(0, 10, w, h-20, Qt::color1); // middle 473 p.fillRect(0, 10, w, h-20, Qt::color1); // middle
474 p.end(); 474 p.end();
475 tmpPix.setMask(btnMask); 475 tmpPix.setMask(btnMask);
476 /*if(autoDefault){ 476 /*if(autoDefault){
477 if(supportPushDown && pushedDown){ 477 if(supportPushDown && pushedDown){
478 painter->drawPixmap(x+3, y+3, tmpPix); 478 painter->drawPixmap(x+3, y+3, tmpPix);
479 } 479 }
480 else{ 480 else{
481 painter->drawPixmap(x+2, y+2, tmpPix); 481 painter->drawPixmap(x+2, y+2, tmpPix);
482 } 482 }
483 } 483 }
484 else */if(supportPushDown && pushedDown) 484 else */if(supportPushDown && pushedDown)
485 painter->drawPixmap(x+1, y+1, tmpPix); 485 painter->drawPixmap(x+1, y+1, tmpPix);
486 else 486 else
487 painter->drawPixmap(x, y, tmpPix); 487 painter->drawPixmap(x, y, tmpPix);
488 488
489 489
490 490
491} 491}
492 492
493 493
494QPixmap* LiquidStyle::processEmbedded(const char *label, int h, int s, int v, 494QPixmap* LiquidStyle::processEmbedded(const char *label, int h, int s, int v,
495 bool blend) 495 bool blend)
496{ 496{
497 QImage img(qembed_findImage(label)); 497 QImage img(qembed_findImage(label));
498 img.detach(); 498 img.detach();
499 if(img.isNull()){ // shouldn't happen, been tested 499 if(img.isNull()){ // shouldn't happen, been tested
500 qWarning("Invalid embedded label %s", label); 500 qWarning("Invalid embedded label %s", label);
501 return(NULL); 501 return(NULL);
502 } 502 }
503 if(img.depth() != 32) 503 if(img.depth() != 32)
504 img = img.convertDepth(32); 504 img = img.convertDepth(32);
505 unsigned int *data = (unsigned int *)img.bits(); 505 unsigned int *data = (unsigned int *)img.bits();
506 int total = img.width()*img.height(); 506 int total = img.width()*img.height();
507 int current; 507 int current;
508 QColor c; 508 QColor c;
509 int oldH, oldS, oldV; 509 int oldH, oldS, oldV;
510 int alpha; 510 int alpha;
511 if(v < 235) 511 if(v < 235)
512 v += 20; 512 v += 20;
513 else 513 else
514 v = 255; 514 v = 255;
515 float intensity = v/255.0; 515 float intensity = v/255.0;
516 516
517 for(current=0; current<total; ++current){ 517 for(current=0; current<total; ++current){
518 alpha = qAlpha(data[current]); 518 alpha = qAlpha(data[current]);
519 c.setRgb(data[current]); 519 c.setRgb(data[current]);
520 c.hsv(&oldH, &oldS, &oldV); 520 c.hsv(&oldH, &oldS, &oldV);
521 oldV = (int)(oldV*intensity); 521 oldV = (int)(oldV*intensity);
522 c.setHsv(h, s, oldV); 522 c.setHsv(h, s, oldV);
523 if(blend && alpha != 255 && alpha != 0){ 523 if(blend && alpha != 255 && alpha != 0){
524 float srcPercent = ((float)alpha)/255.0; 524 float srcPercent = ((float)alpha)/255.0;
525 float destPercent = 1.0-srcPercent; 525 float destPercent = 1.0-srcPercent;
526 oldH = (int)((srcPercent*h) + (destPercent*bH)); 526 oldH = (int)((srcPercent*h) + (destPercent*bH));
527 oldS = (int)((srcPercent*s) + (destPercent*bS)); 527 oldS = (int)((srcPercent*s) + (destPercent*bS));
528 oldV = (int)((srcPercent*oldV) + (destPercent*bV)); 528 oldV = (int)((srcPercent*oldV) + (destPercent*bV));
529 c.setHsv(oldH, oldS, oldV); 529 c.setHsv(oldH, oldS, oldV);
530 alpha = 255; 530 alpha = 255;
531 } 531 }
532 data[current] = qRgba(c.red(), c.green(), c.blue(), alpha); 532 data[current] = qRgba(c.red(), c.green(), c.blue(), alpha);
533 } 533 }
534 QPixmap *pix = new QPixmap; 534 QPixmap *pix = new QPixmap;
535 pix->convertFromImage(img); 535 pix->convertFromImage(img);
536 return(pix); 536 return(pix);
537} 537}
538 538
539 539
540 540
541 541
542QPixmap* LiquidStyle::getPixmap(BitmapData item) 542QPixmap* LiquidStyle::getPixmap(BitmapData item)
543{ 543{
544 544
545 if(pixmaps[item]) 545 if(pixmaps[item])
546 return(pixmaps[item]); 546 return(pixmaps[item]);
547 547
548 switch(item){ 548 switch(item){
549 case HTMLBtnBorder: 549 case HTMLBtnBorder:
550 pixmaps[HTMLBtnBorder] = processEmbedded("htmlbtnborder", btnH, btnS, btnV); 550 pixmaps[HTMLBtnBorder] = processEmbedded("htmlbtnborder", btnH, btnS, btnV);
551 break; 551 break;
552 case HTMLBtnBorderDown: 552 case HTMLBtnBorderDown:
553 pixmaps[HTMLBtnBorderDown] = processEmbedded("htmlbtnborder", btnHoverH, btnHoverS, btnHoverV); 553 pixmaps[HTMLBtnBorderDown] = processEmbedded("htmlbtnborder", btnHoverH, btnHoverS, btnHoverV);
554 break; 554 break;
555 555
556 case HTMLCB: 556 case HTMLCB:
557 pixmaps[HTMLCB] = processEmbedded("htmlcheckbox", bH, bS, bV); 557 pixmaps[HTMLCB] = processEmbedded("htmlcheckbox", bH, bS, bV);
558 break; 558 break;
559 case HTMLCBHover: 559 case HTMLCBHover:
560 pixmaps[HTMLCBHover] = processEmbedded("htmlcheckbox", btnHoverH, btnHoverS, btnHoverV); 560 pixmaps[HTMLCBHover] = processEmbedded("htmlcheckbox", btnHoverH, btnHoverS, btnHoverV);
561 break; 561 break;
562 case HTMLCBDown: 562 case HTMLCBDown:
563 pixmaps[HTMLCBDown] = processEmbedded("htmlcheckboxdown", btnH, btnS, btnV); 563 pixmaps[HTMLCBDown] = processEmbedded("htmlcheckboxdown", btnH, btnS, btnV);
564 break; 564 break;
565 case HTMLCBDownHover: 565 case HTMLCBDownHover:
566 pixmaps[HTMLCBDownHover] = processEmbedded("htmlcheckboxdown", btnHoverH, btnHoverS, btnHoverV); 566 pixmaps[HTMLCBDownHover] = processEmbedded("htmlcheckboxdown", btnHoverH, btnHoverS, btnHoverV);
567 break; 567 break;
568 568
569 case HTMLRadio: 569 case HTMLRadio:
570 pixmaps[HTMLRadio] = processEmbedded("htmlradio", bH, bS, bV); 570 pixmaps[HTMLRadio] = processEmbedded("htmlradio", bH, bS, bV);
571 break; 571 break;
572 case HTMLRadioHover: 572 case HTMLRadioHover:
573 pixmaps[HTMLRadioHover] = processEmbedded("htmlradio", btnHoverH, btnHoverS, btnHoverV); 573 pixmaps[HTMLRadioHover] = processEmbedded("htmlradio", btnHoverH, btnHoverS, btnHoverV);
574 break; 574 break;
575 case HTMLRadioDown: 575 case HTMLRadioDown:
576 pixmaps[HTMLRadioDown] = processEmbedded("htmlradiodown", btnH, btnS, btnV); 576 pixmaps[HTMLRadioDown] = processEmbedded("htmlradiodown", btnH, btnS, btnV);
577 break; 577 break;
578 case HTMLRadioDownHover: 578 case HTMLRadioDownHover:
579 pixmaps[HTMLRadioDownHover] = processEmbedded("htmlradiodown", btnHoverH, btnHoverS, btnHoverV); 579 pixmaps[HTMLRadioDownHover] = processEmbedded("htmlradiodown", btnHoverH, btnHoverS, btnHoverV);
580 break; 580 break;
581 581
582 case RadioOff: 582 case RadioOff:
583 pixmaps[RadioOff] = processEmbedded("radio", bH, bS, bV /*, true*/); 583 pixmaps[RadioOff] = processEmbedded("radio", bH, bS, bV /*, true*/);
584 break; 584 break;
585 case RadioOffHover: 585 case RadioOffHover:
586 pixmaps[RadioOffHover] = processEmbedded("radio", btnHoverH, btnHoverS, btnHoverV /*, true*/); 586 pixmaps[RadioOffHover] = processEmbedded("radio", btnHoverH, btnHoverS, btnHoverV /*, true*/);
587 break; 587 break;
588 case RadioOn: 588 case RadioOn:
589 pixmaps[RadioOn] = processEmbedded("radio_down", btnH, btnS, btnV /*, true*/); 589 pixmaps[RadioOn] = processEmbedded("radio_down", btnH, btnS, btnV /*, true*/);
590 break; 590 break;
591 case RadioOnHover: 591 case RadioOnHover:
592 pixmaps[RadioOnHover] = processEmbedded("radio_down", btnHoverH, btnHoverS, btnHoverV /*, true*/); 592 pixmaps[RadioOnHover] = processEmbedded("radio_down", btnHoverH, btnHoverS, btnHoverV /*, true*/);
593 break; 593 break;
594 594
595 case Tab: 595 case Tab:
596 pixmaps[Tab] = processEmbedded("tab", bH, bS, bV /*, true*/); 596 pixmaps[Tab] = processEmbedded("tab", bH, bS, bV /*, true*/);
597 break; 597 break;
598 case TabDown: 598 case TabDown:
599 pixmaps[TabDown] = processEmbedded("tab", btnH, btnS, btnV /*, true*/); 599 pixmaps[TabDown] = processEmbedded("tab", btnH, btnS, btnV /*, true*/);
600 break; 600 break;
601 case TabFocus: 601 case TabFocus:
602 pixmaps[TabFocus] = processEmbedded("tab", btnHoverH, btnHoverS, btnHoverV /*, true*/); 602 pixmaps[TabFocus] = processEmbedded("tab", btnHoverH, btnHoverS, btnHoverV /*, true*/);
603 break; 603 break;
604 604
605 case CB: 605 case CB:
606 pixmaps[CB] = processEmbedded("checkbox", bH, bS, bV /*, true*/); 606 pixmaps[CB] = processEmbedded("checkbox", bH, bS, bV /*, true*/);
607 break; 607 break;
608 case CBHover: 608 case CBHover:
609 pixmaps[CBHover] = processEmbedded("checkbox", btnHoverH, btnHoverS, btnHoverV /*, true*/); 609 pixmaps[CBHover] = processEmbedded("checkbox", btnHoverH, btnHoverS, btnHoverV /*, true*/);
610 break; 610 break;
611 case CBDown: 611 case CBDown:
612 pixmaps[CBDown] = processEmbedded("checkboxdown", btnH, btnS, btnV /*, true*/); 612 pixmaps[CBDown] = processEmbedded("checkboxdown", btnH, btnS, btnV /*, true*/);
613 break; 613 break;
614 case CBDownHover: 614 case CBDownHover:
615 pixmaps[CBDownHover] = processEmbedded("checkboxdown", btnHoverH, btnHoverS, btnHoverV /*, true*/); 615 pixmaps[CBDownHover] = processEmbedded("checkboxdown", btnHoverH, btnHoverS, btnHoverV /*, true*/);
616 break; 616 break;
617 617
618 case VSlider: 618 case VSlider:
619 pixmaps[VSlider] = processEmbedded("sliderarrow", btnH, btnS, btnV, true ); 619 pixmaps[VSlider] = processEmbedded("sliderarrow", btnH, btnS, btnV, true );
620 *pixmaps[VSlider] = pixmaps[VSlider]->xForm(rMatrix); 620 *pixmaps[VSlider] = pixmaps[VSlider]->xForm(rMatrix);
621 break; 621 break;
622 case VSBSliderTop: 622 case VSBSliderTop:
623 case VSBSliderTopHover: 623 case VSBSliderTopHover:
624 pixmaps[item] = processEmbedded("sbslider_top", btnH, btnS, btnV /*, true*/); 624 pixmaps[item] = processEmbedded("sbslider_top", btnH, btnS, btnV /*, true*/);
625 break; 625 break;
626 case VSBSliderBtm: 626 case VSBSliderBtm:
627 case VSBSliderBtmHover: 627 case VSBSliderBtmHover:
628 pixmaps[item] = processEmbedded("sbslider_btm", btnH, btnS, btnV /*, true*/); 628 pixmaps[item] = processEmbedded("sbslider_btm", btnH, btnS, btnV /*, true*/);
629 break; 629 break;
630 case VSBSliderMid: 630 case VSBSliderMid:
631 case VSBSliderMidHover: 631 case VSBSliderMidHover:
632 pixmaps[item] = processEmbedded("sbslider_mid", btnH, btnS, btnV); 632 pixmaps[item] = processEmbedded("sbslider_mid", btnH, btnS, btnV);
633 break; 633 break;
634 case VSBSliderTopBg: 634 case VSBSliderTopBg:
635 pixmaps[VSBSliderTopBg] = processEmbedded("sbslider_top", bH, bS, bV /*, true*/); 635 pixmaps[VSBSliderTopBg] = processEmbedded("sbslider_top", bH, bS, bV /*, true*/);
636 break; 636 break;
637 case VSBSliderBtmBg: 637 case VSBSliderBtmBg:
638 pixmaps[VSBSliderBtmBg] = processEmbedded("sbslider_btm", bH, bS, bV /*, true*/); 638 pixmaps[VSBSliderBtmBg] = processEmbedded("sbslider_btm", bH, bS, bV /*, true*/);
639 break; 639 break;
640 case VSBSliderMidBg: 640 case VSBSliderMidBg:
641 pixmaps[VSBSliderMidBg] = processEmbedded("sbslider_mid", bH, bS, bV); 641 pixmaps[VSBSliderMidBg] = processEmbedded("sbslider_mid", bH, bS, bV);
642 break; 642 break;
643 643
644 case HSlider: 644 case HSlider:
645 pixmaps[HSlider] = processEmbedded("sliderarrow", btnH, btnS, btnV /*, true*/); 645 pixmaps[HSlider] = processEmbedded("sliderarrow", btnH, btnS, btnV /*, true*/);
646 break; 646 break;
647 case HSBSliderTop: 647 case HSBSliderTop:
648 case HSBSliderTopHover: 648 case HSBSliderTopHover:
649 pixmaps[item] = processEmbedded("sbslider_top", btnH, btnS, btnV, true ); 649 pixmaps[item] = processEmbedded("sbslider_top", btnH, btnS, btnV, true );
650 *pixmaps[item] = pixmaps[item]->xForm(rMatrix); 650 *pixmaps[item] = pixmaps[item]->xForm(rMatrix);
651 break; 651 break;
652 case HSBSliderBtm: 652 case HSBSliderBtm:
653 case HSBSliderBtmHover: 653 case HSBSliderBtmHover:
654 pixmaps[item] = processEmbedded("sbslider_btm", btnH, btnS, btnV, true ); 654 pixmaps[item] = processEmbedded("sbslider_btm", btnH, btnS, btnV, true );
655 *pixmaps[item] = pixmaps[item]->xForm(rMatrix); 655 *pixmaps[item] = pixmaps[item]->xForm(rMatrix);
656 break; 656 break;
657 case HSBSliderMid: 657 case HSBSliderMid:
658 case HSBSliderMidHover: 658 case HSBSliderMidHover:
659 pixmaps[item] = processEmbedded("sbslider_mid", btnH, btnS, btnV); 659 pixmaps[item] = processEmbedded("sbslider_mid", btnH, btnS, btnV);
660 *pixmaps[item] = pixmaps[item]->xForm(rMatrix); 660 *pixmaps[item] = pixmaps[item]->xForm(rMatrix);
661 break; 661 break;
662 case HSBSliderTopBg: 662 case HSBSliderTopBg:
663 pixmaps[HSBSliderTopBg] = processEmbedded("sbslider_top", bH, bS, bV, true ); 663 pixmaps[HSBSliderTopBg] = processEmbedded("sbslider_top", bH, bS, bV, true );
664 *pixmaps[HSBSliderTopBg] = pixmaps[HSBSliderTopBg]->xForm(rMatrix); 664 *pixmaps[HSBSliderTopBg] = pixmaps[HSBSliderTopBg]->xForm(rMatrix);
665 break; 665 break;
666 case HSBSliderBtmBg: 666 case HSBSliderBtmBg:
667 pixmaps[HSBSliderBtmBg] = processEmbedded("sbslider_btm", bH, bS, bV, true ); 667 pixmaps[HSBSliderBtmBg] = processEmbedded("sbslider_btm", bH, bS, bV, true );
668 *pixmaps[HSBSliderBtmBg] = pixmaps[HSBSliderBtmBg]->xForm(rMatrix); 668 *pixmaps[HSBSliderBtmBg] = pixmaps[HSBSliderBtmBg]->xForm(rMatrix);
669 break; 669 break;
670 case HSBSliderMidBg: 670 case HSBSliderMidBg:
671 pixmaps[HSBSliderMidBg] = processEmbedded("sbslider_mid", bH, bS, bV); 671 pixmaps[HSBSliderMidBg] = processEmbedded("sbslider_mid", bH, bS, bV);
672 *pixmaps[HSBSliderMidBg] = pixmaps[HSBSliderMidBg]->xForm(rMatrix); 672 *pixmaps[HSBSliderMidBg] = pixmaps[HSBSliderMidBg]->xForm(rMatrix);
673 break; 673 break;
674 default: 674 default:
675 break; 675 break;
676 } 676 }
677 return(pixmaps[item]); 677 return(pixmaps[item]);
678} 678}
679 679
680void LiquidStyle::polish(QPalette &appPal) 680void LiquidStyle::polish(QPalette &appPal)
681{ 681{
682 int i; 682 int i;
683 for(i=0; i < BITMAP_ITEMS; ++i){ 683 for(i=0; i < BITMAP_ITEMS; ++i){
684 if(pixmaps[i]){ 684 if(pixmaps[i]){
685 delete pixmaps[i]; 685 delete pixmaps[i];
686 pixmaps[i] = NULL; 686 pixmaps[i] = NULL;
687 } 687 }
688 } 688 }
689 lowLightVal = 100 + (2* /*KGlobalSettings::contrast()*/ 3 +4)*10; 689 lowLightVal = 100 + (2* /*KGlobalSettings::contrast()*/ 3 +4)*10;
690 btnDict.clear(); 690 btnDict.clear();
691 btnBorderDict.clear(); 691 btnBorderDict.clear();
692 bevelFillDict.clear(); 692 bevelFillDict.clear();
693 smallBevelFillDict.clear(); 693 smallBevelFillDict.clear();
694 694
695 Config config ( "qpe" ); 695 Config config ( "qpe" );
696 config. setGroup ( "Liquid-Style" ); 696 config. setGroup ( "Liquid-Style" );
697 int contrast = config. readNumEntry ( "StippleContrast", 5 ); 697 int contrast = config. readNumEntry ( "StippleContrast", 5 );
698 if ( contrast < 0 ) 698 if ( contrast < 0 )
699 contrast = 0; 699 contrast = 0;
700 else if ( contrast > 10 ) 700 else if ( contrast > 10 )
701 contrast = 10; 701 contrast = 10;
702 702
703// QPalette pal = QApplication::palette(); 703// QPalette pal = QApplication::palette();
704 704
705 // button color stuff 705 // button color stuff
706 config. setGroup ( "Appearance" ); 706 config. setGroup ( "Appearance" );
707 QColor c = oldqte ? QColor ( config. readEntry("Button", ( Qt::lightGray ). name ( ))) 707 QColor c = oldqte ? QColor ( config. readEntry("Button", ( Qt::lightGray ). name ( )))
708 : appPal. color ( QPalette::Active, QColorGroup::Button ); 708 : appPal. color ( QPalette::Active, QColorGroup::Button );
709 if ( c == ( oldqte ? QColor ( config. readEntry ( "background", ( Qt::lightGray ). name ( ))) 709 if ( c == ( oldqte ? QColor ( config. readEntry ( "background", ( Qt::lightGray ). name ( )))
710 : appPal. color ( QPalette::Active, QColorGroup::Background ))) { 710 : appPal. color ( QPalette::Active, QColorGroup::Background ))) {
711 // force button color to be different from background 711 // force button color to be different from background
712 QBrush btnBrush(QColor(200, 202, 228)); 712 QBrush btnBrush(QColor(200, 202, 228));
713 appPal.setBrush(QColorGroup::Button, btnBrush); 713 appPal.setBrush(QColorGroup::Button, btnBrush);
714 } 714 }
715 c.hsv(&btnH, &btnS, &btnV); 715 c.hsv(&btnH, &btnS, &btnV);
716 c.light(120).hsv(&btnHoverH, &btnHoverS, &btnHoverV); 716 c.light(120).hsv(&btnHoverH, &btnHoverS, &btnHoverV);
717 717
718 // menu pixmap 718 // menu pixmap
719 if(!menuPix){ 719 if(!menuPix){
720 menuPix = new QPixmap; 720 menuPix = new QPixmap;
721 menuPix->resize(64, 64); 721 menuPix->resize(64, 64);
722 } 722 }
723 QPainter painter; 723 QPainter painter;
724 menuPix->fill(c.rgb()); 724 menuPix->fill(c.rgb());
725 painter.begin(menuPix); 725 painter.begin(menuPix);
726 painter.setPen(c.dark(105)); 726 painter.setPen(c.dark(105));
727 for(i=0; i < 63; i+=4){ 727 for(i=0; i < 63; i+=4){
728 painter.drawLine(0, i, 63, i); 728 painter.drawLine(0, i, 63, i);
729 painter.drawLine(0, i+1, 63, i+1); 729 painter.drawLine(0, i+1, 63, i+1);
730 }; 730 };
731 painter.end(); 731 painter.end();
732 menuBrush.setColor(c); 732 menuBrush.setColor(c);
733 menuBrush.setPixmap(*menuPix); 733 menuBrush.setPixmap(*menuPix);
734 734
735 // pager brush 735 // pager brush
736 c = c.dark(120); 736 c = c.dark(120);
737 QPixmap *pix = smallBevelFillDict.find(c.rgb()); // better be NULL ;-) 737 QPixmap *pix = smallBevelFillDict.find(c.rgb()); // better be NULL ;-)
738 if(!pix){ 738 if(!pix){
739 int h, s, v; 739 int h, s, v;
740 c.hsv(&h, &s, &v); 740 c.hsv(&h, &s, &v);
741 pix = new QPixmap(*smallBevelFillPix); 741 pix = new QPixmap(*smallBevelFillPix);
742 adjustHSV(*pix, h, s, v); 742 adjustHSV(*pix, h, s, v);
743 smallBevelFillDict.insert(c.rgb(), pix); 743 smallBevelFillDict.insert(c.rgb(), pix);
744 } 744 }
745// pagerHoverBrush.setColor(c); 745// pagerHoverBrush.setColor(c);
746// pagerHoverBrush.setPixmap(*pix); 746// pagerHoverBrush.setPixmap(*pix);
747 747
748 c = c.dark(120); 748 c = c.dark(120);
749 pix = smallBevelFillDict.find(c.rgb()); // better be NULL ;-) 749 pix = smallBevelFillDict.find(c.rgb()); // better be NULL ;-)
750 if(!pix){ 750 if(!pix){
751 int h, s, v; 751 int h, s, v;
752 c.hsv(&h, &s, &v); 752 c.hsv(&h, &s, &v);
753 pix = new QPixmap(*smallBevelFillPix); 753 pix = new QPixmap(*smallBevelFillPix);
754 adjustHSV(*pix, h, s, v); 754 adjustHSV(*pix, h, s, v);
755 smallBevelFillDict.insert(c.rgb(), pix); 755 smallBevelFillDict.insert(c.rgb(), pix);
756 } 756 }
757// pagerBrush.setColor(c); 757// pagerBrush.setColor(c);
758// pagerBrush.setPixmap(*pix); 758// pagerBrush.setPixmap(*pix);
759 759
760 // background color stuff 760 // background color stuff
761 c = oldqte ? QColor ( config. readEntry ( "Background", ( Qt::lightGray ).name ( ))) 761 c = oldqte ? QColor ( config. readEntry ( "Background", ( Qt::lightGray ).name ( )))
762 : appPal. color ( QPalette::Active, QColorGroup::Background ); 762 : appPal. color ( QPalette::Active, QColorGroup::Background );
763 763
764 c.hsv(&bH, &bS, &bV); 764 c.hsv(&bH, &bS, &bV);
765 c.light(120).hsv(&bHoverH, &bHoverS, &bHoverV); 765 c.light(120).hsv(&bHoverH, &bHoverS, &bHoverV);
766 766
767 // FIXME? 767 // FIXME?
768 if(vsbSliderFillPix) 768 if(vsbSliderFillPix)
769 delete vsbSliderFillPix; 769 delete vsbSliderFillPix;
770 vsbSliderFillPix = new QPixmap(bevelFillPix->xForm(rMatrix)); 770 vsbSliderFillPix = new QPixmap(bevelFillPix->xForm(rMatrix));
771 adjustHSV(*vsbSliderFillPix, bH, bS, bV); 771 adjustHSV(*vsbSliderFillPix, bH, bS, bV);
772 772
773 // background brush 773 // background brush
774 QPixmap wallPaper(32, 32); 774 QPixmap wallPaper(32, 32);
775 wallPaper.fill(c.rgb()); 775 wallPaper.fill(c.rgb());
776 painter.begin(&wallPaper); 776 painter.begin(&wallPaper);
777 for(i=0; i < 32; i+=4){ 777 for(i=0; i < 32; i+=4){
778 painter.setPen(c.dark(100 + contrast)); 778 painter.setPen(c.dark(100 + contrast));
779 painter.drawLine(0, i, 32, i); 779 painter.drawLine(0, i, 32, i);
780 painter.setPen(c.dark(100 + 3 * contrast / 5 ) ); 780 painter.setPen(c.dark(100 + 3 * contrast / 5 ) );
781 painter.drawLine(0, i+1, 32, i+1); 781 painter.drawLine(0, i+1, 32, i+1);
782 }; 782 };
783 painter.end(); 783 painter.end();
784 bgBrush.setColor(c); 784 bgBrush.setColor(c);
785 bgBrush.setPixmap(wallPaper); 785 bgBrush.setPixmap(wallPaper);
786 appPal.setBrush(QColorGroup::Background, bgBrush); 786 appPal.setBrush(QColorGroup::Background, bgBrush);
787} 787}
788 788
789void LiquidStyle::polish(QWidget *w) 789void LiquidStyle::polish(QWidget *w)
790{ 790{
791 if(w->inherits("QMenuBar")){ 791 if(w->inherits("QMenuBar")){
792 //((QFrame*)w)->setLineWidth(0); 792 //((QFrame*)w)->setLineWidth(0);
793 w->setBackgroundMode(QWidget::PaletteBackground); 793 w->setBackgroundMode(QWidget::PaletteBackground);
794 w->setBackgroundOrigin(QWidget::ParentOrigin); 794 w->setBackgroundOrigin(QWidget::ParentOrigin);
795 return; 795 return;
796 } 796 }
797 if(w->inherits("QToolBar")){ 797 if(w->inherits("QToolBar")){
798 w->installEventFilter(this); 798 w->installEventFilter(this);
799 w->setBackgroundMode(QWidget::PaletteBackground); 799 w->setBackgroundMode(QWidget::PaletteBackground);
800 w->setBackgroundOrigin(QWidget::WidgetOrigin); 800 w->setBackgroundOrigin(QWidget::WidgetOrigin);
801 return; 801 return;
802 } 802 }
803 if(w->inherits("QPopupMenu")) 803 if(w->inherits("QPopupMenu"))
804 w->setBackgroundMode(QWidget::NoBackground); 804 w->setBackgroundMode(QWidget::NoBackground);
805 else if(w-> testWFlags(Qt::WType_Popup) && 805 else if(w-> testWFlags(Qt::WType_Popup) &&
806 !w->inherits("QListBox") && 806 !w->inherits("QListBox") &&
807 ( qstrcmp ( w-> name(), "automatic what's this? widget" ) != 0 )) { 807 ( qstrcmp ( w-> name(), "automatic what's this? widget" ) != 0 )) {
808 w->installEventFilter(menuHandler); 808 w->installEventFilter(menuHandler);
809 } 809 }
810 810
811 if(w->isTopLevel()){ 811 if(w->isTopLevel()){
812 return; 812 return;
813 } 813 }
814 814
815 if(w->inherits("QRadioButton") || w->inherits("QCheckBox") || w->inherits("QProgressBar")) { 815 if(w->inherits("QRadioButton") || w->inherits("QCheckBox") || w->inherits("QProgressBar")) {
816 w->installEventFilter(this); 816 w->installEventFilter(this);
817 } 817 }
818 818
819 if(w->inherits("QButton") || w-> inherits("QComboBox")){ 819 if(w->inherits("QButton") || w-> inherits("QComboBox")){
820 w-> setBackgroundMode ( QWidget::PaletteBackground ); 820 w-> setBackgroundMode ( QWidget::PaletteBackground );
821 w->setBackgroundOrigin ( QWidget::ParentOrigin); 821 w->setBackgroundOrigin ( QWidget::ParentOrigin);
822 } 822 }
823 823
824 bool isViewport = qstrcmp(w->name(), "qt_viewport") == 0 || 824 bool isViewport = qstrcmp(w->name(), "qt_viewport") == 0 ||
825 qstrcmp(w->name(), "qt_clipped_viewport") == 0; 825 qstrcmp(w->name(), "qt_clipped_viewport") == 0;
826 bool isViewportChild = w->parent() && 826 bool isViewportChild = w->parent() &&
827 ((qstrcmp(w->parent()->name(), "qt_viewport") == 0) || 827 ((qstrcmp(w->parent()->name(), "qt_viewport") == 0) ||
828 (qstrcmp(w->parent()->name(), "qt_clipped_viewport") == 0)); 828 (qstrcmp(w->parent()->name(), "qt_clipped_viewport") == 0));
829 829
830 if(isViewport && w->parent() && qstrcmp(w->parent()->name(), "proxyview") == 0){ 830 if(isViewport && w->parent() && qstrcmp(w->parent()->name(), "proxyview") == 0){
831 w->setBackgroundMode(QWidget::X11ParentRelative); 831 w->setBackgroundMode(QWidget::X11ParentRelative);
832 return; 832 return;
833 } 833 }
834 if(isViewportChild){ 834 if(isViewportChild){
835 if(w->inherits("QButton") || w->inherits("QComboBox")){ 835 if(w->inherits("QButton") || w->inherits("QComboBox")){
836 if(w->parent()){ // heh, only way to test for KHTML children ;-) 836 if(w->parent()){ // heh, only way to test for KHTML children ;-)
837 if(w->parent()->parent()){ 837 if(w->parent()->parent()){
838 if(w->parent()->parent()->parent() && 838 if(w->parent()->parent()->parent() &&
839 w->parent()->parent()->parent()->inherits("KHTMLView")){ 839 w->parent()->parent()->parent()->inherits("KHTMLView")){
840 w->setAutoMask(true); 840 w->setAutoMask(true);
841 w->setBackgroundMode(QWidget::NoBackground); 841 w->setBackgroundMode(QWidget::NoBackground);
842 } 842 }
843 } 843 }
844 } 844 }
845 return; 845 return;
846 } 846 }
847 } 847 }
848 if(w->inherits("QHeader")){ 848 if(w->inherits("QHeader")){
849 w->setMouseTracking(true); 849 w->setMouseTracking(true);
850 w->installEventFilter(this); 850 w->installEventFilter(this);
851 } 851 }
852 if(w-> inherits("QToolButton")) { 852 if(w-> inherits("QToolButton")) {
853 if (w->parent()->inherits("QToolBar")) { 853 if (w->parent()->inherits("QToolBar")) {
854 ((QToolButton*)w)->setAutoRaise (flatTBButtons); 854 ((QToolButton*)w)->setAutoRaise (flatTBButtons);
855 if ( flatTBButtons ) 855 if ( flatTBButtons )
856 w->setBackgroundOrigin(QWidget::ParentOrigin); 856 w->setBackgroundOrigin(QWidget::ParentOrigin);
857 } 857 }
858 w-> installEventFilter ( this ); 858 w-> installEventFilter ( this );
859 } 859 }
860 if(w-> inherits("QToolBarSeparator")&&w->parent()->inherits("QToolBar")) { 860 if(w-> inherits("QToolBarSeparator")&&w->parent()->inherits("QToolBar")) {
861 ((QFrame *) w)-> setFrameShape ( QFrame::NoFrame ); 861 ((QFrame *) w)-> setFrameShape ( QFrame::NoFrame );
862 } 862 }
863 if(w->ownPalette() && !w->inherits("QButton") && !w->inherits("QComboBox")){ 863 if(w->ownPalette() && !w->inherits("QButton") && !w->inherits("QComboBox")){
864 return; 864 return;
865 } 865 }
866 866
867 if(w->parent() && w->parent()->isWidgetType() && !((QWidget*)w->parent())-> 867 if(w->parent() && w->parent()->isWidgetType() && !((QWidget*)w->parent())->
868 palette().active().brush(QColorGroup::Background).pixmap()){ 868 palette().active().brush(QColorGroup::Background).pixmap()){
869 qWarning("No parent pixmap for child widget %s", w->className()); 869 qWarning("No parent pixmap for child widget %s", w->className());
870 return; 870 return;
871 } 871 }
872 if(!isViewport && !isViewportChild && !w->testWFlags(WType_Popup) && 872 if(!isViewport && !isViewportChild && !w->testWFlags(WType_Popup) &&
873 !( !w-> inherits("QLineEdit") && w-> parent() && w-> parent()-> isWidgetType ( ) && w-> parent()-> inherits ( "QMultiLineEdit" ))) { 873 !( !w-> inherits("QLineEdit") && w-> parent() && w-> parent()-> isWidgetType ( ) && w-> parent()-> inherits ( "QMultiLineEdit" ))) {
874 if(w->backgroundMode() == QWidget::PaletteBackground || 874 if(w->backgroundMode() == QWidget::PaletteBackground ||
875 w->backgroundMode() == QWidget::PaletteButton){ 875 w->backgroundMode() == QWidget::PaletteButton){
876 w->setBackgroundMode(w->parentWidget()->backgroundMode( )/*QWidget::X11ParentRelative*/); 876 w->setBackgroundMode(w->parentWidget()->backgroundMode( )/*QWidget::X11ParentRelative*/);
877 w->setBackgroundOrigin(QWidget::ParentOrigin); 877 w->setBackgroundOrigin(QWidget::ParentOrigin);
878 // w->setBackgroundMode(QWidget::NoBackground); 878 // w->setBackgroundMode(QWidget::NoBackground);
879 } 879 }
880 } 880 }
881 if ( !w-> inherits("QFrame") || (((QFrame*) w)-> frameShape () == QFrame::NoFrame )) 881 if ( !w-> inherits("QFrame") || (((QFrame*) w)-> frameShape () == QFrame::NoFrame ))
882 w-> setBackgroundOrigin ( QWidget::ParentOrigin ); 882 w-> setBackgroundOrigin ( QWidget::ParentOrigin );
883 else if ( w-> inherits("QFrame") ) 883 else if ( w-> inherits("QFrame") )
884 w->setBackgroundOrigin ( QWidget::WidgetOrigin ); 884 w->setBackgroundOrigin ( QWidget::WidgetOrigin );
885 885
886 if ( w->parentWidget()->inherits ( "QWidgetStack" )) { 886 if ( w->parentWidget()->inherits ( "QWidgetStack" )) {
887 w->setBackgroundOrigin ( QWidget::WidgetOrigin ); 887 w->setBackgroundOrigin ( QWidget::WidgetOrigin );
888 } 888 }
889} 889}
890 890
891void LiquidStyle::unPolish(QWidget *w) 891void LiquidStyle::unPolish(QWidget *w)
892{ 892{
893 if(w->inherits("QMenuBar")){ 893 if(w->inherits("QMenuBar")){
894 ((QFrame *)w)->setLineWidth(1); 894 ((QFrame *)w)->setLineWidth(1);
895 w->setBackgroundMode(QWidget::PaletteBackground); 895 w->setBackgroundMode(QWidget::PaletteBackground);
896 return; 896 return;
897 } 897 }
898 898
899 if(w->inherits("QPopupMenu")) 899 if(w->inherits("QPopupMenu"))
900 w->setBackgroundMode(QWidget::PaletteButton); 900 w->setBackgroundMode(QWidget::PaletteButton);
901 else if(w-> testWFlags(Qt::WType_Popup) && 901 else if(w-> testWFlags(Qt::WType_Popup) &&
902 !w->inherits("QListBox") && 902 !w->inherits("QListBox") &&
903 ( qstrcmp ( w-> name(), "automatic what's this? widget" ) != 0 )) { 903 ( qstrcmp ( w-> name(), "automatic what's this? widget" ) != 0 )) {
904 w->removeEventFilter(menuHandler); 904 w->removeEventFilter(menuHandler);
905 } 905 }
906 906
907 if(w->isTopLevel()) 907 if(w->isTopLevel())
908 return; 908 return;
909 909
910 // for viewport children, don't just check for NoBackground.... 910 // for viewport children, don't just check for NoBackground....
911 bool isViewportChild = w->parent() && 911 bool isViewportChild = w->parent() &&
912 ((qstrcmp(w->parent()->name(), "qt_viewport") == 0) || 912 ((qstrcmp(w->parent()->name(), "qt_viewport") == 0) ||
913 (qstrcmp(w->parent()->name(), "qt_clipped_viewport") == 0)); 913 (qstrcmp(w->parent()->name(), "qt_clipped_viewport") == 0));
914 914
915 w->unsetPalette(); 915 w->unsetPalette();
916 if(w->backgroundMode() == QWidget::X11ParentRelative || isViewportChild){ 916 if(w->backgroundMode() == QWidget::X11ParentRelative || isViewportChild){
917 if(w->inherits("QPushButton")) 917 if(w->inherits("QPushButton"))
918 w->setBackgroundMode(QWidget::PaletteButton); 918 w->setBackgroundMode(QWidget::PaletteButton);
919 else 919 else
920 w->setBackgroundMode(QWidget::PaletteBackground); 920 w->setBackgroundMode(QWidget::PaletteBackground);
921 } 921 }
922 922
923 if(isViewportChild) 923 if(isViewportChild)
924 w->setAutoMask(false); 924 w->setAutoMask(false);
925 925
926/* 926/*
927 if(w->inherits("QPushButton") || w-> inherits("QComboBox")){ 927 if(w->inherits("QPushButton") || w-> inherits("QComboBox")){
928 w-> setBackgroundMode ( PaletteBackground ); 928 w-> setBackgroundMode ( PaletteBackground );
929 } 929 }
930*/ 930*/
931 if( w->inherits("QRadioButton") || w->inherits("QCheckBox") || w->inherits("QProgressBar")) { 931 if( w->inherits("QRadioButton") || w->inherits("QCheckBox") || w->inherits("QProgressBar")) {
932 w->removeEventFilter(this); 932 w->removeEventFilter(this);
933 } 933 }
934 if(w->inherits("QButton") || w->inherits("QComboBox")){ 934 if(w->inherits("QButton") || w->inherits("QComboBox")){
935 if(w->parent() && w->parent()->inherits("KHTMLPart")){ 935 if(w->parent() && w->parent()->inherits("KHTMLPart")){
936 w->setAutoMask(false); 936 w->setAutoMask(false);
937 } 937 }
938 } 938 }
939 if(w-> inherits("QToolButton")) { 939 if(w-> inherits("QToolButton")) {
940 w-> removeEventFilter ( this ); 940 w-> removeEventFilter ( this );
941 } 941 }
942 if(w->inherits("QToolBar")){ 942 if(w->inherits("QToolBar")){
943 w->removeEventFilter(this); 943 w->removeEventFilter(this);
944 w->setBackgroundMode(QWidget::PaletteBackground); 944 w->setBackgroundMode(QWidget::PaletteBackground);
945 return; 945 return;
946 } 946 }
947 if(w->inherits("QHeader")){ 947 if(w->inherits("QHeader")){
948 w->setMouseTracking(false); 948 w->setMouseTracking(false);
949 w->removeEventFilter(this); 949 w->removeEventFilter(this);
950 } 950 }
951} 951}
952 952
953void LiquidStyle::polish(QApplication *app) 953void LiquidStyle::polish(QApplication *app)
954{ 954{
955 955
956 QWindowsStyle::polish(app); 956 QWindowsStyle::polish(app);
957 menuAni = app->isEffectEnabled(UI_AnimateMenu); 957 menuAni = app->isEffectEnabled(UI_AnimateMenu);
958 menuFade = app->isEffectEnabled(UI_FadeMenu); 958 menuFade = app->isEffectEnabled(UI_FadeMenu);
959 if(menuAni) 959 if(menuAni)
960 app->setEffectEnabled(UI_AnimateMenu, false); 960 app->setEffectEnabled(UI_AnimateMenu, false);
961 if(menuFade) 961 if(menuFade)
962 app->setEffectEnabled(UI_FadeMenu, false); 962 app->setEffectEnabled(UI_FadeMenu, false);
963 963
964 qt_set_draw_menu_bar_impl((QDrawMenuBarItemImpl) &LiquidStyle::drawMenuBarItem); 964 qt_set_draw_menu_bar_impl((QDrawMenuBarItemImpl) &LiquidStyle::drawMenuBarItem);
965 965
966 Config config ( "qpe" ); 966 Config config ( "qpe" );
967 config. setGroup ( "Liquid-Style" ); 967 config. setGroup ( "Liquid-Style" );
968 968
969 // if ( config. readBoolEntry ( "WinDecoration", true )) 969 // if ( config. readBoolEntry ( "WinDecoration", true ))
970 // QApplication::qwsSetDecoration ( new LiquidDecoration ( )); 970 // QApplication::qwsSetDecoration ( new LiquidDecoration ( ));
971 971
972 flatTBButtons = config. readBoolEntry ( "FlatToolButtons", false ); 972 flatTBButtons = config. readBoolEntry ( "FlatToolButtons", false );
973} 973}
974 974
975void LiquidStyle::unPolish(QApplication *app) 975void LiquidStyle::unPolish(QApplication *app)
976{ 976{
977 QWindowsStyle::unPolish(app); 977 QWindowsStyle::unPolish(app);
978 app->setEffectEnabled(UI_AnimateMenu, menuAni); 978 app->setEffectEnabled(UI_AnimateMenu, menuAni);
979 app->setEffectEnabled(UI_FadeMenu, menuFade); 979 app->setEffectEnabled(UI_FadeMenu, menuFade);
980 980
981 qt_set_draw_menu_bar_impl ( 0 ); 981 qt_set_draw_menu_bar_impl ( 0 );
982 982
983// QApplication::qwsSetDecoration ( new QPEDecoration ( )); 983// QApplication::qwsSetDecoration ( new QPEDecoration ( ));
984} 984}
985 985
986 986
987/* !! HACK !! Beware 987/* !! HACK !! Beware
988 * 988 *
989 * TT forgot to make the QProgressBar widget styleable in Qt 2.x 989 * TT forgot to make the QProgressBar widget styleable in Qt 2.x
990 * So the only way to customize the drawing, is to intercept the 990 * So the only way to customize the drawing, is to intercept the
991 * paint event - since we have to use protected functions, we need 991 * paint event - since we have to use protected functions, we need
992 * to derive a "hack" class from QProgressBar and do the painting 992 * to derive a "hack" class from QProgressBar and do the painting
993 * in there. 993 * in there.
994 * 994 *
995 * - sandman 995 * - sandman
996 */ 996 */
997 997
998class HackProgressBar : public QProgressBar { 998class HackProgressBar : public QProgressBar {
999public: 999public:
1000 HackProgressBar ( ); 1000 HackProgressBar ( );
1001 1001
1002 void paint ( QPaintEvent *event, const QColorGroup &g, QPixmap *pix ) 1002 void paint ( QPaintEvent *event, const QColorGroup &g, QPixmap *pix )
1003 { 1003 {
1004 QPainter p( this ); 1004 QPainter p( this );
1005 1005
1006 if ( !contentsRect().contains( event->rect() ) ) { 1006 if ( !contentsRect().contains( event->rect() ) ) {
1007 p.save(); 1007 p.save();
1008 p.setClipRegion( event->region().intersect(frameRect()) ); 1008 p.setClipRegion( event->region().intersect(frameRect()) );
1009 drawFrame( &p); 1009 drawFrame( &p);
1010 p.restore(); 1010 p.restore();
1011 } 1011 }
1012 if ( event->rect().intersects( contentsRect() )) { 1012 if ( event->rect().intersects( contentsRect() )) {
1013 p.setClipRegion( event->region().intersect( contentsRect() ) ); 1013 p.setClipRegion( event->region().intersect( contentsRect() ) );
1014 1014
1015 int x, y, w, h; 1015 int x, y, w, h;
1016 contentsRect ( ). rect ( &x, &y, &w, &h ); 1016 contentsRect ( ). rect ( &x, &y, &w, &h );
1017 1017
1018 int prog = progress ( ); 1018 int prog = progress ( );
1019 int total = totalSteps ( ); 1019 int total = totalSteps ( );
1020 if ( prog < 0 ) 1020 if ( prog < 0 )
1021 prog = 0; 1021 prog = 0;
1022 if ( total <= 0 ) 1022 if ( total <= 0 )
1023 total = 1; 1023 total = 1;
1024 int bw = w * prog / total; 1024 int bw = w * prog / total;
1025 if ( bw > w ) 1025 if ( bw > w )
1026 bw = w; 1026 bw = w;
1027 1027
1028 p.setPen(g.button().dark(130)); 1028 p.setPen(g.button().dark(130));
1029 p.drawRect(x, y, bw, h); 1029 p.drawRect(x, y, bw, h);
1030 p.setPen(g.button().light(120)); 1030 p.setPen(g.button().light(120));
1031 p.drawRect(x+1, y+1, bw-2, h-2); 1031 p.drawRect(x+1, y+1, bw-2, h-2);
1032 1032
1033 if(bw >= 4 && h >= 4 && pix) 1033 if(bw >= 4 && h >= 4 && pix)
1034 p.drawTiledPixmap(x+2, y+2, bw-4, h-4, *pix); 1034 p.drawTiledPixmap(x+2, y+2, bw-4, h-4, *pix);
1035 1035
1036 if ( progress ( )>= 0 && totalSteps ( ) > 0 ) { 1036 if ( progress ( )>= 0 && totalSteps ( ) > 0 ) {
1037 QString pstr; 1037 QString pstr;
1038 pstr. sprintf ( "%d%%", 100 * progress()/totalSteps ()); 1038 pstr. sprintf ( "%d%%", 100 * progress()/totalSteps ());
1039 p. setPen ( g.text());//g.highlightedText ( )); 1039 p. setPen ( g.text());//g.highlightedText ( ));
1040 p. drawText (x,y,w-1,h-1,AlignCenter,pstr); 1040 p. drawText (x,y,w-1,h-1,AlignCenter,pstr);
1041 } 1041 }
1042 } 1042 }
1043 } 1043 }
1044}; 1044};
1045 1045
1046 1046
1047/* 1047/*
1048 * The same for QToolButton: 1048 * The same for QToolButton:
1049 * TT hardcoded the drawing of the focus rect ... 1049 * TT hardcoded the drawing of the focus rect ...
1050 * 1050 *
1051 * - sandman 1051 * - sandman
1052 */ 1052 */
1053 1053
1054 1054
1055class HackToolButton : public QToolButton { 1055class HackToolButton : public QToolButton {
1056public: 1056public:
1057 HackToolButton ( ); 1057 HackToolButton ( );
1058 1058
1059 void paint ( QPaintEvent *ev ) 1059 void paint ( QPaintEvent *ev )
1060 { 1060 {
1061 erase ( ev-> region ( )); 1061 erase ( ev-> region ( ));
1062 QPainter p ( this ); 1062 QPainter p ( this );
1063 style ( ). drawToolButton ( this, &p ); 1063 style ( ). drawToolButton ( this, &p );
1064 drawButtonLabel ( &p ); 1064 drawButtonLabel ( &p );
1065 } 1065 }
1066}; 1066};
1067 1067
1068/* 1068/*
1069 * This is a fun method ;-) Here's an overview. KToolBar grabs resize to 1069 * This is a fun method ;-) Here's an overview. KToolBar grabs resize to
1070 * force everything to erase and repaint on resize. This is going away, I'm 1070 * force everything to erase and repaint on resize. This is going away, I'm
1071 * trying to get shaped widgets to work right without masking. QPushButton, 1071 * trying to get shaped widgets to work right without masking. QPushButton,
1072 * QComboBox, and Panel applet handles capture mouse enter and leaves in order 1072 * QComboBox, and Panel applet handles capture mouse enter and leaves in order
1073 * to set the highlightwidget and repaint for mouse hovers. CheckBoxes and 1073 * to set the highlightwidget and repaint for mouse hovers. CheckBoxes and
1074 * RadioButtons need to do this differently. Qt buffers these in pixmaps and 1074 * RadioButtons need to do this differently. Qt buffers these in pixmaps and
1075 * caches them in QPixmapCache, which is bad for doing things like hover 1075 * caches them in QPixmapCache, which is bad for doing things like hover
1076 * because the style methods aren't called in paintEvents if everything 1076 * because the style methods aren't called in paintEvents if everything
1077 * is cached. We use our own Paint event handler instead. Taskbuttons and 1077 * is cached. We use our own Paint event handler instead. Taskbuttons and
1078 * pager buttons draw into a pixmap buffer, so we handle those with palette 1078 * pager buttons draw into a pixmap buffer, so we handle those with palette
1079 * modifications. For QHeader, different header items are actually one widget 1079 * modifications. For QHeader, different header items are actually one widget
1080 * that draws multiple items, so we need to check which ID is hightlighted 1080 * that draws multiple items, so we need to check which ID is hightlighted
1081 * and draw it. Finally, we also check enter and leave events for QLineEdit, 1081 * and draw it. Finally, we also check enter and leave events for QLineEdit,
1082 * since if it's inside a combobox we want to highlight the combobox during 1082 * since if it's inside a combobox we want to highlight the combobox during
1083 * hovering in the edit. 1083 * hovering in the edit.
1084 */ 1084 */
1085bool LiquidStyle::eventFilter(QObject *obj, QEvent *ev) 1085bool LiquidStyle::eventFilter(QObject *obj, QEvent *ev)
1086{ 1086{
1087 if(obj->inherits("QToolBar")){ 1087 if(obj->inherits("QToolBar")){
1088 if(ev->type() == QEvent::Resize){ 1088 if(ev->type() == QEvent::Resize){
1089 const QObjectList *tbChildList = obj->children(); 1089 const QObjectList *tbChildList = obj->children();
1090 QObjectListIt it(*tbChildList); 1090 QObjectListIt it(*tbChildList);
1091 QObject *child; 1091 QObject *child;
1092 while((child = it.current()) != NULL){ 1092 while((child = it.current()) != NULL){
1093 ++it; 1093 ++it;
1094 if(child->isWidgetType()) 1094 if(child->isWidgetType())
1095 ((QWidget *)child)->repaint(true); 1095 ((QWidget *)child)->repaint(true);
1096 } 1096 }
1097 1097
1098 } 1098 }
1099 } 1099 }
1100 else if(obj->inherits("QToolButton")){ 1100 else if(obj->inherits("QToolButton")){
1101 QToolButton *btn = (QToolButton *)obj; 1101 QToolButton *btn = (QToolButton *)obj;
1102 if(ev->type() == QEvent::FocusIn ){ // && !btn-> autoRaise () 1102 if(ev->type() == QEvent::FocusIn ){ // && !btn-> autoRaise ()
1103 if(btn->isEnabled()){ 1103 if(btn->isEnabled()){
1104 highlightWidget = btn; 1104 highlightWidget = btn;
1105 btn->repaint(false); 1105 btn->repaint(false);
1106 1106
1107 qDebug ( "TB FOCUS IN [%p]", btn ); 1107 qDebug ( "TB FOCUS IN [%p]", btn );
1108 } 1108 }
1109 } 1109 }
1110 else if(ev->type() == QEvent::FocusOut ){ 1110 else if(ev->type() == QEvent::FocusOut ){
1111 if(btn == highlightWidget){ 1111 if(btn == highlightWidget){
1112 highlightWidget = NULL; 1112 highlightWidget = NULL;
1113 btn->repaint(false); 1113 btn->repaint(false);
1114 1114
1115 qDebug ( "TB FOCUS OUT [%p]", btn ); 1115 qDebug ( "TB FOCUS OUT [%p]", btn );
1116 } 1116 }
1117 } 1117 }
1118 else if(ev->type() == QEvent::Paint) { 1118 else if(ev->type() == QEvent::Paint) {
1119 (( HackToolButton *) btn )-> paint ((QPaintEvent *) ev ); 1119 (( HackToolButton *) btn )-> paint ((QPaintEvent *) ev );
1120 return true; 1120 return true;
1121 } 1121 }
1122 } 1122 }
1123 else if(obj->inherits("QRadioButton") || obj->inherits("QCheckBox")){ 1123 else if(obj->inherits("QRadioButton") || obj->inherits("QCheckBox")){
1124 QButton *btn = (QButton *)obj; 1124 QButton *btn = (QButton *)obj;
1125 bool isRadio = obj->inherits("QRadioButton"); 1125 bool isRadio = obj->inherits("QRadioButton");
1126 if(ev->type() == QEvent::Paint){ 1126 if(ev->type() == QEvent::Paint){
1127 //if(btn->autoMask()) 1127 //if(btn->autoMask())
1128 btn->erase(); 1128 btn->erase();
1129 QPainter p; 1129 QPainter p;
1130 p.begin(btn); 1130 p.begin(btn);
1131 QFontMetrics fm = btn->fontMetrics(); 1131 QFontMetrics fm = btn->fontMetrics();
1132 QSize lsz = fm.size(ShowPrefix, btn->text()); 1132 QSize lsz = fm.size(ShowPrefix, btn->text());
1133 QSize sz = isRadio ? exclusiveIndicatorSize() 1133 QSize sz = isRadio ? exclusiveIndicatorSize()
1134 : indicatorSize(); 1134 : indicatorSize();
1135 1135
1136/* 1136/*
1137 if(btn->hasFocus()){ 1137 if(btn->hasFocus()){
1138 QRect r = QRect(0, 0, btn->width(), btn->height()); 1138 QRect r = QRect(0, 0, btn->width(), btn->height());
1139 p.setPen(btn->colorGroup().button().dark(140)); 1139 p.setPen(btn->colorGroup().button().dark(140));
1140 p.drawLine(r.x()+1, r.y(), r.right()-1, r.y()); 1140 p.drawLine(r.x()+1, r.y(), r.right()-1, r.y());
1141 p.drawLine(r.x(), r.y()+1, r.x(), r.bottom()-1); 1141 p.drawLine(r.x(), r.y()+1, r.x(), r.bottom()-1);
1142 p.drawLine(r.right(), r.y()+1, r.right(), r.bottom()-1); 1142 p.drawLine(r.right(), r.y()+1, r.right(), r.bottom()-1);
1143 p.drawLine(r.x()+1, r.bottom(), r.right()-1, r.bottom()); 1143 p.drawLine(r.x()+1, r.bottom(), r.right()-1, r.bottom());
1144 } 1144 }
1145*/ 1145*/
1146 int x = 0; 1146 int x = 0;
1147 int y = (btn->height()-lsz.height()+fm.height()-sz.height())/2; 1147 int y = (btn->height()-lsz.height()+fm.height()-sz.height())/2;
1148 if(isRadio) 1148 if(isRadio)
1149 drawExclusiveIndicator(&p, x, y, sz.width(), sz.height(), 1149 drawExclusiveIndicator(&p, x, y, sz.width(), sz.height(),
1150 btn->colorGroup(), btn->isOn(), 1150 btn->colorGroup(), btn->isOn(),
1151 btn->isDown(), btn->isEnabled()); 1151 btn->isDown(), btn->isEnabled());
1152 else 1152 else
1153 drawIndicator(&p, x, y, sz.width(), sz.height(), 1153 drawIndicator(&p, x, y, sz.width(), sz.height(),
1154 btn->colorGroup(), btn->state(), btn->isDown(), 1154 btn->colorGroup(), btn->state(), btn->isDown(),
1155 btn->isEnabled()); 1155 btn->isEnabled());
1156 x = sz.width() + 6; 1156 x = sz.width() + 6;
1157 y = 0; 1157 y = 0;
1158 drawItem(&p, sz.width()+6+1, 0, btn->width()-(sz.width()+6+1), 1158 drawItem(&p, sz.width()+6+1, 0, btn->width()-(sz.width()+6+1),
1159 btn->height(), AlignLeft|AlignVCenter|ShowPrefix, 1159 btn->height(), AlignLeft|AlignVCenter|ShowPrefix,
1160 btn->colorGroup(), btn->isEnabled(), 1160 btn->colorGroup(), btn->isEnabled(),
1161 btn->pixmap(), btn->text()); 1161 btn->pixmap(), btn->text());
1162 p.end(); 1162 p.end();
1163 return(true); 1163 return(true);
1164 } 1164 }
1165 } 1165 }
1166 else if(obj->inherits("QHeader")){ 1166 else if(obj->inherits("QHeader")){
1167 QHeader *hw = (QHeader *)obj; 1167 QHeader *hw = (QHeader *)obj;
1168 if(ev->type() == QEvent::Enter){ 1168 if(ev->type() == QEvent::Enter){
1169 currentHeader = hw; 1169 currentHeader = hw;
1170 headerHoverID = -1; 1170 headerHoverID = -1;
1171 } 1171 }
1172 else if(ev->type() == QEvent::Leave){ 1172 else if(ev->type() == QEvent::Leave){
1173 currentHeader = NULL; 1173 currentHeader = NULL;
1174 if(headerHoverID != -1){ 1174 if(headerHoverID != -1){
1175 hw->repaint(hw->sectionPos(headerHoverID), 0, 1175 hw->repaint(hw->sectionPos(headerHoverID), 0,
1176 hw->sectionSize(headerHoverID), hw->height()); 1176 hw->sectionSize(headerHoverID), hw->height());
1177 } 1177 }
1178 headerHoverID = -1; 1178 headerHoverID = -1;
1179 } 1179 }
1180 else if(ev->type() == QEvent::MouseMove){ 1180 else if(ev->type() == QEvent::MouseMove){
1181 QMouseEvent *me = (QMouseEvent *)ev; 1181 QMouseEvent *me = (QMouseEvent *)ev;
1182 int oldHeader = headerHoverID; 1182 int oldHeader = headerHoverID;
1183 headerHoverID = hw->sectionAt(me->x()); 1183 headerHoverID = hw->sectionAt(me->x());
1184 if(oldHeader != headerHoverID){ 1184 if(oldHeader != headerHoverID){
1185 // reset old header 1185 // reset old header
1186 if(oldHeader != -1){ 1186 if(oldHeader != -1){
1187 hw->repaint(hw->sectionPos(oldHeader), 0, 1187 hw->repaint(hw->sectionPos(oldHeader), 0,
1188 hw->sectionSize(oldHeader), hw->height()); 1188 hw->sectionSize(oldHeader), hw->height());
1189 } 1189 }
1190 if(headerHoverID != -1){ 1190 if(headerHoverID != -1){
1191 hw->repaint(hw->sectionPos(headerHoverID), 0, 1191 hw->repaint(hw->sectionPos(headerHoverID), 0,
1192 hw->sectionSize(headerHoverID), hw->height()); 1192 hw->sectionSize(headerHoverID), hw->height());
1193 } 1193 }
1194 } 1194 }
1195 } 1195 }
1196 } 1196 }
1197 else if (obj-> inherits( "QProgressBar" )) { 1197 else if (obj-> inherits( "QProgressBar" )) {
1198 if ( ev->type() == QEvent::Paint ) { 1198 if ( ev->type() == QEvent::Paint ) {
1199 HackProgressBar *p = (HackProgressBar *) obj; 1199 HackProgressBar *p = (HackProgressBar *) obj;
1200 const QColorGroup &g = p-> colorGroup ( ); 1200 const QColorGroup &g = p-> colorGroup ( );
1201 1201
1202 QPixmap *pix = bevelFillDict.find(g.button().dark(120).rgb()); 1202 QPixmap *pix = bevelFillDict.find(g.button().dark(120).rgb());
1203 if(!pix){ 1203 if(!pix){
1204 int h, s, v; 1204 int h, s, v;
1205 g.button().dark(120).hsv(&h, &s, &v); 1205 g.button().dark(120).hsv(&h, &s, &v);
1206 pix = new QPixmap(*bevelFillPix); 1206 pix = new QPixmap(*bevelFillPix);
1207 adjustHSV(*pix, h, s, v); 1207 adjustHSV(*pix, h, s, v);
1208 bevelFillDict.insert(g.button().dark(120).rgb(), pix); 1208 bevelFillDict.insert(g.button().dark(120).rgb(), pix);
1209 } 1209 }
1210 p-> paint ((QPaintEvent *) ev, g, pix ); 1210 p-> paint ((QPaintEvent *) ev, g, pix );
1211 return true; 1211 return true;
1212 } 1212 }
1213 } 1213 }
1214 return false ; 1214 return false ;
1215} 1215}
1216 1216
1217void LiquidStyle::drawButton(QPainter *p, int x, int y, int w, int h, 1217void LiquidStyle::drawButton(QPainter *p, int x, int y, int w, int h,
1218 const QColorGroup &g, bool sunken, 1218 const QColorGroup &g, bool sunken,
1219 const QBrush *) 1219 const QBrush *)
1220{ 1220{
1221 drawRoundButton(p, sunken ? g.background() : g.button(), g.background(), 1221 drawRoundButton(p, sunken ? g.background() : g.button(), g.background(),
1222 x, y, w, h); 1222 x, y, w, h);
1223} 1223}
1224 1224
1225void LiquidStyle::drawToolButton(QPainter *p, int x, int y, int w, int h, 1225void LiquidStyle::drawToolButton(QPainter *p, int x, int y, int w, int h,
1226 const QColorGroup &g, bool sunken, 1226 const QColorGroup &g, bool sunken,
1227 const QBrush *) 1227 const QBrush *)
1228{ 1228{
1229 if(p->device()->devType() != QInternal::Widget){ 1229 if(p->device()->devType() != QInternal::Widget){
1230 // drawing into a temp pixmap, don't use mask 1230 // drawing into a temp pixmap, don't use mask
1231 QColor c = sunken ? g.button() : g.background(); 1231 QColor c = sunken ? g.button() : g.background();
1232 p->setPen(c.dark(130)); 1232 p->setPen(c.dark(130));
1233 p->drawRect(x, y, w, h); 1233 p->drawRect(x, y, w, h);
1234 p->setPen(c.light(105)); 1234 p->setPen(c.light(105));
1235 p->drawRect(x+1, y+1, w-2, h-2); 1235 p->drawRect(x+1, y+1, w-2, h-2);
1236 1236
1237 1237
1238 // fill 1238 // fill
1239 QPixmap *pix = bevelFillDict.find(c.rgb()); 1239 QPixmap *pix = bevelFillDict.find(c.rgb());
1240 if(!pix){ 1240 if(!pix){
1241 int h, s, v; 1241 int h, s, v;
1242 c.hsv(&h, &s, &v); 1242 c.hsv(&h, &s, &v);
1243 pix = new QPixmap(*bevelFillPix); 1243 pix = new QPixmap(*bevelFillPix);
1244 adjustHSV(*pix, h, s, v); 1244 adjustHSV(*pix, h, s, v);
1245 bevelFillDict.insert(c.rgb(), pix); 1245 bevelFillDict.insert(c.rgb(), pix);
1246 } 1246 }
1247 1247
1248 p->drawTiledPixmap(x+2, y+2, w-4, h-4, *pix); 1248 p->drawTiledPixmap(x+2, y+2, w-4, h-4, *pix);
1249 qDebug ( "DRAW TOOLBUTTON IN PIXMAP" ); 1249 qDebug ( "DRAW TOOLBUTTON IN PIXMAP" );
1250 } 1250 }
1251 else{ 1251 else{
1252 qDebug ( "DRAW TOOLBUTTON sunken=%d/high=%p/device=%p", sunken, highlightWidget,p->device() ); 1252 qDebug ( "DRAW TOOLBUTTON sunken=%d/high=%p/device=%p", sunken, highlightWidget,p->device() );
1253 1253
1254 drawClearBevel(p, x, y, w, h, sunken ? g.button() : 1254 drawClearBevel(p, x, y, w, h, sunken ? g.button() :
1255 highlightWidget == p->device() ? g.button().light(110) : 1255 highlightWidget == p->device() ? g.button().light(110) :
1256 g.background(), g.background()); 1256 g.background(), g.background());
1257 } 1257 }
1258} 1258}
1259 1259
1260void LiquidStyle::drawPushButton(QPushButton *btn, QPainter *p) 1260void LiquidStyle::drawPushButton(QPushButton *btn, QPainter *p)
1261{ 1261{
1262 QRect r = btn->rect(); 1262 QRect r = btn->rect();
1263 bool sunken = btn->isOn() || btn->isDown(); 1263 bool sunken = btn->isOn() || btn->isDown();
1264 QColorGroup g = btn->colorGroup(); 1264 QColorGroup g = btn->colorGroup();
1265 1265
1266 1266
1267 //int dw = buttonDefaultIndicatorWidth(); 1267 //int dw = buttonDefaultIndicatorWidth();
1268 if(btn->hasFocus() || btn->isDefault()){ 1268 if(btn->hasFocus() || btn->isDefault()){
1269 QColor c = btn->hasFocus() ? g.button().light(110) : g.background(); 1269 QColor c = btn->hasFocus() ? g.button().light(110) : g.background();
1270 QPixmap *pix = bevelFillDict.find(c.rgb()); 1270 QPixmap *pix = bevelFillDict.find(c.rgb());
1271 if(!pix){ 1271 if(!pix){
1272 int h, s, v; 1272 int h, s, v;
1273 c.hsv(&h, &s, &v); 1273 c.hsv(&h, &s, &v);
1274 pix = new QPixmap(*bevelFillPix); 1274 pix = new QPixmap(*bevelFillPix);
1275 adjustHSV(*pix, h, s, v); 1275 adjustHSV(*pix, h, s, v);
1276 bevelFillDict.insert(c.rgb(), pix); 1276 bevelFillDict.insert(c.rgb(), pix);
1277 } 1277 }
1278 p->setPen(c.dark(150)); 1278 p->setPen(c.dark(150));
1279 p->drawLine(r.x()+1, r.y(), r.right()-1, r.y()); 1279 p->drawLine(r.x()+1, r.y(), r.right()-1, r.y());
1280 p->drawLine(r.x(), r.y()+1, r.x(), r.bottom()-1); 1280 p->drawLine(r.x(), r.y()+1, r.x(), r.bottom()-1);
1281 p->drawLine(r.right(), r.y()+1, r.right(), r.bottom()-1); 1281 p->drawLine(r.right(), r.y()+1, r.right(), r.bottom()-1);
1282 p->drawLine(r.x()+1, r.bottom(), r.right()-1, r.bottom()); 1282 p->drawLine(r.x()+1, r.bottom(), r.right()-1, r.bottom());
1283 p->drawTiledPixmap(r.x()+1, r.y()+1, r.width()-2, r.height()-2, *pix); 1283 p->drawTiledPixmap(r.x()+1, r.y()+1, r.width()-2, r.height()-2, *pix);
1284 } 1284 }
1285 1285
1286 QColor newColor = btn == highlightWidget || sunken ? 1286 QColor newColor = btn == highlightWidget || sunken ?
1287 g.button().light(120) : g.button(); 1287 g.button().light(120) : g.button();
1288 1288
1289 drawRoundButton(p, newColor, g.background(), 1289 drawRoundButton(p, newColor, g.background(),
1290 r.x(), r.y(), r.width(), r.height(), !btn->autoMask(), 1290 r.x(), r.y(), r.width(), r.height(), !btn->autoMask(),
1291 sunken, btn->isDefault() || btn->autoDefault() || btn->hasFocus(), 1291 sunken, btn->isDefault() || btn->autoDefault() || btn->hasFocus(),
1292 btn->autoMask()); 1292 btn->autoMask());
1293} 1293}
1294 1294
1295void LiquidStyle::drawPushButtonLabel(QPushButton *btn, QPainter *p) 1295void LiquidStyle::drawPushButtonLabel(QPushButton *btn, QPainter *p)
1296{ 1296{
1297 int x1, y1, x2, y2, w, h; 1297 int x1, y1, x2, y2, w, h;
1298 btn->rect().coords(&x1, &y1, &x2, &y2); 1298 btn->rect().coords(&x1, &y1, &x2, &y2);
1299 w = btn->width(); 1299 w = btn->width();
1300 h = btn->height(); 1300 h = btn->height();
1301 1301
1302 bool act = btn->isOn() || btn->isDown(); 1302 bool act = btn->isOn() || btn->isDown();
1303 if(act){ 1303 if(act){
1304 ++x1, ++y1; 1304 ++x1, ++y1;
1305 } 1305 }
1306 1306
1307 // Draw iconset first, if any 1307 // Draw iconset first, if any
1308 if ( btn->iconSet() && !btn->iconSet()->isNull() ) 1308 if ( btn->iconSet() && !btn->iconSet()->isNull() )
1309 { 1309 {
1310 QIconSet::Mode mode = btn->isEnabled() 1310 QIconSet::Mode mode = btn->isEnabled()
1311 ? QIconSet::Normal : QIconSet::Disabled; 1311 ? QIconSet::Normal : QIconSet::Disabled;
1312 if ( mode == QIconSet::Normal && btn->hasFocus() ) 1312 if ( mode == QIconSet::Normal && btn->hasFocus() )
1313 mode = QIconSet::Active; 1313 mode = QIconSet::Active;
1314 QPixmap pixmap = btn->iconSet()->pixmap( QIconSet::Small, mode ); 1314 QPixmap pixmap = btn->iconSet()->pixmap( QIconSet::Small, mode );
1315 int pixw = pixmap.width(); 1315 int pixw = pixmap.width();
1316 int pixh = pixmap.height(); 1316 int pixh = pixmap.height();
1317 1317
1318 p->drawPixmap( x1+6, y1+h/2-pixh/2, pixmap ); 1318 p->drawPixmap( x1+6, y1+h/2-pixh/2, pixmap );
1319 x1 += pixw + 8; 1319 x1 += pixw + 8;
1320 w -= pixw + 8; 1320 w -= pixw + 8;
1321 } 1321 }
1322 1322
1323 if(act){ 1323 if(act){
1324 QFont font = btn->font(); 1324 QFont font = btn->font();
1325 font.setBold(true); 1325 font.setBold(true);
1326 p->setFont(font); 1326 p->setFont(font);
1327 QColor shadow(btn->colorGroup().button().dark(130)); 1327 QColor shadow(btn->colorGroup().button().dark(130));
1328 drawItem( p, x1+1, y1+1, w, h, 1328 drawItem( p, x1+1, y1+1, w, h,
1329 AlignCenter | ShowPrefix, btn->colorGroup(), btn->isEnabled(), 1329 AlignCenter | ShowPrefix, btn->colorGroup(), btn->isEnabled(),
1330 btn->pixmap(), btn->text(), -1, 1330 btn->pixmap(), btn->text(), -1,
1331 &shadow); 1331 &shadow);
1332 1332
1333 drawItem( p, x1, y1, w, h, 1333 drawItem( p, x1, y1, w, h,
1334 AlignCenter | ShowPrefix, btn->colorGroup(), btn->isEnabled(), 1334 AlignCenter | ShowPrefix, btn->colorGroup(), btn->isEnabled(),
1335 btn->pixmap(), btn->text(), -1, &btn->colorGroup().light()); 1335 btn->pixmap(), btn->text(), -1, &btn->colorGroup().light());
1336 } 1336 }
1337 else{ 1337 else{
1338 /* Too blurry 1338 /* Too blurry
1339 drawItem( p, x1+1, y1+1, w, h, 1339 drawItem( p, x1+1, y1+1, w, h,
1340 AlignCenter | ShowPrefix, btn->colorGroup(), btn->isEnabled(), 1340 AlignCenter | ShowPrefix, btn->colorGroup(), btn->isEnabled(),
1341 btn->pixmap(), btn->text(), -1, 1341 btn->pixmap(), btn->text(), -1,
1342 &btn->colorGroup().button().dark(115)); 1342 &btn->colorGroup().button().dark(115));
1343 */ 1343 */
1344 drawItem( p, x1, y1, w, h, 1344 drawItem( p, x1, y1, w, h,
1345 AlignCenter | ShowPrefix, 1345 AlignCenter | ShowPrefix,
1346 btn->colorGroup(), btn->isEnabled(), 1346 btn->colorGroup(), btn->isEnabled(),
1347 btn->pixmap(), btn->text(), -1, 1347 btn->pixmap(), btn->text(), -1,
1348 &btn->colorGroup().buttonText()); 1348 &btn->colorGroup().buttonText());
1349 } 1349 }
1350} 1350}
1351 1351
1352void LiquidStyle::drawButtonMask(QPainter *p, int x, int y, int w, int h) 1352void LiquidStyle::drawButtonMask(QPainter *p, int x, int y, int w, int h)
1353{ 1353{
1354 int x2 = x+w-1; 1354 int x2 = x+w-1;
1355 int y2 = y+h-1; 1355 int y2 = y+h-1;
1356 1356
1357 p->setPen(Qt::color1); 1357 p->setPen(Qt::color1);
1358 p->fillRect(x, y, w, h, Qt::color0); 1358 p->fillRect(x, y, w, h, Qt::color0);
1359 if(w < 21 || h < 21){ 1359 if(w < 21 || h < 21){
1360 // outer rect 1360 // outer rect
1361 p->drawLine(x, y+2, x, y2-2); // l 1361 p->drawLine(x, y+2, x, y2-2); // l
1362 p->drawLine(x2, y+2, x2, y2-2); // r 1362 p->drawLine(x2, y+2, x2, y2-2); // r
1363 p->drawLine(x+2, y, x2-2, y); // t 1363 p->drawLine(x+2, y, x2-2, y); // t
1364 p->drawLine(x+2, y2, x2-2, y2); // b 1364 p->drawLine(x+2, y2, x2-2, y2); // b
1365 p->drawLine(x+1, y+1, x2-1, y+1); // top second line 1365 p->drawLine(x+1, y+1, x2-1, y+1); // top second line
1366 p->drawLine(x+1, y2-1, x2-1, y2-1); // bottom second line 1366 p->drawLine(x+1, y2-1, x2-1, y2-1); // bottom second line
1367 p->fillRect(x+1, y+2, w-2, h-4, Qt::color1); 1367 p->fillRect(x+1, y+2, w-2, h-4, Qt::color1);
1368 } 1368 }
1369 else{ 1369 else{
1370 int x2 = x+w-1; 1370 int x2 = x+w-1;
1371 int y2 = y+h-1; 1371 int y2 = y+h-1;
1372 int bx2 = htmlBtnMaskBmp.width()-1; 1372 int bx2 = htmlBtnMaskBmp.width()-1;
1373 int by2 = htmlBtnMaskBmp.height()-1; 1373 int by2 = htmlBtnMaskBmp.height()-1;
1374 p->drawPixmap(0, 0, htmlBtnMaskBmp, 0, 0, 10, 10); // tl 1374 p->drawPixmap(0, 0, htmlBtnMaskBmp, 0, 0, 10, 10); // tl
1375 p->drawPixmap(x2-9, 0, htmlBtnMaskBmp, bx2-9, 0, 10, 10); // tr 1375 p->drawPixmap(x2-9, 0, htmlBtnMaskBmp, bx2-9, 0, 10, 10); // tr
1376 p->drawPixmap(0, y2-9, htmlBtnMaskBmp, 0, by2-9, 10, 10); // bl 1376 p->drawPixmap(0, y2-9, htmlBtnMaskBmp, 0, by2-9, 10, 10); // bl
1377 p->drawPixmap(x2-9, y2-9, htmlBtnMaskBmp, bx2-9, by2-9, 10, 10); // br 1377 p->drawPixmap(x2-9, y2-9, htmlBtnMaskBmp, bx2-9, by2-9, 10, 10); // br
1378 // fills 1378 // fills
1379 p->fillRect(10, 0, w-20, 10, Qt::color1); // top 1379 p->fillRect(10, 0, w-20, 10, Qt::color1); // top
1380 p->fillRect(10, y2-9, w-20, 10, Qt::color1); // bottom 1380 p->fillRect(10, y2-9, w-20, 10, Qt::color1); // bottom
1381 p->fillRect(0, 10, w, h-20, Qt::color1); // middle 1381 p->fillRect(0, 10, w, h-20, Qt::color1); // middle
1382 } 1382 }
1383} 1383}
1384 1384
1385void LiquidStyle::drawBevelButton(QPainter *p, int x, int y, int w, int h, 1385void LiquidStyle::drawBevelButton(QPainter *p, int x, int y, int w, int h,
1386 const QColorGroup &g, bool sunken, 1386 const QColorGroup &g, bool sunken,
1387 const QBrush */*fill*/) 1387 const QBrush */*fill*/)
1388{ 1388{
1389 if(currentHeader && p->device() == currentHeader){ 1389 if(currentHeader && p->device() == currentHeader){
1390 int id = currentHeader->sectionAt(x); 1390 int id = currentHeader->sectionAt(x);
1391 bool isHeaderHover = id != -1 && id == headerHoverID; 1391 bool isHeaderHover = id != -1 && id == headerHoverID;
1392 drawClearBevel(p, x, y, w, h, sunken ? 1392 drawClearBevel(p, x, y, w, h, sunken ?
1393 g.button() : isHeaderHover ? g.button().light(110) : 1393 g.button() : isHeaderHover ? g.button().light(110) :
1394 g.background(), g.background()); 1394 g.background(), g.background());
1395 } 1395 }
1396 else 1396 else
1397 drawClearBevel(p, x, y, w, h, sunken ? g.button() : g.background(), 1397 drawClearBevel(p, x, y, w, h, sunken ? g.button() : g.background(),
1398 g.background()); 1398 g.background());
1399} 1399}
1400 1400
1401QRect LiquidStyle::buttonRect(int x, int y, int w, int h) 1401QRect LiquidStyle::buttonRect(int x, int y, int w, int h)
1402{ 1402{
1403 return(QRect(x+5, y+5, w-10, h-10)); 1403 return(QRect(x+5, y+5, w-10, h-10));
1404} 1404}
1405 1405
1406void LiquidStyle::drawComboButton(QPainter *painter, int x, int y, int w, int h, 1406void LiquidStyle::drawComboButton(QPainter *painter, int x, int y, int w, int h,
1407 const QColorGroup &g, bool sunken, 1407 const QColorGroup &g, bool sunken,
1408 bool edit, bool, const QBrush *) 1408 bool edit, bool, const QBrush *)
1409{ 1409{
1410 bool isActive = false; 1410 bool isActive = false;
1411 if (( painter->device()->devType() == QInternal::Widget ) && 1411 if (( painter->device()->devType() == QInternal::Widget ) &&
1412 ( 1412 (
1413 ( qApp-> focusWidget ( ) == painter-> device ( )) || 1413 ( qApp-> focusWidget ( ) == painter-> device ( )) ||
1414 ( 1414 (
1415 edit && 1415 edit &&
1416 ((QWidget *) painter-> device ( ))-> inherits ( "QComboBox" ) && 1416 ((QWidget *) painter-> device ( ))-> inherits ( "QComboBox" ) &&
1417 ( qApp-> focusWidget ( ) == ((QComboBox *) painter->device())->lineEdit ( )) 1417 ( qApp-> focusWidget ( ) == ((QComboBox *) painter->device())->lineEdit ( ))
1418 ) 1418 )
1419 ) 1419 )
1420 ) { 1420 ) {
1421 isActive = true; 1421 isActive = true;
1422 } 1422 }
1423 1423
1424 bool isMasked = false; 1424 bool isMasked = false;
1425 if(painter->device()->devType() == QInternal::Widget) 1425 if(painter->device()->devType() == QInternal::Widget)
1426 isMasked = ((QWidget*)painter->device())->autoMask(); 1426 isMasked = ((QWidget*)painter->device())->autoMask();
1427 // TODO: Do custom code, don't just call drawRoundButton into a pixmap 1427 // TODO: Do custom code, don't just call drawRoundButton into a pixmap
1428 QPixmap tmpPix(w, h); 1428 QPixmap tmpPix(w, h);
1429 QPainter p(&tmpPix); 1429 QPainter p(&tmpPix);
1430 1430
1431 drawRoundButton(&p, g.button(), g.background(), 0, 0, w, h, false, 1431 drawRoundButton(&p, g.button(), g.background(), 0, 0, w, h, false,
1432 sunken, false, isMasked); 1432 sunken, false, isMasked);
1433 if(!isActive){ 1433 if(!isActive){
1434 p.setClipRect(0, 0, w-17, h); 1434 p.setClipRect(0, 0, w-17, h);
1435 drawRoundButton(&p, g.background(), g.background(), 0, 0, w, h, false, 1435 drawRoundButton(&p, g.background(), g.background(), 0, 0, w, h, false,
1436 sunken, false, isMasked); 1436 sunken, false, isMasked);
1437 } 1437 }
1438 p.end(); 1438 p.end();
1439 int x2 = x+w-1; 1439 int x2 = x+w-1;
1440 int y2 = y+h-1; 1440 int y2 = y+h-1;
1441 int bx2 = btnMaskBmp.width()-1; 1441 int bx2 = btnMaskBmp.width()-1;
1442 int by2 = btnMaskBmp.height()-1; 1442 int by2 = btnMaskBmp.height()-1;
1443 QBitmap btnMask(w, h); 1443 QBitmap btnMask(w, h);
1444 QBitmap *mask = isMasked ? &htmlBtnMaskBmp : &btnMaskBmp; 1444 QBitmap *mask = isMasked ? &htmlBtnMaskBmp : &btnMaskBmp;
1445 p.begin(&btnMask); 1445 p.begin(&btnMask);
1446 p.fillRect(0, 0, w, h, Qt::color0); 1446 p.fillRect(0, 0, w, h, Qt::color0);
1447 p.drawPixmap(0, 0, *mask, 0, 0, 10, 10); // tl 1447 p.drawPixmap(0, 0, *mask, 0, 0, 10, 10); // tl
1448 p.drawPixmap(x2-9, 0, *mask, bx2-9, 0, 10, 10); // tr 1448 p.drawPixmap(x2-9, 0, *mask, bx2-9, 0, 10, 10); // tr
1449 p.drawPixmap(0, y2-9, *mask, 0, by2-9, 10, 10); // bl 1449 p.drawPixmap(0, y2-9, *mask, 0, by2-9, 10, 10); // bl
1450 p.drawPixmap(x2-9, y2-9, *mask, bx2-9, by2-9, 10, 10); // br 1450 p.drawPixmap(x2-9, y2-9, *mask, bx2-9, by2-9, 10, 10); // br
1451 // fills 1451 // fills
1452 p.fillRect(10, 0, w-20, 10, Qt::color1); // top 1452 p.fillRect(10, 0, w-20, 10, Qt::color1); // top
1453 p.fillRect(10, y2-9, w-20, 10, Qt::color1); // bottom 1453 p.fillRect(10, y2-9, w-20, 10, Qt::color1); // bottom
1454 p.fillRect(0, 10, w, h-20, Qt::color1); // middle 1454 p.fillRect(0, 10, w, h-20, Qt::color1); // middle
1455 p.end(); 1455 p.end();
1456 tmpPix.setMask(btnMask); 1456 tmpPix.setMask(btnMask);
1457 1457
1458 painter->drawPixmap(x, y, tmpPix); 1458 painter->drawPixmap(x, y, tmpPix);
1459 1459
1460 painter->setPen(g.button().dark(120)); 1460 painter->setPen(g.button().dark(120));
1461 painter->drawLine(x2-16, y+1, x2-16, y2-1); 1461 painter->drawLine(x2-16, y+1, x2-16, y2-1);
1462 1462
1463 if(edit){ 1463 if(edit){
1464 painter->setPen(g.mid()); 1464 painter->setPen(g.mid());
1465 painter->drawRect(x+8, y+2, w-25, h-4); 1465 painter->drawRect(x+8, y+2, w-25, h-4);
1466 } 1466 }
1467 int arrow_h = h / 3; 1467 int arrow_h = h / 3;
1468 int arrow_w = arrow_h; 1468 int arrow_w = arrow_h;
1469 int arrow_x = w - arrow_w - 6; 1469 int arrow_x = w - arrow_w - 6;
1470 int arrow_y = (h - arrow_h) / 2; 1470 int arrow_y = (h - arrow_h) / 2;
1471 drawArrow(painter, DownArrow, false, arrow_x, arrow_y, arrow_w, arrow_h, g, true); 1471 drawArrow(painter, DownArrow, false, arrow_x, arrow_y, arrow_w, arrow_h, g, true);
1472} 1472}
1473 1473
1474void LiquidStyle::drawComboButtonMask(QPainter *p, int x, int y, int w, int h) 1474void LiquidStyle::drawComboButtonMask(QPainter *p, int x, int y, int w, int h)
1475{ 1475{
1476 drawButtonMask(p, x, y, w, h); 1476 drawButtonMask(p, x, y, w, h);
1477} 1477}
1478 1478
1479QRect LiquidStyle::comboButtonRect(int x, int y, int w, int h) 1479QRect LiquidStyle::comboButtonRect(int x, int y, int w, int h)
1480{ 1480{
1481 //return(QRect(x+3, y+3, w - (h / 3) - 13, h-6)); 1481 //return(QRect(x+3, y+3, w - (h / 3) - 13, h-6));
1482 return(QRect(x+9, y+3, w - (h / 3) - 20, h-6)); 1482 return(QRect(x+9, y+3, w - (h / 3) - 20, h-6));
1483} 1483}
1484 1484
1485QRect LiquidStyle::comboButtonFocusRect(int /*x*/, int /*y*/, int /*w*/, int /*h*/) 1485QRect LiquidStyle::comboButtonFocusRect(int /*x*/, int /*y*/, int /*w*/, int /*h*/)
1486{ 1486{
1487 return QRect ( ); 1487 return QRect ( );
1488 1488
1489// return(QRect(x+5, y+3, w-(h/3)-13, h-5)); 1489// return(QRect(x+5, y+3, w-(h/3)-13, h-5));
1490} 1490}
1491 1491
1492void LiquidStyle::drawScrollBarControls(QPainter *p, const QScrollBar *sb, 1492void LiquidStyle::drawScrollBarControls(QPainter *p, const QScrollBar *sb,
1493 int sliderStart, uint controls, 1493 int sliderStart, uint controls,
1494 uint activeControl) 1494 uint activeControl)
1495{ 1495{
1496 int sliderMin, sliderMax, sliderLength, buttonDim; 1496 int sliderMin, sliderMax, sliderLength, buttonDim;
1497 scrollBarMetrics( sb, sliderMin, sliderMax, sliderLength, buttonDim ); 1497 scrollBarMetrics( sb, sliderMin, sliderMax, sliderLength, buttonDim );
1498 1498
1499 if (sliderStart > sliderMax) 1499 if (sliderStart > sliderMax)
1500 sliderStart = sliderMax; 1500 sliderStart = sliderMax;
1501 1501
1502 bool horiz = sb->orientation() == QScrollBar::Horizontal; 1502 bool horiz = sb->orientation() == QScrollBar::Horizontal;
1503 QColorGroup g = sb->colorGroup(); 1503 QColorGroup g = sb->colorGroup();
1504 QRect addB, subHC, subB; 1504 QRect addB, subHC, subB;
1505 QRect addPageR, subPageR, sliderR; 1505 QRect addPageR, subPageR, sliderR;
1506 int addX, addY, subX, subY; 1506 int addX, addY, subX, subY;
1507 int len = horiz ? sb->width() : sb->height(); 1507 int len = horiz ? sb->width() : sb->height();
1508 int extent = horiz ? sb->height() : sb->width(); 1508 int extent = horiz ? sb->height() : sb->width();
1509 1509
1510 // a few apps (ie: KSpread), are broken and use a hardcoded scrollbar 1510 // a few apps (ie: KSpread), are broken and use a hardcoded scrollbar
1511 // extent of 16. Luckily, most apps (ie: Kate), seem fixed by now. 1511 // extent of 16. Luckily, most apps (ie: Kate), seem fixed by now.
1512 bool brokenApp; 1512 bool brokenApp;
1513 if(extent == 16) 1513 if(extent == 16)
1514 brokenApp = true; 1514 brokenApp = true;
1515 else 1515 else
1516 brokenApp = false; 1516 brokenApp = false;
1517 1517
1518 if (horiz) { 1518 if (horiz) {
1519 subY = addY = ( extent - buttonDim ) / 2; 1519 subY = addY = ( extent - buttonDim ) / 2;
1520 subX = 0; 1520 subX = 0;
1521 addX = len - buttonDim; 1521 addX = len - buttonDim;
1522 if(sbBuffer.size() != sb->size()) 1522 if(sbBuffer.size() != sb->size())
1523 sbBuffer.resize(sb->size()); 1523 sbBuffer.resize(sb->size());
1524 } 1524 }
1525 else { 1525 else {
1526 subX = addX = ( extent - buttonDim ) / 2; 1526 subX = addX = ( extent - buttonDim ) / 2;
1527 subY = 0; 1527 subY = 0;
1528 addY = len - buttonDim; 1528 addY = len - buttonDim;
1529 if(sbBuffer.size() != sb->size()) 1529 if(sbBuffer.size() != sb->size())
1530 sbBuffer.resize(sb->size()); 1530 sbBuffer.resize(sb->size());
1531 } 1531 }
1532 subB.setRect( subX,subY,0,0); // buttonDim,buttonDim ); 1532 subB.setRect( subX,subY,0,0); // buttonDim,buttonDim );
1533 addB.setRect( addX,addY,buttonDim,buttonDim ); 1533 addB.setRect( addX,addY,buttonDim,buttonDim );
1534 if(horiz) 1534 if(horiz)
1535 subHC.setRect(addX-buttonDim,addY,buttonDim,buttonDim ); 1535 subHC.setRect(addX-buttonDim,addY,buttonDim,buttonDim );
1536 else 1536 else
1537 subHC.setRect(addX,addY-buttonDim,buttonDim,buttonDim ); 1537 subHC.setRect(addX,addY-buttonDim,buttonDim,buttonDim );
1538 1538
1539 int sliderEnd = sliderStart + sliderLength; 1539 int sliderEnd = sliderStart + sliderLength;
1540 int sliderW = extent; 1540 int sliderW = extent;
1541 1541
1542 if (horiz) { 1542 if (horiz) {
1543 subPageR.setRect( subB.right() + 1, 0, 1543 subPageR.setRect( subB.right() + 1, 0,
1544 sliderStart - subB.right() - 1 , sliderW ); 1544 sliderStart - subB.right() - 1 , sliderW );
1545 addPageR.setRect( sliderEnd, 0, addX - sliderEnd - buttonDim, sliderW ); 1545 addPageR.setRect( sliderEnd, 0, addX - sliderEnd - buttonDim, sliderW );
1546 sliderR .setRect( sliderStart, 0, sliderLength, sliderW ); 1546 sliderR .setRect( sliderStart, 0, sliderLength, sliderW );
1547 } 1547 }
1548 else { 1548 else {
1549 subPageR.setRect( 0, subB.bottom() + 1, sliderW, 1549 subPageR.setRect( 0, subB.bottom() + 1, sliderW,
1550 sliderStart - subB.bottom() - 1 ); 1550 sliderStart - subB.bottom() - 1 );
1551 addPageR.setRect( 0, sliderEnd, sliderW, addY - buttonDim - sliderEnd); 1551 addPageR.setRect( 0, sliderEnd, sliderW, addY - buttonDim - sliderEnd);
1552 sliderR .setRect( 0, sliderStart, sliderW, sliderLength ); 1552 sliderR .setRect( 0, sliderStart, sliderW, sliderLength );
1553 } 1553 }
1554 1554
1555 bool maxed = sb->maxValue() == sb->minValue(); 1555 bool maxed = sb->maxValue() == sb->minValue();
1556 1556
1557 QPainter painter; 1557 QPainter painter;
1558 if(!horiz){ 1558 if(!horiz){
1559 painter.begin(&sbBuffer); 1559 painter.begin(&sbBuffer);
1560 QRect bgR(0, subB.bottom()+1, sb->width(), (len-(buttonDim*2))+1); 1560 QRect bgR(0, subB.bottom()+1, sb->width(), (len-(buttonDim*2))+1);
1561 if(sliderR.height() >= 8){ 1561 if(sliderR.height() >= 8){
1562 painter.drawPixmap(bgR.x()+1, bgR.y(), *vsbSliderFillPix, 0, 0, 1562 painter.drawPixmap(bgR.x()+1, bgR.y(), *vsbSliderFillPix, 0, 0,
1563 13, 8); 1563 13, 8);
1564 painter.drawPixmap(bgR.x()+1, bgR.y(), *getPixmap(VSBSliderTopBg)); 1564 painter.drawPixmap(bgR.x()+1, bgR.y(), *getPixmap(VSBSliderTopBg));
1565 painter.drawTiledPixmap(bgR.x()+1, bgR.y()+8, 13, 1565 painter.drawTiledPixmap(bgR.x()+1, bgR.y()+8, 13,
1566 bgR.height()-16, *getPixmap(VSBSliderMidBg)); 1566 bgR.height()-16, *getPixmap(VSBSliderMidBg));
1567 painter.drawPixmap(bgR.x()+1, bgR.bottom()-8, *vsbSliderFillPix, 1567 painter.drawPixmap(bgR.x()+1, bgR.bottom()-8, *vsbSliderFillPix,
1568 0, 0, 13, 8); 1568 0, 0, 13, 8);
1569 painter.drawPixmap(bgR.x()+1, bgR.bottom()-8, *getPixmap(VSBSliderBtmBg)); 1569 painter.drawPixmap(bgR.x()+1, bgR.bottom()-8, *getPixmap(VSBSliderBtmBg));
1570 } 1570 }
1571 else{ 1571 else{
1572 painter.drawTiledPixmap(bgR.x()+1, bgR.y(), 13, bgR.height(), 1572 painter.drawTiledPixmap(bgR.x()+1, bgR.y(), 13, bgR.height(),
1573 *getPixmap(VSBSliderMidBg)); 1573 *getPixmap(VSBSliderMidBg));
1574 painter.setPen(g.background().dark(210)); 1574 painter.setPen(g.background().dark(210));
1575 painter.drawRect(bgR.x()+1, bgR.y(), 13, bgR.height()-1); 1575 painter.drawRect(bgR.x()+1, bgR.y(), 13, bgR.height()-1);
1576 painter.setPen(g.mid()); 1576 painter.setPen(g.mid());
1577 painter.drawPoint(bgR.x()+1, bgR.y()); 1577 painter.drawPoint(bgR.x()+1, bgR.y());
1578 painter.drawPoint(bgR.x()+13, bgR.y()); 1578 painter.drawPoint(bgR.x()+13, bgR.y());
1579 painter.drawPoint(bgR.x()+1, bgR.bottom()-1); 1579 painter.drawPoint(bgR.x()+1, bgR.bottom()-1);
1580 painter.drawPoint(bgR.x()+13, bgR.bottom()-1); 1580 painter.drawPoint(bgR.x()+13, bgR.bottom()-1);
1581 } 1581 }
1582 if(controls & Slider){ 1582 if(controls & Slider){
1583 if(sliderR.height() >= 16){ 1583 if(sliderR.height() >= 16){
1584 painter.drawPixmap(sliderR.x()+1, sliderR.y(), *getPixmap(VSBSliderTop)); 1584 painter.drawPixmap(sliderR.x()+1, sliderR.y(), *getPixmap(VSBSliderTop));
1585 painter.drawTiledPixmap(sliderR.x()+1, sliderR.y()+8, 13, 1585 painter.drawTiledPixmap(sliderR.x()+1, sliderR.y()+8, 13,
1586 sliderR.height()-16, *getPixmap(VSBSliderMid)); 1586 sliderR.height()-16, *getPixmap(VSBSliderMid));
1587 painter.drawPixmap(sliderR.x()+1, sliderR.bottom()-8, *getPixmap(VSBSliderBtm)); 1587 painter.drawPixmap(sliderR.x()+1, sliderR.bottom()-8, *getPixmap(VSBSliderBtm));
1588 } 1588 }
1589 else if(sliderR.height() >= 8){ 1589 else if(sliderR.height() >= 8){
1590 int m = sliderR.height()/2; 1590 int m = sliderR.height()/2;
1591 painter.drawPixmap(sliderR.x()+1, sliderR.y(), *getPixmap(VSBSliderTop), 0, 0, 13, m); 1591 painter.drawPixmap(sliderR.x()+1, sliderR.y(), *getPixmap(VSBSliderTop), 0, 0, 13, m);
1592 painter.drawPixmap(sliderR.x()+1, sliderR.y()+m, *getPixmap(VSBSliderBtm), 0, 8-m, 13, m); 1592 painter.drawPixmap(sliderR.x()+1, sliderR.y()+m, *getPixmap(VSBSliderBtm), 0, 8-m, 13, m);
1593 } 1593 }
1594 else{ 1594 else{
1595 painter.setPen(g.button().dark(210)); 1595 painter.setPen(g.button().dark(210));
1596 drawRoundRect(&painter, sliderR.x()+1, sliderR.y(), 1596 drawRoundRect(&painter, sliderR.x()+1, sliderR.y(),
1597 13, sliderR.height()); 1597 13, sliderR.height());
1598 painter.drawTiledPixmap(sliderR.x()+2, sliderR.y()+1, 1598 painter.drawTiledPixmap(sliderR.x()+2, sliderR.y()+1,
1599 11, sliderR.height()-2, 1599 11, sliderR.height()-2,
1600 *getPixmap(VSBSliderMid), 1, 0); 1600 *getPixmap(VSBSliderMid), 1, 0);
1601 } 1601 }
1602 } 1602 }
1603 painter.setPen(g.mid()); 1603 painter.setPen(g.mid());
1604 painter.drawLine(bgR.x(), bgR.y(), bgR.x(), bgR.bottom()); 1604 painter.drawLine(bgR.x(), bgR.y(), bgR.x(), bgR.bottom());
1605 painter.drawLine(bgR.right(), bgR.y(), bgR.right(), bgR.bottom()); 1605 painter.drawLine(bgR.right(), bgR.y(), bgR.right(), bgR.bottom());
1606 if(brokenApp && (controls & Slider)){ 1606 if(brokenApp && (controls & Slider)){
1607 painter.setPen(g.background()); 1607 painter.setPen(g.background());
1608 painter.drawLine(bgR.right()-1, bgR.y(), bgR.right()-1, 1608 painter.drawLine(bgR.right()-1, bgR.y(), bgR.right()-1,
1609 bgR.bottom()); 1609 bgR.bottom());
1610 } 1610 }
1611 painter.end(); 1611 painter.end();
1612 } 1612 }
1613 else{ 1613 else{
1614 painter.begin(&sbBuffer); 1614 painter.begin(&sbBuffer);
1615 QRect bgR(subB.right()+1, 0, (len-(buttonDim*2))+1, sb->height()); 1615 QRect bgR(subB.right()+1, 0, (len-(buttonDim*2))+1, sb->height());
1616 if(sliderR.width() >= 8){ 1616 if(sliderR.width() >= 8){
1617 painter.drawPixmap(bgR.x(), bgR.y()+1, *vsbSliderFillPix, 0, 0, 1617 painter.drawPixmap(bgR.x(), bgR.y()+1, *vsbSliderFillPix, 0, 0,
1618 8, 13); 1618 8, 13);
1619 painter.drawPixmap(bgR.x(), bgR.y()+1, *getPixmap(HSBSliderTopBg)); 1619 painter.drawPixmap(bgR.x(), bgR.y()+1, *getPixmap(HSBSliderTopBg));
1620 painter.drawTiledPixmap(bgR.x()+8, bgR.y()+1, bgR.width()-16, 1620 painter.drawTiledPixmap(bgR.x()+8, bgR.y()+1, bgR.width()-16,
1621 13, *getPixmap(HSBSliderMidBg)); 1621 13, *getPixmap(HSBSliderMidBg));
1622 painter.drawPixmap(bgR.right()-8, bgR.y()+1, *vsbSliderFillPix, 1622 painter.drawPixmap(bgR.right()-8, bgR.y()+1, *vsbSliderFillPix,
1623 0, 0, 8, 13); 1623 0, 0, 8, 13);
1624 painter.drawPixmap(bgR.right()-8, bgR.y()+1, *getPixmap(HSBSliderBtmBg)); 1624 painter.drawPixmap(bgR.right()-8, bgR.y()+1, *getPixmap(HSBSliderBtmBg));
1625 } 1625 }
1626 else{ 1626 else{
1627 painter.drawTiledPixmap(bgR.x(), bgR.y()+1, bgR.width(), 13, 1627 painter.drawTiledPixmap(bgR.x(), bgR.y()+1, bgR.width(), 13,
1628 *getPixmap(HSBSliderMidBg)); 1628 *getPixmap(HSBSliderMidBg));
1629 painter.setPen(g.background().dark(210)); 1629 painter.setPen(g.background().dark(210));
1630 painter.drawRect(bgR.x(), bgR.y()+1, bgR.width()-1, 13); 1630 painter.drawRect(bgR.x(), bgR.y()+1, bgR.width()-1, 13);
1631 painter.setPen(g.mid()); 1631 painter.setPen(g.mid());
1632 painter.drawPoint(bgR.x(), bgR.y()+1); 1632 painter.drawPoint(bgR.x(), bgR.y()+1);
1633 painter.drawPoint(bgR.x(), bgR.bottom()-1); 1633 painter.drawPoint(bgR.x(), bgR.bottom()-1);
1634 painter.drawPoint(bgR.right()-1, bgR.y()+1); 1634 painter.drawPoint(bgR.right()-1, bgR.y()+1);
1635 painter.drawPoint(bgR.right()-1, bgR.bottom()-1); 1635 painter.drawPoint(bgR.right()-1, bgR.bottom()-1);
1636 } 1636 }
1637 if(controls & Slider){ 1637 if(controls & Slider){
1638 if(sliderR.width() >= 16){ 1638 if(sliderR.width() >= 16){
1639 painter.drawPixmap(sliderR.x(), sliderR.y()+1, 1639 painter.drawPixmap(sliderR.x(), sliderR.y()+1,
1640 *getPixmap(HSBSliderTop)); 1640 *getPixmap(HSBSliderTop));
1641 painter.drawTiledPixmap(sliderR.x()+8, sliderR.y()+1, sliderR.width()-16, 1641 painter.drawTiledPixmap(sliderR.x()+8, sliderR.y()+1, sliderR.width()-16,
1642 13, *getPixmap(HSBSliderMid)); 1642 13, *getPixmap(HSBSliderMid));
1643 painter.drawPixmap(sliderR.right()-8, sliderR.y()+1, 1643 painter.drawPixmap(sliderR.right()-8, sliderR.y()+1,
1644 *getPixmap(HSBSliderBtm)); 1644 *getPixmap(HSBSliderBtm));
1645 } 1645 }
1646 else if(sliderR.width() >= 8){ 1646 else if(sliderR.width() >= 8){
1647 int m = sliderR.width()/2; 1647 int m = sliderR.width()/2;
1648 painter.drawPixmap(sliderR.x(), sliderR.y()+1, 1648 painter.drawPixmap(sliderR.x(), sliderR.y()+1,
1649 *getPixmap(HSBSliderTop), 0, 0, m, 13); 1649 *getPixmap(HSBSliderTop), 0, 0, m, 13);
1650 painter.drawPixmap(sliderR.right()-8, sliderR.y()+1, 1650 painter.drawPixmap(sliderR.right()-8, sliderR.y()+1,
1651 *getPixmap(HSBSliderBtm), 8-m, 0, m, 13); 1651 *getPixmap(HSBSliderBtm), 8-m, 0, m, 13);
1652 } 1652 }
1653 else{ 1653 else{
1654 painter.setPen(g.button().dark(210)); 1654 painter.setPen(g.button().dark(210));
1655 drawRoundRect(&painter, sliderR.x(), sliderR.y()+1, 1655 drawRoundRect(&painter, sliderR.x(), sliderR.y()+1,
1656 sliderR.width(), 13); 1656 sliderR.width(), 13);
1657 painter.drawTiledPixmap(sliderR.x()+1, sliderR.y()+2, 1657 painter.drawTiledPixmap(sliderR.x()+1, sliderR.y()+2,
1658 sliderR.width()-2, 11, 1658 sliderR.width()-2, 11,
1659 *getPixmap(HSBSliderMid), 0, 1); 1659 *getPixmap(HSBSliderMid), 0, 1);
1660 } 1660 }
1661 } 1661 }
1662 painter.setPen(g.mid()); 1662 painter.setPen(g.mid());
1663 painter.drawLine(bgR.x(), bgR.y(), bgR.right(), bgR.y()); 1663 painter.drawLine(bgR.x(), bgR.y(), bgR.right(), bgR.y());
1664 painter.drawLine(bgR.x(), bgR.bottom(), bgR.right(), bgR.bottom()); 1664 painter.drawLine(bgR.x(), bgR.bottom(), bgR.right(), bgR.bottom());
1665 if(brokenApp && (controls & Slider)){ 1665 if(brokenApp && (controls & Slider)){
1666 painter.setPen(g.background()); 1666 painter.setPen(g.background());
1667 painter.drawLine(bgR.x(), bgR.bottom()-1, bgR.right(), 1667 painter.drawLine(bgR.x(), bgR.bottom()-1, bgR.right(),
1668 bgR.bottom()-1); 1668 bgR.bottom()-1);
1669 } 1669 }
1670 painter.end(); 1670 painter.end();
1671 } 1671 }
1672 1672
1673 if ( controls & AddLine ) { 1673 if ( controls & AddLine ) {
1674 drawSBButton(p, addB, g, activeControl == AddLine); 1674 drawSBButton(p, addB, g, activeControl == AddLine);
1675 drawArrow( p, horiz ? RightArrow : DownArrow, 1675 drawArrow( p, horiz ? RightArrow : DownArrow,
1676 false, addB.x()+4, addB.y()+4, 1676 false, addB.x()+4, addB.y()+4,
1677 addB.width()-8, addB.height()-8, g, !maxed); 1677 addB.width()-8, addB.height()-8, g, !maxed);
1678 } 1678 }
1679 if ( controls & SubLine ) { 1679 if ( controls & SubLine ) {
1680 // drawSBButton(p, subB, g, activeControl == SubLine); 1680 // drawSBButton(p, subB, g, activeControl == SubLine);
1681 // drawArrow( p, horiz ? LeftArrow : UpArrow, 1681 // drawArrow( p, horiz ? LeftArrow : UpArrow,
1682 // false, subB.x()+4, subB.y()+4, 1682 // false, subB.x()+4, subB.y()+4,
1683 // subB.width()-8, subB.height()-8, g, !maxed); 1683 // subB.width()-8, subB.height()-8, g, !maxed);
1684 drawSBButton(p, subHC, g, activeControl == SubLine); 1684 drawSBButton(p, subHC, g, activeControl == SubLine);
1685 drawArrow( p, horiz ? LeftArrow : UpArrow, 1685 drawArrow( p, horiz ? LeftArrow : UpArrow,
1686 false, subHC.x()+4, subHC.y()+4, 1686 false, subHC.x()+4, subHC.y()+4,
1687 subHC.width()-8, subHC.height()-8, g, !maxed); 1687 subHC.width()-8, subHC.height()-8, g, !maxed);
1688 } 1688 }
1689 1689
1690 if(controls & AddPage){ 1690 if(controls & AddPage){
1691 if(addPageR.width()){ 1691 if(addPageR.width()){
1692 p->drawPixmap(addPageR.x(), addPageR.y(), sbBuffer, 1692 p->drawPixmap(addPageR.x(), addPageR.y(), sbBuffer,
1693 addPageR.x(), addPageR.y(), addPageR.width(), 1693 addPageR.x(), addPageR.y(), addPageR.width(),
1694 addPageR.height()); 1694 addPageR.height());
1695 } 1695 }
1696 } 1696 }
1697 if(controls & SubPage){ 1697 if(controls & SubPage){
1698 if(subPageR.height()){ 1698 if(subPageR.height()){
1699 p->drawPixmap(subPageR.x(), subPageR.y(), sbBuffer, 1699 p->drawPixmap(subPageR.x(), subPageR.y(), sbBuffer,
1700 subPageR.x(), subPageR.y(), subPageR.width(), 1700 subPageR.x(), subPageR.y(), subPageR.width(),
1701 subPageR.height()); 1701 subPageR.height());
1702 } 1702 }
1703 } 1703 }
1704 if ( controls & Slider ) { 1704 if ( controls & Slider ) {
1705 p->drawPixmap(sliderR.x(), sliderR.y(), sbBuffer, 1705 p->drawPixmap(sliderR.x(), sliderR.y(), sbBuffer,
1706 sliderR.x(), sliderR.y(), sliderR.width(), 1706 sliderR.x(), sliderR.y(), sliderR.width(),
1707 sliderR.height()); 1707 sliderR.height());
1708 } 1708 }
1709} 1709}
1710 1710
1711void LiquidStyle::drawSBButton(QPainter *p, const QRect &r, const QColorGroup &g, 1711void LiquidStyle::drawSBButton(QPainter *p, const QRect &r, const QColorGroup &g,
1712 bool down, bool /*fast*/) 1712 bool down, bool /*fast*/)
1713{ 1713{
1714 p->setPen(g.mid()); 1714 p->setPen(g.mid());
1715 p->drawRect(r); 1715 p->drawRect(r);
1716 QColor c(down ? g.button() : g.background()); 1716 QColor c(down ? g.button() : g.background());
1717 QPixmap *pix = bevelFillDict.find(c.rgb()); 1717 QPixmap *pix = bevelFillDict.find(c.rgb());
1718 if(!pix){ 1718 if(!pix){
1719 int h, s, v; 1719 int h, s, v;
1720 c.hsv(&h, &s, &v); 1720 c.hsv(&h, &s, &v);
1721 pix = new QPixmap(*bevelFillPix); 1721 pix = new QPixmap(*bevelFillPix);
1722 adjustHSV(*pix, h, s, v); 1722 adjustHSV(*pix, h, s, v);
1723 bevelFillDict.insert(c.rgb(), pix); 1723 bevelFillDict.insert(c.rgb(), pix);
1724 } 1724 }
1725 p->drawTiledPixmap(r.x()+1, r.y()+1, r.width()-2, r.height()-2, *pix); 1725 p->drawTiledPixmap(r.x()+1, r.y()+1, r.width()-2, r.height()-2, *pix);
1726 1726
1727} 1727}
1728 1728
1729void LiquidStyle::drawSBDeco(QPainter *p, const QRect &r, const QColorGroup &g, 1729void LiquidStyle::drawSBDeco(QPainter *p, const QRect &r, const QColorGroup &g,
1730 bool horiz) 1730 bool horiz)
1731{ 1731{
1732 if(horiz){ 1732 if(horiz){
1733 if(r.width() >= 15){ 1733 if(r.width() >= 15){
1734 int y = r.y()+3; 1734 int y = r.y()+3;
1735 int x = r.x() + (r.width()-7)/2; 1735 int x = r.x() + (r.width()-7)/2;
1736 int y2 = r.bottom()-3; 1736 int y2 = r.bottom()-3;
1737 p->setPen(g.light()); 1737 p->setPen(g.light());
1738 p->drawLine(x, y, x, y2); 1738 p->drawLine(x, y, x, y2);
1739 p->drawLine(x+3, y, x+3, y2); 1739 p->drawLine(x+3, y, x+3, y2);
1740 p->drawLine(x+6, y, x+6, y2); 1740 p->drawLine(x+6, y, x+6, y2);
1741 1741
1742 p->setPen(g.mid()); 1742 p->setPen(g.mid());
1743 p->drawLine(x+1, y, x+1, y2); 1743 p->drawLine(x+1, y, x+1, y2);
1744 p->drawLine(x+4, y, x+4, y2); 1744 p->drawLine(x+4, y, x+4, y2);
1745 p->drawLine(x+7, y, x+7, y2); 1745 p->drawLine(x+7, y, x+7, y2);
1746 } 1746 }
1747 } 1747 }
1748 else{ 1748 else{
1749 if(r.height() >= 15){ 1749 if(r.height() >= 15){
1750 int x = r.x()+3; 1750 int x = r.x()+3;
1751 int y = r.y() + (r.height()-7)/2; 1751 int y = r.y() + (r.height()-7)/2;
1752 int x2 = r.right()-3; 1752 int x2 = r.right()-3;
1753 p->setPen(g.light()); 1753 p->setPen(g.light());
1754 p->drawLine(x, y, x2, y); 1754 p->drawLine(x, y, x2, y);
1755 p->drawLine(x, y+3, x2, y+3); 1755 p->drawLine(x, y+3, x2, y+3);
1756 p->drawLine(x, y+6, x2, y+6); 1756 p->drawLine(x, y+6, x2, y+6);
1757 1757
1758 p->setPen(g.mid()); 1758 p->setPen(g.mid());
1759 p->drawLine(x, y+1, x2, y+1); 1759 p->drawLine(x, y+1, x2, y+1);
1760 p->drawLine(x, y+4, x2, y+4); 1760 p->drawLine(x, y+4, x2, y+4);
1761 p->drawLine(x, y+7, x2, y+7); 1761 p->drawLine(x, y+7, x2, y+7);
1762 } 1762 }
1763 } 1763 }
1764 1764
1765} 1765}
1766 1766
1767 1767
1768void LiquidStyle::scrollBarMetrics(const QScrollBar *sb, int &sliderMin, 1768void LiquidStyle::scrollBarMetrics(const QScrollBar *sb, int &sliderMin,
1769 int &sliderMax, int &sliderLength, 1769 int &sliderMax, int &sliderLength,
1770 int &buttonDim) 1770 int &buttonDim)
1771{ 1771{
1772 1772
1773 int maxLength; 1773 int maxLength;
1774 int b = 0; 1774 int b = 0;
1775 bool horiz = sb->orientation() == QScrollBar::Horizontal; 1775 bool horiz = sb->orientation() == QScrollBar::Horizontal;
1776 int length = horiz ? sb->width() : sb->height(); 1776 int length = horiz ? sb->width() : sb->height();
1777 int extent = horiz ? sb->height() : sb->width(); 1777 int extent = horiz ? sb->height() : sb->width();
1778 1778
1779 if ( length > ( extent - b*2 - 1 )*2 + b*2 ) 1779 if ( length > ( extent - b*2 - 1 )*2 + b*2 )
1780 buttonDim = extent - b*2; 1780 buttonDim = extent - b*2;
1781 else 1781 else
1782 buttonDim = ( length - b*2 )/2 - 1; 1782 buttonDim = ( length - b*2 )/2 - 1;
1783 1783
1784 sliderMin = b + 0; // buttonDim; 1784 sliderMin = b + 0; // buttonDim;
1785 maxLength = length - b*2 - buttonDim*2; // 3; 1785 maxLength = length - b*2 - buttonDim*2; // 3;
1786 1786
1787 if ( sb->maxValue() == sb->minValue() ) { 1787 if ( sb->maxValue() == sb->minValue() ) {
1788 sliderLength = maxLength; 1788 sliderLength = maxLength;
1789 } else { 1789 } else {
1790 sliderLength = (sb->pageStep()*maxLength)/ 1790 sliderLength = (sb->pageStep()*maxLength)/
1791 (sb->maxValue()-sb->minValue()+sb->pageStep()); 1791 (sb->maxValue()-sb->minValue()+sb->pageStep());
1792 uint range = sb->maxValue()-sb->minValue(); 1792 uint range = sb->maxValue()-sb->minValue();
1793 if ( sliderLength < 9 || range > INT_MAX/2 ) 1793 if ( sliderLength < 9 || range > INT_MAX/2 )
1794 sliderLength = 9; 1794 sliderLength = 9;
1795 if ( sliderLength > maxLength ) 1795 if ( sliderLength > maxLength )
1796 sliderLength = maxLength; 1796 sliderLength = maxLength;
1797 } 1797 }
1798 sliderMax = sliderMin + maxLength - sliderLength; 1798 sliderMax = sliderMin + maxLength - sliderLength;
1799 1799
1800} 1800}
1801 1801
1802QStyle::ScrollControl LiquidStyle::scrollBarPointOver(const QScrollBar *sb, 1802QStyle::ScrollControl LiquidStyle::scrollBarPointOver(const QScrollBar *sb,
1803 int sliderStart, 1803 int sliderStart,
1804 const QPoint &p) 1804 const QPoint &p)
1805{ 1805{
1806 if ( !sb->rect().contains( p ) ) 1806 if ( !sb->rect().contains( p ) )
1807 return NoScroll; 1807 return NoScroll;
1808 int sliderMin, sliderMax, sliderLength, buttonDim, pos; 1808 int sliderMin, sliderMax, sliderLength, buttonDim, pos;
1809 scrollBarMetrics( sb, sliderMin, sliderMax, sliderLength, buttonDim ); 1809 scrollBarMetrics( sb, sliderMin, sliderMax, sliderLength, buttonDim );
1810 pos = (sb->orientation() == QScrollBar::Horizontal)? p.x() : p.y(); 1810 pos = (sb->orientation() == QScrollBar::Horizontal)? p.x() : p.y();
1811 if ( pos < sliderMin ) 1811 if ( pos < sliderMin )
1812 return SubLine; 1812 return SubLine;
1813 if ( pos < sliderStart ) 1813 if ( pos < sliderStart )
1814 return SubPage; 1814 return SubPage;
1815 if ( pos < sliderStart + sliderLength ) 1815 if ( pos < sliderStart + sliderLength )
1816 return Slider; 1816 return Slider;
1817 if ( pos < sliderMax + sliderLength) 1817 if ( pos < sliderMax + sliderLength)
1818 return AddPage; 1818 return AddPage;
1819 if(pos > sliderMax + sliderLength + 16) 1819 if(pos > sliderMax + sliderLength + 16)
1820 return AddLine; 1820 return AddLine;
1821 1821
1822 return SubLine; 1822 return SubLine;
1823} 1823}
1824 1824
1825#define QCOORDARRLEN(x) sizeof(x)/(sizeof(QCOORD)*2) 1825#define QCOORDARRLEN(x) sizeof(x)/(sizeof(QCOORD)*2)
1826 1826
1827 1827
1828QSize LiquidStyle::exclusiveIndicatorSize() const 1828QSize LiquidStyle::exclusiveIndicatorSize() const
1829{ 1829{
1830 return(QSize(16, 16)); 1830 return(QSize(16, 16));
1831} 1831}
1832 1832
1833void LiquidStyle::drawExclusiveIndicator(QPainter *p, int x, int y, int /*w*/, 1833void LiquidStyle::drawExclusiveIndicator(QPainter *p, int x, int y, int /*w*/,
1834 int /*h*/, const QColorGroup &/*g*/, bool on, 1834 int /*h*/, const QColorGroup &/*g*/, bool on,
1835 bool down, bool) 1835 bool down, bool)
1836{ 1836{
1837 bool isActive = ( p->device()->devType() == QInternal::Widget ) && ( qApp-> focusWidget ( ) == p-> device ( )); 1837 bool isActive = ( p->device()->devType() == QInternal::Widget ) && ( qApp-> focusWidget ( ) == p-> device ( ));
1838 bool isMasked = p->device() && p->device()->devType() == QInternal::Widget 1838 bool isMasked = p->device() && p->device()->devType() == QInternal::Widget
1839 && ((QWidget*)p->device())->autoMask(); 1839 && ((QWidget*)p->device())->autoMask();
1840 1840
1841 if(isMasked){ 1841 if(isMasked){
1842 if(on || down){ 1842 if(on || down){
1843 p->drawPixmap(x, y, isActive ? *getPixmap(HTMLRadioDownHover) : 1843 p->drawPixmap(x, y, isActive ? *getPixmap(HTMLRadioDownHover) :
1844 *getPixmap(HTMLRadioDown)); 1844 *getPixmap(HTMLRadioDown));
1845 } 1845 }
1846 else 1846 else
1847 p->drawPixmap(x, y, isActive ? *getPixmap(HTMLRadioHover) : 1847 p->drawPixmap(x, y, isActive ? *getPixmap(HTMLRadioHover) :
1848 *getPixmap(HTMLRadio)); 1848 *getPixmap(HTMLRadio));
1849 1849
1850 } 1850 }
1851 else{ 1851 else{
1852 if(on || down){ 1852 if(on || down){
1853 p->drawPixmap(x, y, isActive ? *getPixmap(RadioOnHover) : 1853 p->drawPixmap(x, y, isActive ? *getPixmap(RadioOnHover) :
1854 *getPixmap(RadioOn)); 1854 *getPixmap(RadioOn));
1855 } 1855 }
1856 else 1856 else
1857 p->drawPixmap(x, y, isActive ? *getPixmap(RadioOffHover) : 1857 p->drawPixmap(x, y, isActive ? *getPixmap(RadioOffHover) :
1858 *getPixmap(RadioOff)); 1858 *getPixmap(RadioOff));
1859 } 1859 }
1860} 1860}
1861 1861
1862void LiquidStyle::drawExclusiveIndicatorMask(QPainter *p, int x, int y, int w, 1862void LiquidStyle::drawExclusiveIndicatorMask(QPainter *p, int x, int y, int w,
1863 int h, bool) 1863 int h, bool)
1864{ 1864{
1865 p->fillRect(x, y, w, h, Qt::color0); 1865 p->fillRect(x, y, w, h, Qt::color0);
1866 p->setPen(Qt::color1); 1866 p->setPen(Qt::color1);
1867 p->drawPixmap(x, y, *getPixmap(RadioOn)->mask()); 1867 p->drawPixmap(x, y, *getPixmap(RadioOn)->mask());
1868} 1868}
1869 1869
1870 1870
1871QSize LiquidStyle::indicatorSize() const 1871QSize LiquidStyle::indicatorSize() const
1872{ 1872{
1873 return(QSize(20, 22)); 1873 return(QSize(20, 22));
1874} 1874}
1875 1875
1876void LiquidStyle::drawIndicator(QPainter *p, int x, int y, int /*w*/, int /*h*/, 1876void LiquidStyle::drawIndicator(QPainter *p, int x, int y, int /*w*/, int /*h*/,
1877 const QColorGroup &/*g*/, int state, bool /*down*/, bool) 1877 const QColorGroup &/*g*/, int state, bool /*down*/, bool)
1878{ 1878{
1879 bool isActive = ( p->device()->devType() == QInternal::Widget ) && ( qApp-> focusWidget ( ) == p-> device ( )); 1879 bool isActive = ( p->device()->devType() == QInternal::Widget ) && ( qApp-> focusWidget ( ) == p-> device ( ));
1880 bool isMasked = p->device() && p->device()->devType() == QInternal::Widget 1880 bool isMasked = p->device() && p->device()->devType() == QInternal::Widget
1881 && ((QWidget*)p->device())->autoMask(); 1881 && ((QWidget*)p->device())->autoMask();
1882 if(isMasked){ 1882 if(isMasked){
1883 if(state != QButton::Off){ 1883 if(state != QButton::Off){
1884 p->drawPixmap(x, y, isActive ? *getPixmap(HTMLCBDownHover) : 1884 p->drawPixmap(x, y, isActive ? *getPixmap(HTMLCBDownHover) :
1885 *getPixmap(HTMLCBDown)); 1885 *getPixmap(HTMLCBDown));
1886 } 1886 }
1887 else 1887 else
1888 p->drawPixmap(x, y, isActive ? *getPixmap(HTMLCBHover) : 1888 p->drawPixmap(x, y, isActive ? *getPixmap(HTMLCBHover) :
1889 *getPixmap(HTMLCB)); 1889 *getPixmap(HTMLCB));
1890 1890
1891 } 1891 }
1892 else{ 1892 else{
1893 if(state != QButton::Off){ 1893 if(state != QButton::Off){
1894 p->drawPixmap(x, y, isActive ? *getPixmap(CBDownHover) : 1894 p->drawPixmap(x, y, isActive ? *getPixmap(CBDownHover) :
1895 *getPixmap(CBDown)); 1895 *getPixmap(CBDown));
1896 /* Todo - tristate 1896 /* Todo - tristate
1897 if(state == QButton::On){ 1897 if(state == QButton::On){
1898 p->setPen(Qt::black); 1898 p->setPen(Qt::black);
1899 p->drawPixmap(3, 3, xBmp); 1899 p->drawPixmap(3, 3, xBmp);
1900 } 1900 }
1901 else{ 1901 else{
1902 p->setPen(g.dark()); 1902 p->setPen(g.dark());
1903 p->drawRect(x+2, y+2, w-4, h-4); 1903 p->drawRect(x+2, y+2, w-4, h-4);
1904 p->setPen(Qt::black); 1904 p->setPen(Qt::black);
1905 p->drawLine(x+3, (y+h)/2-2, x+w-4, (y+h)/2-2); 1905 p->drawLine(x+3, (y+h)/2-2, x+w-4, (y+h)/2-2);
1906 p->drawLine(x+3, (y+h)/2, x+w-4, (y+h)/2); 1906 p->drawLine(x+3, (y+h)/2, x+w-4, (y+h)/2);
1907 p->drawLine(x+3, (y+h)/2+2, x+w-4, (y+h)/2+2); 1907 p->drawLine(x+3, (y+h)/2+2, x+w-4, (y+h)/2+2);
1908 }*/ 1908 }*/
1909 } 1909 }
1910 else 1910 else
1911 p->drawPixmap(x, y, isActive ? *getPixmap(CBHover) : *getPixmap(CB)); 1911 p->drawPixmap(x, y, isActive ? *getPixmap(CBHover) : *getPixmap(CB));
1912 } 1912 }
1913} 1913}
1914 1914
1915void LiquidStyle::drawIndicatorMask(QPainter *p, int x, int y, int /*w*/, int /*h*/, 1915void LiquidStyle::drawIndicatorMask(QPainter *p, int x, int y, int /*w*/, int /*h*/,
1916 int /*state*/) 1916 int /*state*/)
1917{ 1917{
1918 // needed for some reason by KHtml, even tho it's all filled ;P 1918 // needed for some reason by KHtml, even tho it's all filled ;P
1919 p->drawPixmap(x, y, *getPixmap(HTMLCB)->mask()); 1919 p->drawPixmap(x, y, *getPixmap(HTMLCB)->mask());
1920 1920
1921} 1921}
1922 1922
1923void LiquidStyle::drawSlider(QPainter *p, int x, int y, int w, int h, 1923void LiquidStyle::drawSlider(QPainter *p, int x, int y, int w, int h,
1924 const QColorGroup &/*g*/, Orientation orient, 1924 const QColorGroup &/*g*/, Orientation orient,
1925 bool, bool) 1925 bool, bool)
1926{ 1926{
1927 QWidget *parent = (QWidget *)p->device(); 1927 QWidget *parent = (QWidget *)p->device();
1928 p->setBrushOrigin(parent->pos()); 1928 p->setBrushOrigin(parent->pos());
1929 parent->erase(x, y, w, h); 1929 parent->erase(x, y, w, h);
1930 p->drawPixmap(x, y, orient == Qt::Horizontal ? *getPixmap(HSlider) : 1930 p->drawPixmap(x, y, orient == Qt::Horizontal ? *getPixmap(HSlider) :
1931 *getPixmap(VSlider)); 1931 *getPixmap(VSlider));
1932} 1932}
1933 1933
1934void LiquidStyle::drawSliderMask(QPainter *p, int x, int y, int /*w*/, int /*h*/, 1934void LiquidStyle::drawSliderMask(QPainter *p, int x, int y, int /*w*/, int /*h*/,
1935 Orientation orient, bool, bool) 1935 Orientation orient, bool, bool)
1936{ 1936{
1937 p->drawPixmap(x, y, orient == Qt::Horizontal ? *getPixmap(HSlider)->mask() : 1937 p->drawPixmap(x, y, orient == Qt::Horizontal ? *getPixmap(HSlider)->mask() :
1938 *getPixmap(VSlider)->mask()); 1938 *getPixmap(VSlider)->mask());
1939} 1939}
1940 1940
1941int LiquidStyle::sliderLength() const 1941int LiquidStyle::sliderLength() const
1942{ 1942{
1943 return(10); 1943 return(10);
1944} 1944}
1945 1945
1946#define QCOORDARRLEN(x) sizeof(x)/(sizeof(QCOORD)*2) 1946#define QCOORDARRLEN(x) sizeof(x)/(sizeof(QCOORD)*2)
1947 1947
1948void LiquidStyle::drawArrow(QPainter *p, Qt::ArrowType type, bool on, int x, 1948void LiquidStyle::drawArrow(QPainter *p, Qt::ArrowType type, bool on, int x,
1949 int y, int w, int h, const QColorGroup &g, 1949 int y, int w, int h, const QColorGroup &g,
1950 bool enabled, const QBrush *) 1950 bool enabled, const QBrush *)
1951{ 1951{
1952 static const QCOORD u_arrow[]={3,1, 4,1, 2,2, 5,2, 1,3, 6,3, 0,4, 7,4, 0,5, 7,5}; 1952 static const QCOORD u_arrow[]={3,1, 4,1, 2,2, 5,2, 1,3, 6,3, 0,4, 7,4, 0,5, 7,5};
1953 static const QCOORD d_arrow[]={0,2, 7,2, 0,3, 7,3, 1,4, 6,4, 2,5, 5,5, 3,6, 4,6}; 1953 static const QCOORD d_arrow[]={0,2, 7,2, 0,3, 7,3, 1,4, 6,4, 2,5, 5,5, 3,6, 4,6};
1954 static const QCOORD l_arrow[]={1,3, 1,4, 2,2, 2,5, 3,1, 3,6, 4,0, 4,7, 5,0, 5,7}; 1954 static const QCOORD l_arrow[]={1,3, 1,4, 2,2, 2,5, 3,1, 3,6, 4,0, 4,7, 5,0, 5,7};
1955 static const QCOORD r_arrow[]={2,0, 2,7, 3,0, 3,7, 4,1, 4,6, 5,2, 5,5, 6,3, 6,4}; 1955 static const QCOORD r_arrow[]={2,0, 2,7, 3,0, 3,7, 4,1, 4,6, 5,2, 5,5, 6,3, 6,4};
1956 1956
1957 p->setPen(enabled ? on ? g.light() : g.buttonText() : g.mid()); 1957 p->setPen(enabled ? on ? g.light() : g.buttonText() : g.mid());
1958 if(w > 8){ 1958 if(w > 8){
1959 x = x + (w-8)/2; 1959 x = x + (w-8)/2;
1960 y = y + (h-8)/2; 1960 y = y + (h-8)/2;
1961 } 1961 }
1962 1962
1963 QPointArray a; 1963 QPointArray a;
1964 switch(type){ 1964 switch(type){
1965 case Qt::UpArrow: 1965 case Qt::UpArrow:
1966 a.setPoints(QCOORDARRLEN(u_arrow), u_arrow); 1966 a.setPoints(QCOORDARRLEN(u_arrow), u_arrow);
1967 break; 1967 break;
1968 case Qt::DownArrow: 1968 case Qt::DownArrow:
1969 a.setPoints(QCOORDARRLEN(d_arrow), d_arrow); 1969 a.setPoints(QCOORDARRLEN(d_arrow), d_arrow);
1970 break; 1970 break;
1971 case Qt::LeftArrow: 1971 case Qt::LeftArrow:
1972 a.setPoints(QCOORDARRLEN(l_arrow), l_arrow); 1972 a.setPoints(QCOORDARRLEN(l_arrow), l_arrow);
1973 break; 1973 break;
1974 default: 1974 default:
1975 a.setPoints(QCOORDARRLEN(r_arrow), r_arrow); 1975 a.setPoints(QCOORDARRLEN(r_arrow), r_arrow);
1976 break; 1976 break;
1977 } 1977 }
1978 1978
1979 a.translate(x, y); 1979 a.translate(x, y);
1980 p->drawLineSegments(a); 1980 p->drawLineSegments(a);
1981} 1981}
1982 1982
1983 1983
1984void LiquidStyle::drawMenuBarItem(QPainter *p, int x, int y, int w, int h, 1984void LiquidStyle::drawMenuBarItem(QPainter *p, int x, int y, int w, int h,
1985 QMenuItem *mi, QColorGroup &g, bool /*enabled*/, bool active ) 1985 QMenuItem *mi, QColorGroup &g, bool /*enabled*/, bool active )
1986 { 1986 {
1987 if(active){ 1987 if(active){
1988 x -= 2; // Bug in Qt/E 1988 x -= 2; // Bug in Qt/E
1989 y -= 2; 1989 y -= 2;
1990 w += 2; 1990 w += 2;
1991 h += 2; 1991 h += 2;
1992 } 1992 }
1993 1993
1994 QWidget *parent = (QWidget *)p->device(); 1994 QWidget *parent = (QWidget *)p->device();
1995 p->setBrushOrigin(parent->pos()); 1995 p->setBrushOrigin(parent->pos());
1996 parent->erase(x, y, w, h); 1996 parent->erase(x, y, w, h);
1997 1997
1998 if(menuHandler->useShadowText()){ 1998 if(menuHandler->useShadowText()){
1999 QColor shadow; 1999 QColor shadow;
2000 if(p->device() && p->device()->devType() == QInternal::Widget && 2000 if(p->device() && p->device()->devType() == QInternal::Widget &&
2001 ((QWidget *)p->device())->inherits("QMenuBar")){ 2001 ((QWidget *)p->device())->inherits("QMenuBar")){
2002 shadow = ((QMenuBar*)p->device())->isTopLevel() ? g.button().dark(130) : 2002 shadow = ((QMenuBar*)p->device())->isTopLevel() ? g.button().dark(130) :
2003 g.background().dark(130); 2003 g.background().dark(130);
2004 } 2004 }
2005 else 2005 else
2006 shadow = g.background().dark(130); 2006 shadow = g.background().dark(130);
2007 2007
2008 QPixmap *dummy = 0;
2009
2010 if ( mi-> pixmap ( ) && !mi-> pixmap ( )-> isNull ( )) {
2011 dummy = new QPixmap ( mi-> pixmap ( )-> size ( ));
2012 QBitmap dummy_mask ( dummy-> size ( ));
2013 dummy_mask. fill ( color1 );
2014 dummy-> setMask ( dummy_mask );
2015 }
2016
2008 if(active){ 2017 if(active){
2009 drawClearBevel(p, x+1, y+1, w-1, h-1, g.button(), g.background()); 2018 drawClearBevel(p, x+1, y+1, w-1, h-1, g.button(), g.background());
2010 QApplication::style().drawItem(p, x+1, y+1, w, h, 2019 QApplication::style().drawItem(p, x+1, y+1, w, h,
2011 AlignCenter|ShowPrefix|DontClip|SingleLine, 2020 AlignCenter|ShowPrefix|DontClip|SingleLine,
2012 g, mi->isEnabled(), NULL, mi->text(), 2021 g, mi->isEnabled(), dummy, mi->text(),
2013 -1, &shadow); 2022 -1, &shadow);
2014 QApplication::style().drawItem(p, x, y, w, h, 2023 QApplication::style().drawItem(p, x, y, w, h,
2015 AlignCenter|ShowPrefix|DontClip|SingleLine, 2024 AlignCenter|ShowPrefix|DontClip|SingleLine,
2016 g, mi->isEnabled(), NULL, mi->text(), 2025 g, mi->isEnabled(), mi-> pixmap ( ), mi->text(),
2017 -1, &g.text()); 2026 -1, &g.text());
2018 } 2027 }
2019 else{ 2028 else{
2020 QApplication::style().drawItem(p, x+1, y+1, w, h, 2029 QApplication::style().drawItem(p, x+1, y+1, w, h,
2021 AlignCenter|ShowPrefix|DontClip|SingleLine, 2030 AlignCenter|ShowPrefix|DontClip|SingleLine,
2022 g, mi->isEnabled(), NULL, mi->text(), 2031 g, mi->isEnabled(), dummy, mi->text(),
2023 -1, &shadow); 2032 -1, &shadow);
2024 QApplication::style().drawItem(p, x, y, w, h, 2033 QApplication::style().drawItem(p, x, y, w, h,
2025 AlignCenter|ShowPrefix|DontClip|SingleLine, 2034 AlignCenter|ShowPrefix|DontClip|SingleLine,
2026 g, mi->isEnabled(), NULL, mi->text(), 2035 g, mi->isEnabled(), mi-> pixmap ( ), mi->text(),
2027 -1, &g.text()); 2036 -1, &g.text());
2028 } 2037 }
2038 delete dummy;
2029 } 2039 }
2030 else{ 2040 else{
2031 if(active) 2041 if(active)
2032 drawClearBevel(p, x+1, y+1, w-1, h-1, g.button(), g.background()); 2042 drawClearBevel(p, x+1, y+1, w-1, h-1, g.button(), g.background());
2033 QApplication::style().drawItem(p, x, y, w, h, 2043 QApplication::style().drawItem(p, x, y, w, h,
2034 AlignCenter|ShowPrefix|DontClip|SingleLine, 2044 AlignCenter|ShowPrefix|DontClip|SingleLine,
2035 g, mi->isEnabled(), NULL, mi->text(), 2045 g, mi->isEnabled(), mi-> pixmap ( ), mi->text(),
2036 -1, &g.text()); 2046 -1, &g.text());
2037 } 2047 }
2038} 2048}
2039 2049
2040void LiquidStyle::drawPopupPanel(QPainter *p, int x, int y, int w, int h, 2050void LiquidStyle::drawPopupPanel(QPainter *p, int x, int y, int w, int h,
2041 const QColorGroup &g, int /*lineWidth*/, 2051 const QColorGroup &g, int /*lineWidth*/,
2042 const QBrush * /*fill*/) 2052 const QBrush * /*fill*/)
2043{ 2053{
2044 QColor c; 2054 QColor c;
2045 switch(menuHandler->transType()){ 2055 switch(menuHandler->transType()){
2046 case None: 2056 case None:
2047 case StippledBg: 2057 case StippledBg:
2048 case TransStippleBg: 2058 case TransStippleBg:
2049 c = g.background(); 2059 c = g.background();
2050 break; 2060 break;
2051 case StippledBtn: 2061 case StippledBtn:
2052 case TransStippleBtn: 2062 case TransStippleBtn:
2053 c = g.button(); 2063 c = g.button();
2054 break; 2064 break;
2055 default: 2065 default:
2056 c = menuHandler->bgColor(); 2066 c = menuHandler->bgColor();
2057 } 2067 }
2058 p->setPen(c.dark(140)); 2068 p->setPen(c.dark(140));
2059 p->drawRect(x, y, w, h); 2069 p->drawRect(x, y, w, h);
2060 p->setPen(c.light(120)); 2070 p->setPen(c.light(120));
2061 p->drawRect(x+1, y+1, w-2, h-2); 2071 p->drawRect(x+1, y+1, w-2, h-2);
2062} 2072}
2063 2073
2064void LiquidStyle::drawPopupMenuItem( QPainter* p, bool checkable, int maxpmw, 2074void LiquidStyle::drawPopupMenuItem( QPainter* p, bool checkable, int maxpmw,
2065 int tab, QMenuItem* mi, 2075 int tab, QMenuItem* mi,
2066 const QPalette& pal, bool act, 2076 const QPalette& pal, bool act,
2067 bool enabled, int x, int y, int w, int h) 2077 bool enabled, int x, int y, int w, int h)
2068{ 2078{
2069static const int motifItemFrame = 2; 2079static const int motifItemFrame = 2;
2070static const int motifItemHMargin = 3; 2080static const int motifItemHMargin = 3;
2071static const int motifItemVMargin = 2; 2081static const int motifItemVMargin = 2;
2072static const int motifArrowHMargin = 6; 2082static const int motifArrowHMargin = 6;
2073static const int windowsRightBorder = 12; 2083static const int windowsRightBorder = 12;
2074 2084
2075 maxpmw = QMAX( maxpmw, 20 ); 2085 maxpmw = QMAX( maxpmw, 20 );
2076 2086
2077 2087
2078 bool dis = !enabled; 2088 bool dis = !enabled;
2079 QColorGroup itemg = dis ? pal.disabled() : pal.active(); 2089 QColorGroup itemg = dis ? pal.disabled() : pal.active();
2080 2090
2081 int checkcol = maxpmw; 2091 int checkcol = maxpmw;
2082 if(act){ 2092 if(act){
2083 2093
2084 // FIXME 2094 // FIXME
2085 drawClearBevel(p, x, y, w, h, itemg.button(), itemg.background()); 2095 drawClearBevel(p, x, y, w, h, itemg.button(), itemg.background());
2086 } 2096 }
2087 //else if(((QWidget*)p->device())->backgroundPixmap()){ 2097 //else if(((QWidget*)p->device())->backgroundPixmap()){
2088 // p->drawPixmap(x, y, *((QWidget*)p->device())->backgroundPixmap(), 2098 // p->drawPixmap(x, y, *((QWidget*)p->device())->backgroundPixmap(),
2089 // x, y, w, h); 2099 // x, y, w, h);
2090 //} 2100 //}
2091 else{ 2101 else{
2092 if(menuHandler->transType() == None){ 2102 if(menuHandler->transType() == None){
2093 p->fillRect(x, y, w, h, pal.active().background()); 2103 p->fillRect(x, y, w, h, pal.active().background());
2094 } 2104 }
2095 else if(menuHandler->transType() == StippledBg){ 2105 else if(menuHandler->transType() == StippledBg){
2096 p->fillRect(x, y, w, h, bgBrush); 2106 p->fillRect(x, y, w, h, bgBrush);
2097 } 2107 }
2098 else if(menuHandler->transType() == StippledBtn){ 2108 else if(menuHandler->transType() == StippledBtn){
2099 p->fillRect(x, y, w, h, menuBrush); 2109 p->fillRect(x, y, w, h, menuBrush);
2100 } 2110 }
2101 else{ 2111 else{
2102 QPixmap *pix = menuHandler->pixmap(((QWidget*)p->device())->winId()); 2112 QPixmap *pix = menuHandler->pixmap(((QWidget*)p->device())->winId());
2103 if(pix) 2113 if(pix)
2104 p->drawPixmap(x, y, *pix, x, y, w, h); 2114 p->drawPixmap(x, y, *pix, x, y, w, h);
2105 } 2115 }
2106 } 2116 }
2107 2117
2108 if(!mi) 2118 if(!mi)
2109 return; 2119 return;
2110 2120
2111 QColor discol; 2121 QColor discol;
2112 if (dis) { 2122 if (dis) {
2113 discol = itemg.mid(); 2123 discol = itemg.mid();
2114 p->setPen(discol); 2124 p->setPen(discol);
2115 } 2125 }
2116 2126
2117 QColorGroup cg2(itemg); 2127 QColorGroup cg2(itemg);
2118 2128
2119 if(menuHandler->transType() == Custom){ 2129 if(menuHandler->transType() == Custom){
2120 cg2.setColor(QColorGroup::Foreground, menuHandler->textColor()); 2130 cg2.setColor(QColorGroup::Foreground, menuHandler->textColor());
2121 cg2.setColor(QColorGroup::Text, menuHandler->textColor()); 2131 cg2.setColor(QColorGroup::Text, menuHandler->textColor());
2122 cg2.setColor(QColorGroup::Light, menuHandler->textColor().light(120)); 2132 cg2.setColor(QColorGroup::Light, menuHandler->textColor().light(120));
2123 cg2.setColor(QColorGroup::Mid, menuHandler->textColor().dark(120)); 2133 cg2.setColor(QColorGroup::Mid, menuHandler->textColor().dark(120));
2124 } 2134 }
2125 else{ 2135 else{
2126 cg2 = QColorGroup(discol, itemg.highlight(), black, black, 2136 cg2 = QColorGroup(discol, itemg.highlight(), black, black,
2127 dis ? discol : black, discol, black); 2137 dis ? discol : black, discol, black);
2128 } 2138 }
2129 2139
2130 if(mi->isSeparator()){ 2140 if(mi->isSeparator()){
2131 QColor c; 2141 QColor c;
2132 switch(menuHandler->transType()){ 2142 switch(menuHandler->transType()){
2133 case None: 2143 case None:
2134 case StippledBg: 2144 case StippledBg:
2135 case TransStippleBg: 2145 case TransStippleBg:
2136 c = QApplication::palette().active().background(); 2146 c = QApplication::palette().active().background();
2137 break; 2147 break;
2138 case StippledBtn: 2148 case StippledBtn:
2139 case TransStippleBtn: 2149 case TransStippleBtn:
2140 c = QApplication::palette().active().button(); 2150 c = QApplication::palette().active().button();
2141 break; 2151 break;
2142 default: 2152 default:
2143 c = menuHandler->bgColor(); 2153 c = menuHandler->bgColor();
2144 } 2154 }
2145 p->setPen(c.dark(140)); 2155 p->setPen(c.dark(140));
2146 p->drawLine(x, y, x+w, y ); 2156 p->drawLine(x, y, x+w, y );
2147 p->setPen(c.light(115)); 2157 p->setPen(c.light(115));
2148 p->drawLine(x, y+1, x+w, y+1 ); 2158 p->drawLine(x, y+1, x+w, y+1 );
2149 return; 2159 return;
2150 } 2160 }
2151 if(mi->iconSet()) { 2161 if(mi->iconSet()) {
2152 QIconSet::Mode mode = dis? QIconSet::Disabled : QIconSet::Normal; 2162 QIconSet::Mode mode = dis? QIconSet::Disabled : QIconSet::Normal;
2153 if (!dis) 2163 if (!dis)
2154 mode = QIconSet::Active; 2164 mode = QIconSet::Active;
2155 QPixmap pixmap = mi->iconSet()->pixmap(QIconSet::Small, mode); 2165 QPixmap pixmap = mi->iconSet()->pixmap(QIconSet::Small, mode);
2156 int pixw = pixmap.width(); 2166 int pixw = pixmap.width();
2157 int pixh = pixmap.height(); 2167 int pixh = pixmap.height();
2158 QRect cr(x, y, checkcol, h); 2168 QRect cr(x, y, checkcol, h);
2159 QRect pmr(0, 0, pixw, pixh); 2169 QRect pmr(0, 0, pixw, pixh);
2160 pmr.moveCenter( cr.center() ); 2170 pmr.moveCenter( cr.center() );
2161 p->setPen(itemg.highlightedText()); 2171 p->setPen(itemg.highlightedText());
2162 p->drawPixmap(pmr.topLeft(), pixmap ); 2172 p->drawPixmap(pmr.topLeft(), pixmap );
2163 2173
2164 } 2174 }
2165 else if(checkable) { 2175 else if(checkable) {
2166 int mw = checkcol + motifItemFrame; 2176 int mw = checkcol + motifItemFrame;
2167 int mh = h - 2*motifItemFrame; 2177 int mh = h - 2*motifItemFrame;
2168 if (mi->isChecked()){ 2178 if (mi->isChecked()){
2169 drawCheckMark( p, x + motifItemFrame, 2179 drawCheckMark( p, x + motifItemFrame,
2170 y+motifItemFrame, mw, mh, cg2, act, dis ); 2180 y+motifItemFrame, mw, mh, cg2, act, dis );
2171 } 2181 }
2172 } 2182 }
2173 if(menuHandler->transType() == Custom) 2183 if(menuHandler->transType() == Custom)
2174 p->setPen(menuHandler->textColor()); 2184 p->setPen(menuHandler->textColor());
2175 else 2185 else
2176 p->setPen(itemg.text()); 2186 p->setPen(itemg.text());
2177 2187
2178 2188
2179 int xm = motifItemFrame + checkcol + motifItemHMargin; 2189 int xm = motifItemFrame + checkcol + motifItemHMargin;
2180 QString s = mi->text(); 2190 QString s = mi->text();
2181 if (!s.isNull()) { 2191 if (!s.isNull()) {
2182 int t = s.find( '\t' ); 2192 int t = s.find( '\t' );
2183 int m = motifItemVMargin; 2193 int m = motifItemVMargin;
2184 const int text_flags = AlignVCenter|ShowPrefix | DontClip | SingleLine; 2194 const int text_flags = AlignVCenter|ShowPrefix | DontClip | SingleLine;
2185 QPen oldPen = p->pen(); 2195 QPen oldPen = p->pen();
2186 if(menuHandler->useShadowText()){ 2196 if(menuHandler->useShadowText()){
2187 if(menuHandler->transType() == Custom) 2197 if(menuHandler->transType() == Custom)
2188 p->setPen(menuHandler->bgColor().dark(130)); 2198 p->setPen(menuHandler->bgColor().dark(130));
2189 else if(menuHandler->transType() == StippledBtn || 2199 else if(menuHandler->transType() == StippledBtn ||
2190 menuHandler->transType() == TransStippleBtn) 2200 menuHandler->transType() == TransStippleBtn)
2191 p->setPen(itemg.button().dark(130)); 2201 p->setPen(itemg.button().dark(130));
2192 else 2202 else
2193 p->setPen(bgBrush.color().dark(130)); 2203 p->setPen(bgBrush.color().dark(130));
2194 2204
2195 if (t >= 0) { 2205 if (t >= 0) {
2196 p->drawText(x+w-tab-windowsRightBorder-motifItemHMargin-motifItemFrame+2, 2206 p->drawText(x+w-tab-windowsRightBorder-motifItemHMargin-motifItemFrame+2,
2197 y+m+2, tab-1, h-2*m-1, text_flags, s.mid( t+1 )); 2207 y+m+2, tab-1, h-2*m-1, text_flags, s.mid( t+1 ));
2198 } 2208 }
2199 p->drawText(x+xm+1, y+m+1, w-xm-tab, h-2*m-1, text_flags, s, t); 2209 p->drawText(x+xm+1, y+m+1, w-xm-tab, h-2*m-1, text_flags, s, t);
2200 } 2210 }
2201 p->setPen(oldPen); 2211 p->setPen(oldPen);
2202 if (t >= 0) { 2212 if (t >= 0) {
2203 p->drawText(x+w-tab-windowsRightBorder-motifItemHMargin-motifItemFrame+1, 2213 p->drawText(x+w-tab-windowsRightBorder-motifItemHMargin-motifItemFrame+1,
2204 y+m+1, tab, h-2*m, text_flags, s.mid( t+1 )); 2214 y+m+1, tab, h-2*m, text_flags, s.mid( t+1 ));
2205 } 2215 }
2206 p->drawText(x+xm, y+m, w-xm-tab+1, h-2*m, text_flags, s, t); 2216 p->drawText(x+xm, y+m, w-xm-tab+1, h-2*m, text_flags, s, t);
2207 2217
2208 } 2218 }
2209 else if (mi->pixmap()) { 2219 else if (mi->pixmap()) {
2210 QPixmap *pixmap = mi->pixmap(); 2220 QPixmap *pixmap = mi->pixmap();
2211 if (pixmap->depth() == 1) 2221 if (pixmap->depth() == 1)
2212 p->setBackgroundMode(OpaqueMode); 2222 p->setBackgroundMode(OpaqueMode);
2213 p->drawPixmap( x+xm, y+motifItemFrame, *pixmap); 2223 p->drawPixmap( x+xm, y+motifItemFrame, *pixmap);
2214 if (pixmap->depth() == 1) 2224 if (pixmap->depth() == 1)
2215 p->setBackgroundMode(TransparentMode); 2225 p->setBackgroundMode(TransparentMode);
2216 } 2226 }
2217 if (mi->popup()) { 2227 if (mi->popup()) {
2218 int dim = (h-2*motifItemFrame) / 2; 2228 int dim = (h-2*motifItemFrame) / 2;
2219 drawArrow(p, RightArrow, true, 2229 drawArrow(p, RightArrow, true,
2220 x+w - motifArrowHMargin - motifItemFrame - dim, y+h/2-dim/2, 2230 x+w - motifArrowHMargin - motifItemFrame - dim, y+h/2-dim/2,
2221 dim, dim, cg2, TRUE); 2231 dim, dim, cg2, TRUE);
2222 } 2232 }
2223} 2233}
2224 2234
2225int LiquidStyle::popupMenuItemHeight(bool /*checkable*/, QMenuItem *mi, 2235int LiquidStyle::popupMenuItemHeight(bool /*checkable*/, QMenuItem *mi,
2226 const QFontMetrics &fm) 2236 const QFontMetrics &fm)
2227{ 2237{
2228 if (mi->isSeparator()) 2238 if (mi->isSeparator())
2229 return 2; 2239 return 2;
2230 2240
2231 int h = 0; 2241 int h = 0;
2232 if (mi->pixmap()) 2242 if (mi->pixmap())
2233 h = mi->pixmap()->height(); 2243 h = mi->pixmap()->height();
2234 2244
2235 if (mi->iconSet()) 2245 if (mi->iconSet())
2236 h = QMAX(mi->iconSet()-> 2246 h = QMAX(mi->iconSet()->
2237 pixmap(QIconSet::Small, QIconSet::Normal).height(), h); 2247 pixmap(QIconSet::Small, QIconSet::Normal).height(), h);
2238 2248
2239 h = QMAX(fm.height() + 4, h); 2249 h = QMAX(fm.height() + 4, h);
2240 2250
2241 // we want a minimum size of 18 2251 // we want a minimum size of 18
2242 h = QMAX(h, 18); 2252 h = QMAX(h, 18);
2243 2253
2244 return h; 2254 return h;
2245} 2255}
2246 2256
2247 2257
2248void LiquidStyle::drawFocusRect(QPainter *p, const QRect &r, 2258void LiquidStyle::drawFocusRect(QPainter *p, const QRect &r,
2249 const QColorGroup &g, const QColor *c, 2259 const QColorGroup &g, const QColor *c,
2250 bool atBorder) 2260 bool atBorder)
2251{ 2261{
2252 // are we painting a widget? 2262 // are we painting a widget?
2253 if(p->device()->devType() == QInternal::Widget){ 2263 if(p->device()->devType() == QInternal::Widget){
2254 // if so does it use a special focus rectangle? 2264 // if so does it use a special focus rectangle?
2255 QWidget *w = (QWidget *)p->device(); 2265 QWidget *w = (QWidget *)p->device();
2256 if(w->inherits("QPushButton") || w->inherits("QSlider") || w->inherits("QComboBox") || w->inherits("QToolButton" )){ 2266 if(w->inherits("QPushButton") || w->inherits("QSlider") || w->inherits("QComboBox") || w->inherits("QToolButton" )){
2257 return; 2267 return;
2258 } 2268 }
2259 else{ 2269 else{
2260 QWindowsStyle::drawFocusRect(p, r, g, c, atBorder); 2270 QWindowsStyle::drawFocusRect(p, r, g, c, atBorder);
2261 } 2271 }
2262 } 2272 }
2263 else 2273 else
2264 QWindowsStyle::drawFocusRect(p, r, g, c, atBorder); 2274 QWindowsStyle::drawFocusRect(p, r, g, c, atBorder);
2265 2275
2266} 2276}
2267 2277
2268void LiquidStyle::polishPopupMenu(QPopupMenu *mnu) 2278void LiquidStyle::polishPopupMenu(QPopupMenu *mnu)
2269{ 2279{
2270 mnu->installEventFilter(menuHandler); 2280 mnu->installEventFilter(menuHandler);
2271 QWindowsStyle::polishPopupMenu(mnu); 2281 QWindowsStyle::polishPopupMenu(mnu);
2272} 2282}
2273 2283
2274void LiquidStyle::drawTab(QPainter *p, const QTabBar *tabBar, QTab *tab, 2284void LiquidStyle::drawTab(QPainter *p, const QTabBar *tabBar, QTab *tab,
2275 bool selected) 2285 bool selected)
2276{ 2286{
2277 if(tabBar->shape() != QTabBar::RoundedAbove){ 2287 if(tabBar->shape() != QTabBar::RoundedAbove){
2278 QWindowsStyle::drawTab(p, tabBar, tab, selected); 2288 QWindowsStyle::drawTab(p, tabBar, tab, selected);
2279 return; 2289 return;
2280 } 2290 }
2281 QPixmap tilePix; 2291 QPixmap tilePix;
2282 QRect r = tab->rect(); 2292 QRect r = tab->rect();
2283 //QPixmap *pix = selected ? tabBar->hasFocus() ? pixmaps[TabFocus] : 2293 //QPixmap *pix = selected ? tabBar->hasFocus() ? pixmaps[TabFocus] :
2284 // pixmaps[TabDown] : pixmaps[Tab]; 2294 // pixmaps[TabDown] : pixmaps[Tab];
2285 2295
2286 QPixmap *pix = selected ? getPixmap(TabDown) : getPixmap(Tab); 2296 QPixmap *pix = selected ? getPixmap(TabDown) : getPixmap(Tab);
2287 p->drawPixmap(r.x(), r.y(), *pix, 0, 0, 9, r.height()); 2297 p->drawPixmap(r.x(), r.y(), *pix, 0, 0, 9, r.height());
2288 p->drawPixmap(r.right()-9, r.y(), *pix, pix->width()-9, 0, 9, r.height()); 2298 p->drawPixmap(r.right()-9, r.y(), *pix, pix->width()-9, 0, 9, r.height());
2289 tilePix.resize(pix->width()-18, r.height()); 2299 tilePix.resize(pix->width()-18, r.height());
2290 bitBlt(&tilePix, 0, 0, pix, 9, 0, pix->width()-18, r.height()); 2300 bitBlt(&tilePix, 0, 0, pix, 9, 0, pix->width()-18, r.height());
2291 p->drawTiledPixmap(r.x()+9, r.y(), r.width()-18, r.height(), tilePix); 2301 p->drawTiledPixmap(r.x()+9, r.y(), r.width()-18, r.height(), tilePix);
2292 QColor c = tabBar->colorGroup().button(); 2302 QColor c = tabBar->colorGroup().button();
2293 if(!selected){ 2303 if(!selected){
2294 p->setPen(c.dark(130)); 2304 p->setPen(c.dark(130));
2295 p->drawLine(r.x(), r.bottom(), r.right(), r.bottom()); 2305 p->drawLine(r.x(), r.bottom(), r.right(), r.bottom());
2296 } 2306 }
2297 2307
2298 /* 2308 /*
2299 p->setPen(c.light(110)); 2309 p->setPen(c.light(110));
2300 p->drawLine(r.x(), r.bottom()+1, r.right(), r.bottom()+1); 2310 p->drawLine(r.x(), r.bottom()+1, r.right(), r.bottom()+1);
2301 p->setPen(c); 2311 p->setPen(c);
2302 p->drawLine(r.x(), r.bottom()+2, r.right(), r.bottom()+2); 2312 p->drawLine(r.x(), r.bottom()+2, r.right(), r.bottom()+2);
2303 p->setPen(c.light(110)); 2313 p->setPen(c.light(110));
2304 p->drawLine(r.x(), r.bottom()+3, r.right(), r.bottom()+3); 2314 p->drawLine(r.x(), r.bottom()+3, r.right(), r.bottom()+3);
2305 p->setPen(c.light(120)); 2315 p->setPen(c.light(120));
2306 p->drawLine(r.x(), r.bottom()+4, r.right(), r.bottom()+4); 2316 p->drawLine(r.x(), r.bottom()+4, r.right(), r.bottom()+4);
2307 */ 2317 */
2308 2318
2309 /* 2319 /*
2310 QColor c = tabBar->colorGroup().button(); 2320 QColor c = tabBar->colorGroup().button();
2311 pix = bevelFillDict.find(c.rgb()); 2321 pix = bevelFillDict.find(c.rgb());
2312 if(!pix){ 2322 if(!pix){
2313 int h, s, v; 2323 int h, s, v;
2314 c.hsv(&h, &s, &v); 2324 c.hsv(&h, &s, &v);
2315 pix = new QPixmap(*bevelFillPix); 2325 pix = new QPixmap(*bevelFillPix);
2316 adjustHSV(*pix, h, s); 2326 adjustHSV(*pix, h, s);
2317 bevelFillDict.insert(c.rgb(), pix); 2327 bevelFillDict.insert(c.rgb(), pix);
2318 }*/ 2328 }*/
2319 2329
2320 /* 2330 /*
2321 QRect r = tab->rect(); 2331 QRect r = tab->rect();
2322 QColorGroup g = tabBar->colorGroup(); 2332 QColorGroup g = tabBar->colorGroup();
2323 if(!selected){ 2333 if(!selected){
2324 r.setY(r.y()+1); 2334 r.setY(r.y()+1);
2325 p->setPen(g.dark()); 2335 p->setPen(g.dark());
2326 p->drawLine(r.x(), r.y()+4, r.x(), r.bottom()-2); 2336 p->drawLine(r.x(), r.y()+4, r.x(), r.bottom()-2);
2327 p->drawLine(r.x(), r.y()+4, r.x()+4, r.y()); 2337 p->drawLine(r.x(), r.y()+4, r.x()+4, r.y());
2328 p->drawLine(r.x()+4, r.y(), r.right()-1, r.y()); 2338 p->drawLine(r.x()+4, r.y(), r.right()-1, r.y());
2329 p->drawLine(r.right(), r.y()+1, r.right(), r.bottom()-2); 2339 p->drawLine(r.right(), r.y()+1, r.right(), r.bottom()-2);
2330 2340
2331 p->setPen(g.midlight()); 2341 p->setPen(g.midlight());
2332 p->drawLine(r.x()+1, r.y()+4, r.x()+1, r.bottom()); 2342 p->drawLine(r.x()+1, r.y()+4, r.x()+1, r.bottom());
2333 p->drawLine(r.x()+1, r.y()+4, r.x()+4, r.y()+1); 2343 p->drawLine(r.x()+1, r.y()+4, r.x()+4, r.y()+1);
2334 p->drawLine(r.x()+5, r.y()+1, r.right()-2, r.y()+1); 2344 p->drawLine(r.x()+5, r.y()+1, r.right()-2, r.y()+1);
2335 p->drawLine(r.x(), r.bottom(), r.right(), r.bottom()); 2345 p->drawLine(r.x(), r.bottom(), r.right(), r.bottom());
2336 2346
2337 p->setPen(g.mid()); 2347 p->setPen(g.mid());
2338 p->drawPoint(r.right()-1, r.y()+1); 2348 p->drawPoint(r.right()-1, r.y()+1);
2339 p->drawLine(r.x()+4, r.y()+2, r.right()-1, r.y()+2); 2349 p->drawLine(r.x()+4, r.y()+2, r.right()-1, r.y()+2);
2340 p->drawLine(r.x()+3, r.y()+3, r.right()-1, r.y()+3); 2350 p->drawLine(r.x()+3, r.y()+3, r.right()-1, r.y()+3);
2341 2351
2342 p->fillRect(r.x()+2, r.y()+4, r.width()-3, r.height()-6, 2352 p->fillRect(r.x()+2, r.y()+4, r.width()-3, r.height()-6,
2343 g.brush(QColorGroup::Mid)); 2353 g.brush(QColorGroup::Mid));
2344 2354
2345 p->setPen(g.light()); 2355 p->setPen(g.light());
2346 p->drawLine(r.x(), r.bottom()-1, r.right(), r.bottom()-1); 2356 p->drawLine(r.x(), r.bottom()-1, r.right(), r.bottom()-1);
2347 2357
2348 } 2358 }
2349 else{ 2359 else{
2350 p->setPen(g.light()); 2360 p->setPen(g.light());
2351 p->drawLine(r.x(), r.y()+4, r.x(), r.bottom()); 2361 p->drawLine(r.x(), r.y()+4, r.x(), r.bottom());
2352 p->drawLine(r.x(), r.y()+4, r.x()+4, r.y()); 2362 p->drawLine(r.x(), r.y()+4, r.x()+4, r.y());
2353 p->drawLine(r.x()+4, r.y(), r.right()-1, r.y()); 2363 p->drawLine(r.x()+4, r.y(), r.right()-1, r.y());
2354 p->setPen(g.dark()); 2364 p->setPen(g.dark());
2355 p->drawLine(r.right(), r.y()+1, r.right(), r.bottom()); 2365 p->drawLine(r.right(), r.y()+1, r.right(), r.bottom());
2356 2366
2357 p->setPen(g.midlight()); 2367 p->setPen(g.midlight());
2358 p->drawLine(r.x()+1, r.y()+4, r.x()+1, r.bottom()); 2368 p->drawLine(r.x()+1, r.y()+4, r.x()+1, r.bottom());
2359 p->drawLine(r.x()+1, r.y()+4, r.x()+4, r.y()+1); 2369 p->drawLine(r.x()+1, r.y()+4, r.x()+4, r.y()+1);
2360 p->drawLine(r.x()+5, r.y()+1, r.right() - 2, r.y()+1); 2370 p->drawLine(r.x()+5, r.y()+1, r.right() - 2, r.y()+1);
2361 p->setPen(g.mid()); 2371 p->setPen(g.mid());
2362 p->drawLine(r.right()-1, r.y()+1, r.right()-1, r.bottom()); 2372 p->drawLine(r.right()-1, r.y()+1, r.right()-1, r.bottom());
2363 }*/ 2373 }*/
2364 2374
2365} 2375}
2366 2376
2367 2377
2368 2378
2369void LiquidStyle::drawTabMask(QPainter *p, const QTabBar*, QTab *tab, 2379void LiquidStyle::drawTabMask(QPainter *p, const QTabBar*, QTab *tab,
2370 bool selected) 2380 bool selected)
2371 2381
2372 2382
2373{ 2383{
2374 //p->fillRect(tab->rect(), Qt::color1); 2384 //p->fillRect(tab->rect(), Qt::color1);
2375 QRect r = tab->rect(); 2385 QRect r = tab->rect();
2376 QPixmap *pix = selected ? getPixmap(TabDown) : getPixmap(Tab); 2386 QPixmap *pix = selected ? getPixmap(TabDown) : getPixmap(Tab);
2377 p->drawPixmap(r.x(), r.y(), *pix->mask(), 0, 0, 9, r.height()); 2387 p->drawPixmap(r.x(), r.y(), *pix->mask(), 0, 0, 9, r.height());
2378 p->drawPixmap(r.right()-9, r.y(), *pix->mask(), pix->width()-9, 0, 9, r.height()); 2388 p->drawPixmap(r.right()-9, r.y(), *pix->mask(), pix->width()-9, 0, 9, r.height());
2379 p->fillRect(r.x()+9, r.y(), r.width()-18, r.height(), Qt::color1); 2389 p->fillRect(r.x()+9, r.y(), r.width()-18, r.height(), Qt::color1);
2380} 2390}
2381 2391
2382void LiquidStyle::tabbarMetrics(const QTabBar *t, int &hFrame, int &vFrame, 2392void LiquidStyle::tabbarMetrics(const QTabBar *t, int &hFrame, int &vFrame,
2383 int &overlap) 2393 int &overlap)
2384{ 2394{
2385 if(t->shape() == QTabBar::RoundedAbove){ 2395 if(t->shape() == QTabBar::RoundedAbove){
2386 overlap = 1; 2396 overlap = 1;
2387 hFrame = 18; // was 24 2397 hFrame = 18; // was 24
2388 vFrame = 8; // was 10 2398 vFrame = 8; // was 10
2389 } 2399 }
2390 else 2400 else
2391 QWindowsStyle::tabbarMetrics(t, hFrame, vFrame, overlap); 2401 QWindowsStyle::tabbarMetrics(t, hFrame, vFrame, overlap);
2392} 2402}
2393 2403
2394 2404
2395 2405
2396void LiquidStyle::drawSplitter(QPainter *p, int x, int y, int w, int h, 2406void LiquidStyle::drawSplitter(QPainter *p, int x, int y, int w, int h,
2397 const QColorGroup &g, Orientation) 2407 const QColorGroup &g, Orientation)
2398{ 2408{
2399 drawClearBevel(p, x, y, w, h, highlightWidget == p->device() ? 2409 drawClearBevel(p, x, y, w, h, highlightWidget == p->device() ?
2400 g.button().light(120) : g.button(), g.background()); 2410 g.button().light(120) : g.button(), g.background());
2401} 2411}
2402 2412
2403 2413
2404void LiquidStyle::drawPanel(QPainter *p, int x, int y, int w, int h, 2414void LiquidStyle::drawPanel(QPainter *p, int x, int y, int w, int h,
2405 const QColorGroup &g, bool sunken, 2415 const QColorGroup &g, bool sunken,
2406 int lineWidth, const QBrush *fill) 2416 int lineWidth, const QBrush *fill)
2407{ 2417{
2408 if(p->device()->devType() == QInternal::Widget && 2418 if(p->device()->devType() == QInternal::Widget &&
2409 ((QWidget *)p->device())->inherits("QLineEdit")){ 2419 ((QWidget *)p->device())->inherits("QLineEdit")){
2410 int x2 = x+w-1; 2420 int x2 = x+w-1;
2411 int y2 = y+h-1; 2421 int y2 = y+h-1;
2412 p->setPen(g.dark()); 2422 p->setPen(g.dark());
2413 p->drawRect(x, y, w, h); 2423 p->drawRect(x, y, w, h);
2414 p->setPen(g.mid()); 2424 p->setPen(g.mid());
2415 p->drawLine(x+1, y+1, x2-2, y+1); 2425 p->drawLine(x+1, y+1, x2-2, y+1);
2416 p->drawLine(x+1, y+1, x+1, y2-1); 2426 p->drawLine(x+1, y+1, x+1, y2-1);
2417 } 2427 }
2418 else if(lineWidth != 2 || !sunken) 2428 else if(lineWidth != 2 || !sunken)
2419 QWindowsStyle::drawPanel(p, x, y, w, h, g, sunken, lineWidth, fill); 2429 QWindowsStyle::drawPanel(p, x, y, w, h, g, sunken, lineWidth, fill);
2420 else{ 2430 else{
2421 QPen oldPen = p->pen(); 2431 QPen oldPen = p->pen();
2422 int x2 = x+w-1; 2432 int x2 = x+w-1;
2423 int y2 = y+h-1; 2433 int y2 = y+h-1;
2424 p->setPen(g.light()); 2434 p->setPen(g.light());
2425 p->drawLine(x, y2, x2, y2); 2435 p->drawLine(x, y2, x2, y2);
2426 p->drawLine(x2, y, x2, y2); 2436 p->drawLine(x2, y, x2, y2);
2427 p->setPen(g.mid()); 2437 p->setPen(g.mid());
2428 p->drawLine(x, y, x2, y); 2438 p->drawLine(x, y, x2, y);
2429 p->drawLine(x, y, x, y2); 2439 p->drawLine(x, y, x, y2);
2430 2440
2431 p->setPen(g.midlight()); 2441 p->setPen(g.midlight());
2432 p->drawLine(x+1, y2-1, x2-1, y2-1); 2442 p->drawLine(x+1, y2-1, x2-1, y2-1);
2433 p->drawLine(x2-1, y+1, x2-1, y2-1); 2443 p->drawLine(x2-1, y+1, x2-1, y2-1);
2434 p->setPen(g.dark()); 2444 p->setPen(g.dark());
2435 p->drawLine(x+1, y+1, x2-1, y+1); 2445 p->drawLine(x+1, y+1, x2-1, y+1);
2436 p->drawLine(x+1, y+1, x+1, y2-1); 2446 p->drawLine(x+1, y+1, x+1, y2-1);
2437 p->setPen(oldPen); 2447 p->setPen(oldPen);
2438 if(fill){ 2448 if(fill){
2439 // I believe here we are only supposed to fill if there is a 2449 // I believe here we are only supposed to fill if there is a
2440 // specified fill brush... 2450 // specified fill brush...
2441 p->fillRect(x+2, y+2, w-4, h-4, *fill); 2451 p->fillRect(x+2, y+2, w-4, h-4, *fill);
2442 } 2452 }
2443 } 2453 }
2444} 2454}
2445 2455
2446 2456
2447void LiquidStyle::adjustHSV(QPixmap &pix, int h, int s, int v) 2457void LiquidStyle::adjustHSV(QPixmap &pix, int h, int s, int v)
2448{ 2458{
2449 QBitmap *maskBmp = NULL; 2459 QBitmap *maskBmp = NULL;
2450 if(pix.mask()) 2460 if(pix.mask())
2451 maskBmp = new QBitmap(*pix.mask()); 2461 maskBmp = new QBitmap(*pix.mask());
2452 QImage img = pix.convertToImage(); 2462 QImage img = pix.convertToImage();
2453 if(img.depth() != 32) 2463 if(img.depth() != 32)
2454 img = img.convertDepth(32); 2464 img = img.convertDepth(32);
2455 unsigned int *data = (unsigned int *)img.bits(); 2465 unsigned int *data = (unsigned int *)img.bits();
2456 int total = img.width()*img.height(); 2466 int total = img.width()*img.height();
2457 int current; 2467 int current;
2458 QColor c; 2468 QColor c;
2459 int oldH, oldS, oldV; 2469 int oldH, oldS, oldV;
2460 if(v < 235) 2470 if(v < 235)
2461 v += 20; 2471 v += 20;
2462 else 2472 else
2463 v = 255; 2473 v = 255;
2464 float intensity = v/255.0; 2474 float intensity = v/255.0;
2465 2475
2466 for(current=0; current<total; ++current){ 2476 for(current=0; current<total; ++current){
2467 c.setRgb(data[current]); 2477 c.setRgb(data[current]);
2468 c.hsv(&oldH, &oldS, &oldV); 2478 c.hsv(&oldH, &oldS, &oldV);
2469 oldV = (int)(oldV*intensity); 2479 oldV = (int)(oldV*intensity);
2470 c.setHsv(h, s, oldV); 2480 c.setHsv(h, s, oldV);
2471 data[current] = c.rgb(); 2481 data[current] = c.rgb();
2472 } 2482 }
2473 pix.convertFromImage(img); 2483 pix.convertFromImage(img);
2474 if(maskBmp) 2484 if(maskBmp)
2475 pix.setMask(*maskBmp); 2485 pix.setMask(*maskBmp);
2476} 2486}
2477 2487
2478void LiquidStyle::intensity(QPixmap &pix, float percent) 2488void LiquidStyle::intensity(QPixmap &pix, float percent)
2479{ 2489{
2480 QImage image = pix.convertToImage(); 2490 QImage image = pix.convertToImage();
2481 int i, tmp, r, g, b; 2491 int i, tmp, r, g, b;
2482 int segColors = image.depth() > 8 ? 256 : image.numColors(); 2492 int segColors = image.depth() > 8 ? 256 : image.numColors();
2483 unsigned char *segTbl = new unsigned char[segColors]; 2493 unsigned char *segTbl = new unsigned char[segColors];
2484 int pixels = image.depth() > 8 ? image.width()*image.height() : 2494 int pixels = image.depth() > 8 ? image.width()*image.height() :
2485 image.numColors(); 2495 image.numColors();
2486 unsigned int *data = image.depth() > 8 ? (unsigned int *)image.bits() : 2496 unsigned int *data = image.depth() > 8 ? (unsigned int *)image.bits() :
2487 (unsigned int *)image.colorTable(); 2497 (unsigned int *)image.colorTable();
2488 2498
2489 bool brighten = (percent >= 0); 2499 bool brighten = (percent >= 0);
2490 if(percent < 0) 2500 if(percent < 0)
2491 percent = -percent; 2501 percent = -percent;
2492 2502
2493 if(brighten){ // keep overflow check out of loops 2503 if(brighten){ // keep overflow check out of loops
2494 for(i=0; i < segColors; ++i){ 2504 for(i=0; i < segColors; ++i){
2495 tmp = (int)(i*percent); 2505 tmp = (int)(i*percent);
2496 if(tmp > 255) 2506 if(tmp > 255)
2497 tmp = 255; 2507 tmp = 255;
2498 segTbl[i] = tmp; 2508 segTbl[i] = tmp;
2499 } 2509 }
2500 } 2510 }
2501 else{ 2511 else{
2502 for(i=0; i < segColors; ++i){ 2512 for(i=0; i < segColors; ++i){
2503 tmp = (int)(i*percent); 2513 tmp = (int)(i*percent);
2504 if(tmp < 0) 2514 if(tmp < 0)
2505 tmp = 0; 2515 tmp = 0;
2506 segTbl[i] = tmp; 2516 segTbl[i] = tmp;
2507 } 2517 }
2508 } 2518 }
2509 2519
2510 if(brighten){ // same here 2520 if(brighten){ // same here
2511 for(i=0; i < pixels; ++i){ 2521 for(i=0; i < pixels; ++i){
2512 r = qRed(data[i]); 2522 r = qRed(data[i]);
2513 g = qGreen(data[i]); 2523 g = qGreen(data[i]);
2514 b = qBlue(data[i]); 2524 b = qBlue(data[i]);
2515 r = r + segTbl[r] > 255 ? 255 : r + segTbl[r]; 2525 r = r + segTbl[r] > 255 ? 255 : r + segTbl[r];
2516 g = g + segTbl[g] > 255 ? 255 : g + segTbl[g]; 2526 g = g + segTbl[g] > 255 ? 255 : g + segTbl[g];
2517 b = b + segTbl[b] > 255 ? 255 : b + segTbl[b]; 2527 b = b + segTbl[b] > 255 ? 255 : b + segTbl[b];
2518 data[i] = qRgb(r, g, b); 2528 data[i] = qRgb(r, g, b);
2519 } 2529 }
2520 } 2530 }
2521 else{ 2531 else{
2522 for(i=0; i < pixels; ++i){ 2532 for(i=0; i < pixels; ++i){
2523 r = qRed(data[i]); 2533 r = qRed(data[i]);
2524 g = qGreen(data[i]); 2534 g = qGreen(data[i]);
2525 b = qBlue(data[i]); 2535 b = qBlue(data[i]);
2526 r = r - segTbl[r] < 0 ? 0 : r - segTbl[r]; 2536 r = r - segTbl[r] < 0 ? 0 : r - segTbl[r];
2527 g = g - segTbl[g] < 0 ? 0 : g - segTbl[g]; 2537 g = g - segTbl[g] < 0 ? 0 : g - segTbl[g];
2528 b = b - segTbl[b] < 0 ? 0 : b - segTbl[b]; 2538 b = b - segTbl[b] < 0 ? 0 : b - segTbl[b];
2529 data[i] = qRgb(r, g, b); 2539 data[i] = qRgb(r, g, b);
2530 } 2540 }
2531 } 2541 }
2532 delete [] segTbl; 2542 delete [] segTbl;
2533 pix.convertFromImage(image); 2543 pix.convertFromImage(image);
2534} 2544}
2535 2545
2536void LiquidStyle::drawRoundRect(QPainter *p, int x, int y, int w, int h) 2546void LiquidStyle::drawRoundRect(QPainter *p, int x, int y, int w, int h)
2537{ 2547{
2538 int x2 = x+w-1; 2548 int x2 = x+w-1;
2539 int y2 = y+h-1; 2549 int y2 = y+h-1;
2540 p->drawLine(x+1, y, x2-1, y); 2550 p->drawLine(x+1, y, x2-1, y);
2541 p->drawLine(x, y+1, x, y2-1); 2551 p->drawLine(x, y+1, x, y2-1);
2542 p->drawLine(x+1, y2, x2-1, y2); 2552 p->drawLine(x+1, y2, x2-1, y2);
2543 p->drawLine(x2, y+1, x2, y2-1); 2553 p->drawLine(x2, y+1, x2, y2-1);
2544} 2554}
2545 2555
2546void LiquidStyle::drawSliderGroove (QPainter * p, int x, int y, int w, int h, 2556void LiquidStyle::drawSliderGroove (QPainter * p, int x, int y, int w, int h,
2547 const QColorGroup &g, QCOORD, 2557 const QColorGroup &g, QCOORD,
2548 Orientation orient) 2558 Orientation orient)
2549{ 2559{
2550 bool isFocus = ((QWidget *)p->device())->hasFocus(); 2560 bool isFocus = ((QWidget *)p->device())->hasFocus();
2551 QColor c = isFocus ? g.background().dark(120) : g.background(); 2561 QColor c = isFocus ? g.background().dark(120) : g.background();
2552 if(orient == Qt::Horizontal){ 2562 if(orient == Qt::Horizontal){
2553 int x2 = x+w-1; 2563 int x2 = x+w-1;
2554 y+=2; 2564 y+=2;
2555 p->setPen(c.dark(130)); 2565 p->setPen(c.dark(130));
2556 p->drawLine(x+1, y, x2-1, y); 2566 p->drawLine(x+1, y, x2-1, y);
2557 p->setPen(c.dark(150)); 2567 p->setPen(c.dark(150));
2558 p->drawLine(x, y+1, x2, y+1); 2568 p->drawLine(x, y+1, x2, y+1);
2559 p->setPen(c.dark(125)); 2569 p->setPen(c.dark(125));
2560 p->drawLine(x, y+2, x2, y+2); 2570 p->drawLine(x, y+2, x2, y+2);
2561 p->setPen(c.dark(130)); 2571 p->setPen(c.dark(130));
2562 p->drawLine(x, y+3, x2, y+3); 2572 p->drawLine(x, y+3, x2, y+3);
2563 p->setPen(c.dark(120)); 2573 p->setPen(c.dark(120));
2564 p->drawLine(x, y+4, x2, y+4); 2574 p->drawLine(x, y+4, x2, y+4);
2565 p->setPen(c.light(110)); 2575 p->setPen(c.light(110));
2566 p->drawLine(x+1, y+5, x2-1, y+5); 2576 p->drawLine(x+1, y+5, x2-1, y+5);
2567 } 2577 }
2568 else{ 2578 else{
2569 int y2 = y+h-1; 2579 int y2 = y+h-1;
2570 x+=2; 2580 x+=2;
2571 p->setPen(c.dark(130)); 2581 p->setPen(c.dark(130));
2572 p->drawLine(x, y+1, x, y2-1); 2582 p->drawLine(x, y+1, x, y2-1);
2573 p->setPen(c.dark(150)); 2583 p->setPen(c.dark(150));
2574 p->drawLine(x+1, y, x+1, y2); 2584 p->drawLine(x+1, y, x+1, y2);
2575 p->setPen(c.dark(125)); 2585 p->setPen(c.dark(125));
2576 p->drawLine(x+2, y, x+2, y2); 2586 p->drawLine(x+2, y, x+2, y2);
2577 p->setPen(c.dark(130)); 2587 p->setPen(c.dark(130));
2578 p->drawLine(x+3, y, x+3, y2); 2588 p->drawLine(x+3, y, x+3, y2);
2579 p->setPen(c.dark(120)); 2589 p->setPen(c.dark(120));
2580 p->drawLine(x+4, y, x+4, y2); 2590 p->drawLine(x+4, y, x+4, y2);
2581 p->setPen(c.light(110)); 2591 p->setPen(c.light(110));
2582 p->drawLine(x+5, y+1, x+5, y2-1); 2592 p->drawLine(x+5, y+1, x+5, y2-1);
2583 } 2593 }
2584 //QWindowsStyle::drawSliderGroove(p, x, y, w, h, g, c, orient); 2594 //QWindowsStyle::drawSliderGroove(p, x, y, w, h, g, c, orient);
2585 2595
2586} 2596}
2587 2597
2588void LiquidStyle::drawSliderGrooveMask (QPainter * p, int x, int y, int w, 2598void LiquidStyle::drawSliderGrooveMask (QPainter * p, int x, int y, int w,
2589 int h, QCOORD, Orientation orient) 2599 int h, QCOORD, Orientation orient)
2590{ 2600{
2591 p->fillRect(x, y, w, h, Qt::color0); 2601 p->fillRect(x, y, w, h, Qt::color0);
2592 p->setPen(Qt::color1); 2602 p->setPen(Qt::color1);
2593 if(orient == Qt::Horizontal){ 2603 if(orient == Qt::Horizontal){
2594 int x2 = x+w-1; 2604 int x2 = x+w-1;
2595 y+=2; 2605 y+=2;
2596 p->drawLine(x+1, y, x2-1, y); 2606 p->drawLine(x+1, y, x2-1, y);
2597 p->fillRect(x, y+1, w, 4, Qt::color1); 2607 p->fillRect(x, y+1, w, 4, Qt::color1);
2598 p->drawLine(x+1, y+5, x2-1, y+5); 2608 p->drawLine(x+1, y+5, x2-1, y+5);
2599 } 2609 }
2600 else{ 2610 else{
2601 int y2 = y+h-1; 2611 int y2 = y+h-1;
2602 x+=2; 2612 x+=2;
2603 p->drawLine(x, y+1, x, y2-1); 2613 p->drawLine(x, y+1, x, y2-1);
2604 p->fillRect(x+1, y, 4, h, Qt::color1); 2614 p->fillRect(x+1, y, 4, h, Qt::color1);
2605 p->drawLine(x+5, y+1, x+5, y2-1); 2615 p->drawLine(x+5, y+1, x+5, y2-1);
2606 } 2616 }
2607} 2617}
2608 2618
2609 2619
2610/* vim: set noet sw=8 ts=8: */ 2620/* vim: set noet sw=8 ts=8: */
diff --git a/noncore/styles/liquid/opie-liquid.diff b/noncore/styles/liquid/opie-liquid.diff
index 29ae6f3..d90433c 100644
--- a/noncore/styles/liquid/opie-liquid.diff
+++ b/noncore/styles/liquid/opie-liquid.diff
@@ -1,2211 +1,2262 @@
1This is a patch to mosfet's liquid 0.7. 1This is a patch to mosfet's liquid 0.7.
2Features: 2Features:
3 - Qt-only 3 - Qt-only
4 - works with Qt/E on QPE/OPIE 4 - works with Qt/E on QPE/OPIE
5 5
6 --- -2002-11-18 04:47:41.000000000 +0100 6 --- -2002-11-21 20:45:47.000000000 +0100
7 +++ liquid.h2002-11-18 03:32:40.000000000 +0100 7 +++ liquid.h2002-11-18 03:32:40.000000000 +0100
8@@ -2,7 +2,7 @@ 8@@ -2,7 +2,7 @@
9 #define LIQUID_STYLE_H 9 #define LIQUID_STYLE_H
10 10
11 11
12-#include <kstyle.h> 12-#include <kstyle.h>
13+#include <qwindowsstyle.h> 13+#include <qwindowsstyle.h>
14 #include <qpainter.h> 14 #include <qpainter.h>
15 #include <qdrawutil.h> 15 #include <qdrawutil.h>
16 #include <qpalette.h> 16 #include <qpalette.h>
17@@ -20,7 +20,7 @@ 17@@ -20,7 +20,7 @@
18 * Copyright (C)QPL 2001 Daniel M. Duley. All rights reserved. 18 * Copyright (C)QPL 2001 Daniel M. Duley. All rights reserved.
19 */ 19 */
20 20
21-class KPixmap; 21-class KPixmap;
22+class QPixmap; 22+class QPixmap;
23 23
24 #define BITMAP_ITEMS 41 24 #define BITMAP_ITEMS 41
25 #define LIQUID_MENU_CHANGE 667 25 #define LIQUID_MENU_CHANGE 667
26@@ -50,24 +50,22 @@ 26@@ -50,24 +50,22 @@
27 ~TransMenuHandler(){;} 27 ~TransMenuHandler(){;}
28 void reloadSettings(); 28 void reloadSettings();
29 int transType(){return(type);} 29 int transType(){return(type);}
30- KPixmap *pixmap(WId id){return(pixDict.find(id));} 30- KPixmap *pixmap(WId id){return(pixDict.find(id));}
31+ QPixmap *pixmap(WId id){return(pixDict.find(id));} 31+ QPixmap *pixmap(WId id){return(pixDict.find(id));}
32 const QColor& textColor(){return(fgColor);} 32 const QColor& textColor(){return(fgColor);}
33 const QColor& bgColor(){return(color);} 33 const QColor& bgColor(){return(color);}
34 bool useShadowText(){return(shadowText);} 34 bool useShadowText(){return(shadowText);}
35-protected slots: 35-protected slots:
36- void slotKIPCMessage(int id, int arg); 36- void slotKIPCMessage(int id, int arg);
37 protected: 37 protected:
38 bool eventFilter(QObject *obj, QEvent *ev); 38 bool eventFilter(QObject *obj, QEvent *ev);
39- void stripePixmap(KPixmap &pix, const QColor &color); 39- void stripePixmap(KPixmap &pix, const QColor &color);
40+ void stripePixmap(QPixmap &pix, const QColor &color); 40+ void stripePixmap(QPixmap &pix, const QColor &color);
41 41
42 QColor color, fgColor; 42 QColor color, fgColor;
43 int opacity; 43 int opacity;
44 int type; 44 int type;
45 bool shadowText; 45 bool shadowText;
46- QIntDict<KPixmap>pixDict; 46- QIntDict<KPixmap>pixDict;
47+ QIntDict<QPixmap>pixDict; 47+ QIntDict<QPixmap>pixDict;
48 }; 48 };
49 49
50-class LiquidStyle : public KStyle 50-class LiquidStyle : public KStyle
51+class LiquidStyle : public QWindowsStyle 51+class LiquidStyle : public QWindowsStyle
52 { 52 {
53 friend class TransMenuHandler; 53 friend class TransMenuHandler;
54 public: 54 public:
55@@ -121,33 +119,14 @@ 55@@ -121,33 +119,14 @@
56 bool tickAbove, bool tickBelow); 56 bool tickAbove, bool tickBelow);
57 void drawSliderMask(QPainter *p, int x, int y, int w, int h, 57 void drawSliderMask(QPainter *p, int x, int y, int w, int h,
58 Orientation orient, bool, bool); 58 Orientation orient, bool, bool);
59- void drawKToolBar(QPainter *p, int x, int y, int w, int h, 59- void drawKToolBar(QPainter *p, int x, int y, int w, int h,
60- const QColorGroup &g, KToolBarPos type, 60- const QColorGroup &g, KToolBarPos type,
61- QBrush *fill=NULL); 61- QBrush *fill=NULL);
62- void drawKBarHandle(QPainter *p, int x, int y, int w, int h, 62- void drawKBarHandle(QPainter *p, int x, int y, int w, int h,
63- const QColorGroup &g, 63- const QColorGroup &g,
64- KToolBarPos type, QBrush *fill=NULL); 64- KToolBarPos type, QBrush *fill=NULL);
65- void drawKMenuBar(QPainter *p, int x, int y, int w, int h, 65- void drawKMenuBar(QPainter *p, int x, int y, int w, int h,
66- const QColorGroup &g, bool macMode, 66- const QColorGroup &g, bool macMode,
67- QBrush *fill=NULL); 67- QBrush *fill=NULL);
68- void drawKToolBarButton(QPainter *p, int x, int y, int w, int h, 68- void drawKToolBarButton(QPainter *p, int x, int y, int w, int h,
69- const QColorGroup &g, bool sunken=false, 69- const QColorGroup &g, bool sunken=false,
70- bool raised = true, bool enabled = true, 70- bool raised = true, bool enabled = true,
71- bool popup = false, 71- bool popup = false,
72- KToolButtonType icontext = Icon, 72- KToolButtonType icontext = Icon,
73- const QString& btext=QString::null, 73- const QString& btext=QString::null,
74- const QPixmap *icon=NULL, 74- const QPixmap *icon=NULL,
75- QFont *font=NULL, QWidget *btn=NULL); 75- QFont *font=NULL, QWidget *btn=NULL);
76- void drawKMenuItem(QPainter *p, int x, int y, int w, int h, 76- void drawKMenuItem(QPainter *p, int x, int y, int w, int h,
77- const QColorGroup &g, bool active, 77- const QColorGroup &g, bool active,
78- QMenuItem *item, QBrush *fill=NULL); 78- QMenuItem *item, QBrush *fill=NULL);
79 +void drawMenuBarItem(QPainter *p, int x, int y, int w, int h, 79 +void drawMenuBarItem(QPainter *p, int x, int y, int w, int h,
80+ QMenuItem *mi, QColorGroup &g, bool enabled, bool active ); 80+ QMenuItem *mi, QColorGroup &g, bool enabled, bool active );
81+ 81+
82 void drawPopupMenuItem(QPainter *p, bool checkable, int maxpmw, 82 void drawPopupMenuItem(QPainter *p, bool checkable, int maxpmw,
83 int tab, QMenuItem *mi, const QPalette &pal, 83 int tab, QMenuItem *mi, const QPalette &pal,
84 bool act, bool enabled, int x, int y, int w, 84 bool act, bool enabled, int x, int y, int w,
85 int h); 85 int h);
86 int popupMenuItemHeight(bool c, QMenuItem *mi, const QFontMetrics &fm); 86 int popupMenuItemHeight(bool c, QMenuItem *mi, const QFontMetrics &fm);
87- void drawKProgressBlock(QPainter *p, int x, int y, int w, int h, 87- void drawKProgressBlock(QPainter *p, int x, int y, int w, int h,
88- const QColorGroup &g, QBrush *fill); 88- const QColorGroup &g, QBrush *fill);
89 void drawFocusRect(QPainter *p, const QRect &r, const QColorGroup &g, 89 void drawFocusRect(QPainter *p, const QRect &r, const QColorGroup &g,
90 const QColor *pen, bool atBorder); 90 const QColor *pen, bool atBorder);
91 int defaultFrameWidth() const {return(2);} 91 int defaultFrameWidth() const {return(2);}
92@@ -167,12 +146,6 @@ 92@@ -167,12 +146,6 @@
93 void drawToolButton(QPainter *p, int x, int y, int w, 93 void drawToolButton(QPainter *p, int x, int y, int w,
94 int h, const QColorGroup &g, 94 int h, const QColorGroup &g,
95 bool sunken, const QBrush *fill); 95 bool sunken, const QBrush *fill);
96- void drawKickerAppletHandle(QPainter *p, int x, int y, int w, int h, 96- void drawKickerAppletHandle(QPainter *p, int x, int y, int w, int h,
97- const QColorGroup &g, QBrush *); 97- const QColorGroup &g, QBrush *);
98- void drawKickerTaskButton(QPainter *p, int x, int y, int w, int h, 98- void drawKickerTaskButton(QPainter *p, int x, int y, int w, int h,
99- const QColorGroup &g, 99- const QColorGroup &g,
100- const QString &title, bool active, 100- const QString &title, bool active,
101- QPixmap *icon, QBrush *fill); 101- QPixmap *icon, QBrush *fill);
102 // for repainting toolbuttons when the toolbar is resized 102 // for repainting toolbuttons when the toolbar is resized
103 bool eventFilter(QObject *obj, QEvent *ev); 103 bool eventFilter(QObject *obj, QEvent *ev);
104 void drawSliderGroove(QPainter * p, int x, int y, int w, int h, 104 void drawSliderGroove(QPainter * p, int x, int y, int w, int h,
105@@ -198,25 +171,15 @@ 105@@ -198,25 +171,15 @@
106 void drawSBButton(QPainter *p, const QRect &r, const QColorGroup &g, 106 void drawSBButton(QPainter *p, const QRect &r, const QColorGroup &g,
107 bool down=false, bool fast = true); 107 bool down=false, bool fast = true);
108 void drawRoundRect(QPainter *p, int x, int y, int w, int h); 108 void drawRoundRect(QPainter *p, int x, int y, int w, int h);
109- void loadCustomButtons(); 109- void loadCustomButtons();
110- void applyCustomAttributes(QPushButton *btn); 110- void applyCustomAttributes(QPushButton *btn);
111- void unapplyCustomAttributes(QPushButton *btn); 111- void unapplyCustomAttributes(QPushButton *btn);
112 QPixmap* getPixmap(BitmapData item); 112 QPixmap* getPixmap(BitmapData item);
113 QPixmap* processEmbedded(const char *label, int h, int s, int v, bool blend=false); 113 QPixmap* processEmbedded(const char *label, int h, int s, int v, bool blend=false);
114 private: 114 private:
115- bool highcolor; 115- bool highcolor;
116- QColorGroup radioOnGrp; 116- QColorGroup radioOnGrp;
117 +bool oldqte; 117 +bool oldqte;
118 +bool flatTBButtons; 118 +bool flatTBButtons;
119 QWidget *highlightWidget; 119 QWidget *highlightWidget;
120- QBrush wallpaper; 120- QBrush wallpaper;
121- QBitmap lightBmp; 121- QBitmap lightBmp;
122- QBitmap grayBmp; 122- QBitmap grayBmp;
123- QBitmap dgrayBmp; 123- QBitmap dgrayBmp;
124- QBitmap maskBmp; 124- QBitmap maskBmp;
125- QBitmap xBmp; 125- QBitmap xBmp;
126 QBitmap btnMaskBmp, htmlBtnMaskBmp; 126 QBitmap btnMaskBmp, htmlBtnMaskBmp;
127 QPixmap *btnBorderPix, *btnBlendPix, *bevelFillPix, *smallBevelFillPix, *menuPix; 127 QPixmap *btnBorderPix, *btnBlendPix, *bevelFillPix, *smallBevelFillPix, *menuPix;
128- QBitmap paper1, paper2, paper3; 128- QBitmap paper1, paper2, paper3;
129- QBrush baseBrush, menuBrush, pagerBrush, pagerHoverBrush, bgBrush; 129- QBrush baseBrush, menuBrush, pagerBrush, pagerHoverBrush, bgBrush;
130+ QBrush bgBrush, menuBrush; 130+ QBrush bgBrush, menuBrush;
131 bool menuAni, menuFade; 131 bool menuAni, menuFade;
132 132
133 QIntDict<QPixmap>btnDict; 133 QIntDict<QPixmap>btnDict;
134@@ -224,9 +187,6 @@ 134@@ -224,9 +187,6 @@
135 QIntDict<QPixmap>bevelFillDict; 135 QIntDict<QPixmap>bevelFillDict;
136 QIntDict<QPixmap>smallBevelFillDict; 136 QIntDict<QPixmap>smallBevelFillDict;
137 137
138- QList<QColor>customBtnColorList; 138- QList<QColor>customBtnColorList;
139- QList<QPixmap>customBtnIconList; 139- QList<QPixmap>customBtnIconList;
140- QStrList customBtnLabelList; 140- QStrList customBtnLabelList;
141 QPixmap *vsbSliderFillPix; 141 QPixmap *vsbSliderFillPix;
142 TransMenuHandler *menuHandler; 142 TransMenuHandler *menuHandler;
143 QPixmap *pixmaps[BITMAP_ITEMS]; 143 QPixmap *pixmaps[BITMAP_ITEMS];
144 --- -2002-11-18 04:47:41.000000000 +0100 144 --- -2002-11-21 20:45:47.000000000 +0100
145 +++ liquid.cpp2002-11-18 04:46:13.000000000 +0100 145 +++ liquid.cpp2002-11-21 20:27:48.000000000 +0100
146@@ -2,6 +2,9 @@ 146@@ -2,6 +2,9 @@
147 * Copyright (C)QPL 2001 Daniel M. Duley. All rights reserved. 147 * Copyright (C)QPL 2001 Daniel M. Duley. All rights reserved.
148 */ 148 */
149 149
150+// 150+//
151+// (c) 2002 Robert 'sandman' Griebl 151+// (c) 2002 Robert 'sandman' Griebl
152+// 152+//
153 153
154 154
155 #ifndef INCLUDE_MENUITEM_DEF 155 #ifndef INCLUDE_MENUITEM_DEF
156@@ -10,12 +13,10 @@ 156@@ -10,12 +13,10 @@
157 157
158 #include <qmenudata.h> 158 #include <qmenudata.h>
159 #include "liquid.h" 159 #include "liquid.h"
160-#include <kapp.h> 160-#include <kapp.h>
161-#include <kglobal.h> 161-#include <kglobal.h>
162-#include <kconfig.h> 162-#include <kconfig.h>
163-#include <kdrawutil.h> 163-#include <kdrawutil.h>
164-#include <kglobalsettings.h> 164-#include <kglobalsettings.h>
165-#include <kpixmapeffect.h> 165-#include <kpixmapeffect.h>
166+//#include "liquiddeco.h" 166+//#include "liquiddeco.h"
167+#include <qapplication.h> 167+#include <qapplication.h>
168+#include <qpe/config.h> 168+#include <qpe/config.h>
169+#include "effects.h" 169+#include "effects.h"
170 #include <qpalette.h> 170 #include <qpalette.h>
171 #include <qbitmap.h> 171 #include <qbitmap.h>
172 #include <qtabbar.h> 172 #include <qtabbar.h>
173@@ -25,28 +26,30 @@ 173@@ -25,28 +26,30 @@
174 #include <qtimer.h> 174 #include <qtimer.h>
175 #include <qpixmapcache.h> 175 #include <qpixmapcache.h>
176 #include <qradiobutton.h> 176 #include <qradiobutton.h>
177-#include <kimageeffect.h> 177-#include <kimageeffect.h>
178-#include <ktoolbar.h> 178-#include <ktoolbar.h>
179+#include <qcombobox.h> 179+#include <qcombobox.h>
180 #include <qdrawutil.h> 180 #include <qdrawutil.h>
181 #include <qwidgetlist.h> 181 #include <qwidgetlist.h>
182 #include <qtoolbutton.h> 182 #include <qtoolbutton.h>
183 #include <qheader.h> 183 #include <qheader.h>
184 #include <unistd.h> 184 #include <unistd.h>
185-#include <klocale.h> 185-#include <klocale.h>
186-#include <kiconloader.h> 186-#include <kiconloader.h>
187-#include <kmenubar.h> 187-#include <kmenubar.h>
188-#include <kipc.h> 188-#include <kipc.h>
189+#include <qmenubar.h> 189+#include <qmenubar.h>
190+#include <qprogressbar.h> 190+#include <qprogressbar.h>
191+#include <qlineedit.h> 191+#include <qlineedit.h>
192 192
193-#include <X11/X.h> 193-#include <X11/X.h>
194-#include <X11/Xlib.h> 194-#include <X11/Xlib.h>
195+#include <stdio.h> 195+#include <stdio.h>
196 196
197 #include "htmlmasks.h" 197 #include "htmlmasks.h"
198 #include "embeddata.h" 198 #include "embeddata.h"
199 199
200-void TransMenuHandler::stripePixmap(KPixmap &pix, const QColor &color) 200-void TransMenuHandler::stripePixmap(KPixmap &pix, const QColor &color)
201+typedef void (QStyle::*QDrawMenuBarItemImpl) (QPainter *, int, int, int, int, QMenuItem *, 201+typedef void (QStyle::*QDrawMenuBarItemImpl) (QPainter *, int, int, int, int, QMenuItem *,
202+ QColorGroup &, bool, bool); 202+ QColorGroup &, bool, bool);
203+ 203+
204+QDrawMenuBarItemImpl qt_set_draw_menu_bar_impl(QDrawMenuBarItemImpl impl); 204+QDrawMenuBarItemImpl qt_set_draw_menu_bar_impl(QDrawMenuBarItemImpl impl);
205+ 205+
206+void TransMenuHandler::stripePixmap(QPixmap &pix, const QColor &color) 206+void TransMenuHandler::stripePixmap(QPixmap &pix, const QColor &color)
207 { 207 {
208 QImage img(pix.convertToImage()); 208 QImage img(pix.convertToImage());
209- KImageEffect::fade(img, 0.9, color); 209- KImageEffect::fade(img, 0.9, color);
210+ QImageEffect::fade(img, 0.9, color); 210+ QImageEffect::fade(img, 0.9, color);
211 int x, y; 211 int x, y;
212 int r, g, b; 212 int r, g, b;
213 for(y=0; y < img.height(); y+=3){ 213 for(y=0; y < img.height(); y+=3){
214@@ -71,35 +74,37 @@ 214@@ -71,35 +74,37 @@
215 : QObject(parent) 215 : QObject(parent)
216 { 216 {
217 pixDict.setAutoDelete(true); 217 pixDict.setAutoDelete(true);
218- connect(kapp, SIGNAL(kipcMessage(int, int)), this, 218- connect(kapp, SIGNAL(kipcMessage(int, int)), this,
219- SLOT(slotKIPCMessage(int, int))); 219- SLOT(slotKIPCMessage(int, int)));
220 reloadSettings(); 220 reloadSettings();
221 } 221 }
222 222
223 void TransMenuHandler::reloadSettings() 223 void TransMenuHandler::reloadSettings()
224 { 224 {
225 pixDict.clear(); 225 pixDict.clear();
226- KConfig *config = KGlobal::config(); 226- KConfig *config = KGlobal::config();
227- config->setGroup("MosfetMenus"); 227- config->setGroup("MosfetMenus");
228 228
229- type = config->readNumEntry("Type", TransStippleBg); 229- type = config->readNumEntry("Type", TransStippleBg);
230- color = config->readColorEntry("Color", 230- color = config->readColorEntry("Color",
231- &QApplication::palette().active().button()); 231- &QApplication::palette().active().button());
232- fgColor = config->readColorEntry("TextColor", 232- fgColor = config->readColorEntry("TextColor",
233- &QApplication::palette().active().text()); 233- &QApplication::palette().active().text());
234- opacity = config->readNumEntry("Opacity", 10); 234- opacity = config->readNumEntry("Opacity", 10);
235- shadowText = config->readBoolEntry("ShadowText", true); 235- shadowText = config->readBoolEntry("ShadowText", true);
236+ Config config ( "qpe" ); 236+ Config config ( "qpe" );
237+ config. setGroup ( "Liquid-Style" ); 237+ config. setGroup ( "Liquid-Style" );
238+ 238+
239+ type = config. readNumEntry("Type", TransStippleBg); 239+ type = config. readNumEntry("Type", TransStippleBg);
240+ color = QColor ( config. readEntry("Color", QApplication::palette().active().button().name())); 240+ color = QColor ( config. readEntry("Color", QApplication::palette().active().button().name()));
241+ fgColor = QColor ( config. readEntry("TextColor", QApplication::palette().active().text().name())); 241+ fgColor = QColor ( config. readEntry("TextColor", QApplication::palette().active().text().name()));
242+ opacity = config. readNumEntry("Opacity", 10); 242+ opacity = config. readNumEntry("Opacity", 10);
243+ if ( opacity < -20 ) 243+ if ( opacity < -20 )
244 + opacity = 20; 244 + opacity = 20;
245+ else if ( opacity > 20 ) 245+ else if ( opacity > 20 )
246 + opacity = 20; 246 + opacity = 20;
247+ 247+
248+ shadowText = config. readBoolEntry("ShadowText", true); 248+ shadowText = config. readBoolEntry("ShadowText", true);
249 } 249 }
250 250
251 bool TransMenuHandler::eventFilter(QObject *obj, QEvent *ev) 251 bool TransMenuHandler::eventFilter(QObject *obj, QEvent *ev)
252 { 252 {
253- QPopupMenu *p = (QPopupMenu *)obj; 253- QPopupMenu *p = (QPopupMenu *)obj;
254+ QWidget *p = (QWidget *)obj; 254+ QWidget *p = (QWidget *)obj;
255 255
256 if(ev->type() == QEvent::Show){ 256 if(ev->type() == QEvent::Show){
257 if(type == TransStippleBg || type == TransStippleBtn || 257 if(type == TransStippleBg || type == TransStippleBtn ||
258 type == Custom){ 258 type == Custom){
259 QApplication::syncX(); 259 QApplication::syncX();
260- KPixmap *pix = new KPixmap; 260- KPixmap *pix = new KPixmap;
261+ QPixmap *pix = new QPixmap; 261+ QPixmap *pix = new QPixmap;
262 if(p->testWFlags(Qt::WType_Popup)){ 262 if(p->testWFlags(Qt::WType_Popup)){
263 QRect r(p->x(), p->y(), p->width(), p->height()); 263 QRect r(p->x(), p->y(), p->width(), p->height());
264 QRect deskR = QApplication::desktop()->rect(); 264 QRect deskR = QApplication::desktop()->rect();
265@@ -107,7 +112,7 @@ 265@@ -107,7 +112,7 @@
266 r.setBottom(deskR.bottom()); 266 r.setBottom(deskR.bottom());
267 r.setRight(deskR.right()); 267 r.setRight(deskR.right());
268 } 268 }
269- *pix = QPixmap::grabWindow(qt_xrootwin(), r.x(), r.y(), 269- *pix = QPixmap::grabWindow(qt_xrootwin(), r.x(), r.y(),
270+ *pix = QPixmap::grabWindow(QApplication::desktop()-> winId(), r.x(), r.y(), 270+ *pix = QPixmap::grabWindow(QApplication::desktop()-> winId(), r.x(), r.y(),
271 r.width(), r.height()); 271 r.width(), r.height());
272 } 272 }
273 else{ // tear off menu 273 else{ // tear off menu
274@@ -121,82 +126,61 @@ 274@@ -121,82 +126,61 @@
275 stripePixmap(*pix, p->colorGroup().button()); 275 stripePixmap(*pix, p->colorGroup().button());
276 } 276 }
277 else{ 277 else{
278- KPixmapEffect::fade(*pix, (((float)opacity)+80)*0.01, color); 278- KPixmapEffect::fade(*pix, (((float)opacity)+80)*0.01, color);
279+ QPixmapEffect::fade(*pix, (((float)opacity)+80)*0.01, color); 279+ QPixmapEffect::fade(*pix, (((float)opacity)+80)*0.01, color);
280 } 280 }
281+ 281+
282 pixDict.insert(p->winId(), pix); 282 pixDict.insert(p->winId(), pix);
283+ 283+
284+ if ( !p->inherits("QPopupMenu")) 284+ if ( !p->inherits("QPopupMenu"))
285 + p->setBackgroundPixmap(*pix); 285 + p->setBackgroundPixmap(*pix);
286 + 286 +
287+ QObjectList *ol = p-> queryList("QWidget"); 287+ QObjectList *ol = p-> queryList("QWidget");
288 + for ( QObjectListIt it( *ol ); it. current ( ); ++it ) { 288 + for ( QObjectListIt it( *ol ); it. current ( ); ++it ) {
289 + QWidget *wid = (QWidget *) it.current ( ); 289 + QWidget *wid = (QWidget *) it.current ( );
290 + 290 +
291 + wid-> setBackgroundPixmap(*pix); 291 + wid-> setBackgroundPixmap(*pix);
292 + wid-> setBackgroundOrigin(QWidget::ParentOrigin); 292 + wid-> setBackgroundOrigin(QWidget::ParentOrigin);
293+ } 293+ }
294 + delete ol; 294 + delete ol;
295 } 295 }
296 } 296 }
297 else if(ev->type() == QEvent::Hide){ 297 else if(ev->type() == QEvent::Hide){
298 if(type == TransStippleBg || type == TransStippleBtn || 298 if(type == TransStippleBg || type == TransStippleBtn ||
299 type == Custom){ 299 type == Custom){
300- qWarning("Deleting menu pixmap, width %d", pixDict.find(p->winId())->width()); 300- qWarning("Deleting menu pixmap, width %d", pixDict.find(p->winId())->width());
301- pixDict.remove(p->winId()); 301- pixDict.remove(p->winId());
302- } 302- }
303- } 303- }
304- return(false); 304- return(false);
305-} 305-}
306- 306-
307-void TransMenuHandler::slotKIPCMessage(int id, int) 307-void TransMenuHandler::slotKIPCMessage(int id, int)
308-{ 308-{
309- if(id == LIQUID_MENU_CHANGE){ 309- if(id == LIQUID_MENU_CHANGE){
310- bool oldShadow = shadowText; 310- bool oldShadow = shadowText;
311- 311-
312- KConfig *config = KGlobal::config(); 312- KConfig *config = KGlobal::config();
313- config->reparseConfiguration(); // in case KControl changed values 313- config->reparseConfiguration(); // in case KControl changed values
314+// qWarning("Deleting menu pixmap, width %d", pixDict.find(p->winId())->width()); 314+// qWarning("Deleting menu pixmap, width %d", pixDict.find(p->winId())->width());
315 315
316- // Make sure no popupmenus are shown. There shouldn't be any because 316- // Make sure no popupmenus are shown. There shouldn't be any because
317- // the user just clicked "Apply", but there can be tear offs ;-) 317- // the user just clicked "Apply", but there can be tear offs ;-)
318- // We just close them so the pixmaps are deleted and regenerated. 318- // We just close them so the pixmaps are deleted and regenerated.
319- QWidgetList *list = QApplication::topLevelWidgets(); 319- QWidgetList *list = QApplication::topLevelWidgets();
320- QWidgetListIt it( *list ); 320- QWidgetListIt it( *list );
321- QWidget *w; 321- QWidget *w;
322- while ((w=it.current()) != 0 ){ 322- while ((w=it.current()) != 0 ){
323- ++it; 323- ++it;
324- if(w->inherits("QPopupMenu")){ 324- if(w->inherits("QPopupMenu")){
325- w->close(); 325- w->close();
326- } 326- }
327- } 327- }
328+ pixDict.remove(p->winId()); 328+ pixDict.remove(p->winId());
329+ if ( !p->inherits("QPopupMenu")) 329+ if ( !p->inherits("QPopupMenu"))
330+ p->setBackgroundMode(QWidget::PaletteBackground); 330+ p->setBackgroundMode(QWidget::PaletteBackground);
331 331
332- reloadSettings(); 332- reloadSettings();
333 + QObjectList *ol = p-> queryList("QWidget"); 333 + QObjectList *ol = p-> queryList("QWidget");
334 + for ( QObjectListIt it( *ol ); it. current ( ); ++it ) { 334 + for ( QObjectListIt it( *ol ); it. current ( ); ++it ) {
335 + QWidget *wid = (QWidget *) it.current ( ); 335 + QWidget *wid = (QWidget *) it.current ( );
336 336
337- // Now repaint menubar if needed 337- // Now repaint menubar if needed
338- if(shadowText != oldShadow){ 338- if(shadowText != oldShadow){
339- it.toFirst(); 339- it.toFirst();
340- while ((w=it.current()) != 0 ){ 340- while ((w=it.current()) != 0 ){
341- ++it; 341- ++it;
342- if(w->inherits("QMenuBar")){ 342- if(w->inherits("QMenuBar")){
343- w->repaint(); 343- w->repaint();
344- }
345- }
346 + wid-> setBackgroundMode( QWidget::PaletteBackground ); 344 + wid-> setBackgroundMode( QWidget::PaletteBackground );
345 }
346 + delete ol;
347 }
347 } 348 }
348- } 349- }
349- else if(id == MOSFET_BUTTON_CHANGE){ 350- else if(id == MOSFET_BUTTON_CHANGE){
350- qWarning("In mosfet button change"); 351- qWarning("In mosfet button change");
351- // really, this should be in LiquidStyle, but what the hell? ;-) 352- // really, this should be in LiquidStyle, but what the hell? ;-)
352- QWidgetList *list = QApplication::allWidgets(); 353- QWidgetList *list = QApplication::allWidgets();
353- QWidgetListIt it( *list ); 354- QWidgetListIt it( *list );
354- QWidget *w; 355- QWidget *w;
355- while ((w=it.current()) != 0 ){ 356- while ((w=it.current()) != 0 ){
356- ++it; 357- ++it;
357- if(w->inherits("QPushButton")){ 358- if(w->inherits("QPushButton")){
358- ((LiquidStyle*)parent())->unapplyCustomAttributes((QPushButton *)w); 359- ((LiquidStyle*)parent())->unapplyCustomAttributes((QPushButton *)w);
359- } 360- }
360- } 361- }
361- ((LiquidStyle*)parent())->loadCustomButtons(); 362- ((LiquidStyle*)parent())->loadCustomButtons();
362- it.toFirst(); 363- it.toFirst();
363- while ((w=it.current()) != 0 ){ 364- while ((w=it.current()) != 0 ){
364- ++it; 365- ++it;
365- if(w->inherits("QPushButton")){ 366- if(w->inherits("QPushButton")){
366- ((LiquidStyle*)parent())->applyCustomAttributes((QPushButton *)w); 367- ((LiquidStyle*)parent())->applyCustomAttributes((QPushButton *)w);
367 + delete ol; 368- }
368 } 369- }
369 }
370+ return(false); 370+ return(false);
371+} 371+}
372 372
373- } 373- }
374+ 374+
375+static int qt_version ( ) 375+static int qt_version ( )
376+{ 376+{
377 +const char *qver = qVersion ( ); 377 +const char *qver = qVersion ( );
378 +return ( qver [0] - '0' ) * 100 + ( qver [2] - '0' ) * 10 + ( qver [4] - '0' ); 378 +return ( qver [0] - '0' ) * 100 + ( qver [2] - '0' ) * 10 + ( qver [4] - '0' );
379 } 379 }
380 380
381+ 381+
382 LiquidStyle::LiquidStyle() 382 LiquidStyle::LiquidStyle()
383- :KStyle() 383- :KStyle()
384+ :QWindowsStyle() 384+ :QWindowsStyle()
385 { 385 {
386+ setName ( "LiquidStyle" ); 386+ setName ( "LiquidStyle" );
387+ 387+
388 +oldqte = ( qt_version ( ) < 234 ); 388 +oldqte = ( qt_version ( ) < 234 );
389 +flatTBButtons = false; 389 +flatTBButtons = false;
390+ 390+
391 btnMaskBmp = QBitmap(37, 26, buttonmask_bits, true); 391 btnMaskBmp = QBitmap(37, 26, buttonmask_bits, true);
392 btnMaskBmp.setMask(btnMaskBmp); 392 btnMaskBmp.setMask(btnMaskBmp);
393 htmlBtnMaskBmp = QBitmap(37, 26, htmlbuttonmask_bits, true); 393 htmlBtnMaskBmp = QBitmap(37, 26, htmlbuttonmask_bits, true);
394@@ -207,12 +191,8 @@ 394@@ -207,12 +191,8 @@
395 btnDict.setAutoDelete(true); 395 btnDict.setAutoDelete(true);
396 bevelFillDict.setAutoDelete(true); 396 bevelFillDict.setAutoDelete(true);
397 smallBevelFillDict.setAutoDelete(true); 397 smallBevelFillDict.setAutoDelete(true);
398- customBtnColorList.setAutoDelete(true); 398- customBtnColorList.setAutoDelete(true);
399- customBtnIconList.setAutoDelete(true); 399- customBtnIconList.setAutoDelete(true);
400- customBtnLabelList.setAutoDelete(true); 400- customBtnLabelList.setAutoDelete(true);
401 401
402 rMatrix.rotate(270.0); 402 rMatrix.rotate(270.0);
403- highcolor = QPixmap::defaultDepth() > 8; 403- highcolor = QPixmap::defaultDepth() > 8;
404 btnBorderPix = new QPixmap; 404 btnBorderPix = new QPixmap;
405 btnBorderPix->convertFromImage(qembed_findImage("buttonfill")); 405 btnBorderPix->convertFromImage(qembed_findImage("buttonfill"));
406 btnBlendPix = new QPixmap; 406 btnBlendPix = new QPixmap;
407@@ -572,131 +552,119 @@ 407@@ -572,131 +552,119 @@
408 case HTMLBtnBorderDown: 408 case HTMLBtnBorderDown:
409 pixmaps[HTMLBtnBorderDown] = processEmbedded("htmlbtnborder", btnHoverH, btnHoverS, btnHoverV); 409 pixmaps[HTMLBtnBorderDown] = processEmbedded("htmlbtnborder", btnHoverH, btnHoverS, btnHoverV);
410 break; 410 break;
411+ 411+
412 case HTMLCB: 412 case HTMLCB:
413 pixmaps[HTMLCB] = processEmbedded("htmlcheckbox", bH, bS, bV); 413 pixmaps[HTMLCB] = processEmbedded("htmlcheckbox", bH, bS, bV);
414 break; 414 break;
415+ case HTMLCBHover: 415+ case HTMLCBHover:
416+ pixmaps[HTMLCBHover] = processEmbedded("htmlcheckbox", btnHoverH, btnHoverS, btnHoverV); 416+ pixmaps[HTMLCBHover] = processEmbedded("htmlcheckbox", btnHoverH, btnHoverS, btnHoverV);
417+ break; 417+ break;
418 case HTMLCBDown: 418 case HTMLCBDown:
419 pixmaps[HTMLCBDown] = processEmbedded("htmlcheckboxdown", btnH, btnS, btnV); 419 pixmaps[HTMLCBDown] = processEmbedded("htmlcheckboxdown", btnH, btnS, btnV);
420 break; 420 break;
421- case HTMLCBHover: 421- case HTMLCBHover:
422- pixmaps[HTMLCBHover] = processEmbedded("htmlcheckbox", btnH, btnS, btnV); 422- pixmaps[HTMLCBHover] = processEmbedded("htmlcheckbox", btnH, btnS, btnV);
423- break; 423- break;
424 case HTMLCBDownHover: 424 case HTMLCBDownHover:
425- pixmaps[HTMLCBDownHover] = processEmbedded("htmlcheckboxdown", 425- pixmaps[HTMLCBDownHover] = processEmbedded("htmlcheckboxdown",
426- btnHoverH, btnHoverS, 426- btnHoverH, btnHoverS,
427- btnHoverV); 427- btnHoverV);
428+ pixmaps[HTMLCBDownHover] = processEmbedded("htmlcheckboxdown", btnHoverH, btnHoverS, btnHoverV); 428+ pixmaps[HTMLCBDownHover] = processEmbedded("htmlcheckboxdown", btnHoverH, btnHoverS, btnHoverV);
429 break; 429 break;
430+ 430+
431 case HTMLRadio: 431 case HTMLRadio:
432 pixmaps[HTMLRadio] = processEmbedded("htmlradio", bH, bS, bV); 432 pixmaps[HTMLRadio] = processEmbedded("htmlradio", bH, bS, bV);
433 + break; 433 + break;
434+ case HTMLRadioHover: 434+ case HTMLRadioHover:
435+ pixmaps[HTMLRadioHover] = processEmbedded("htmlradio", btnHoverH, btnHoverS, btnHoverV); 435+ pixmaps[HTMLRadioHover] = processEmbedded("htmlradio", btnHoverH, btnHoverS, btnHoverV);
436 + break; 436 + break;
437 case HTMLRadioDown: 437 case HTMLRadioDown:
438 pixmaps[HTMLRadioDown] = processEmbedded("htmlradiodown", btnH, btnS, btnV); 438 pixmaps[HTMLRadioDown] = processEmbedded("htmlradiodown", btnH, btnS, btnV);
439- case HTMLRadioHover: 439- case HTMLRadioHover:
440- pixmaps[HTMLRadioHover] = processEmbedded("htmlradio", btnH, btnS, btnV); 440- pixmaps[HTMLRadioHover] = processEmbedded("htmlradio", btnH, btnS, btnV);
441 + break; 441 + break;
442 case HTMLRadioDownHover: 442 case HTMLRadioDownHover:
443- pixmaps[HTMLRadioDownHover] = processEmbedded("htmlradiodown", 443- pixmaps[HTMLRadioDownHover] = processEmbedded("htmlradiodown",
444- btnHoverH, btnHoverS, 444- btnHoverH, btnHoverS,
445- btnHoverV); 445- btnHoverV);
446+ pixmaps[HTMLRadioDownHover] = processEmbedded("htmlradiodown", btnHoverH, btnHoverS, btnHoverV); 446+ pixmaps[HTMLRadioDownHover] = processEmbedded("htmlradiodown", btnHoverH, btnHoverS, btnHoverV);
447 + break; 447 + break;
448+ 448+
449+ case RadioOff: 449+ case RadioOff:
450+ pixmaps[RadioOff] = processEmbedded("radio", bH, bS, bV /*, true*/); 450+ pixmaps[RadioOff] = processEmbedded("radio", bH, bS, bV /*, true*/);
451+ break; 451+ break;
452+ case RadioOffHover: 452+ case RadioOffHover:
453+ pixmaps[RadioOffHover] = processEmbedded("radio", btnHoverH, btnHoverS, btnHoverV /*, true*/); 453+ pixmaps[RadioOffHover] = processEmbedded("radio", btnHoverH, btnHoverS, btnHoverV /*, true*/);
454+ break; 454+ break;
455 case RadioOn: 455 case RadioOn:
456- pixmaps[RadioOn] = processEmbedded("radio_down", btnH, btnS, btnV, true); 456- pixmaps[RadioOn] = processEmbedded("radio_down", btnH, btnS, btnV, true);
457+ pixmaps[RadioOn] = processEmbedded("radio_down", btnH, btnS, btnV /*, true*/); 457+ pixmaps[RadioOn] = processEmbedded("radio_down", btnH, btnS, btnV /*, true*/);
458 break; 458 break;
459 case RadioOnHover: 459 case RadioOnHover:
460- pixmaps[RadioOnHover] = processEmbedded("radio_down", btnHoverH, btnHoverS, 460- pixmaps[RadioOnHover] = processEmbedded("radio_down", btnHoverH, btnHoverS,
461- btnHoverV, true); 461- btnHoverV, true);
462+ pixmaps[RadioOnHover] = processEmbedded("radio_down", btnHoverH, btnHoverS, btnHoverV /*, true*/); 462+ pixmaps[RadioOnHover] = processEmbedded("radio_down", btnHoverH, btnHoverS, btnHoverV /*, true*/);
463 break; 463 break;
464- case RadioOffHover: 464- case RadioOffHover:
465- pixmaps[RadioOffHover] = processEmbedded("radio", btnH, btnS, btnV, true); 465- pixmaps[RadioOffHover] = processEmbedded("radio", btnH, btnS, btnV, true);
466+ 466+
467+ case Tab: 467+ case Tab:
468+ pixmaps[Tab] = processEmbedded("tab", bH, bS, bV /*, true*/); 468+ pixmaps[Tab] = processEmbedded("tab", bH, bS, bV /*, true*/);
469 break; 469 break;
470 case TabDown: 470 case TabDown:
471- pixmaps[TabDown] = processEmbedded("tab", btnH, btnS, btnV, true); 471- pixmaps[TabDown] = processEmbedded("tab", btnH, btnS, btnV, true);
472+ pixmaps[TabDown] = processEmbedded("tab", btnH, btnS, btnV /*, true*/); 472+ pixmaps[TabDown] = processEmbedded("tab", btnH, btnS, btnV /*, true*/);
473 break; 473 break;
474 case TabFocus: 474 case TabFocus:
475- pixmaps[TabFocus] = processEmbedded("tab", btnHoverH, btnHoverS, 475- pixmaps[TabFocus] = processEmbedded("tab", btnHoverH, btnHoverS,
476- btnHoverS, true); 476- btnHoverS, true);
477- break; 477- break;
478- case CBDown: 478- case CBDown:
479- pixmaps[CBDown] = processEmbedded("checkboxdown", btnH, btnS, btnV, true); 479- pixmaps[CBDown] = processEmbedded("checkboxdown", btnH, btnS, btnV, true);
480+ pixmaps[TabFocus] = processEmbedded("tab", btnHoverH, btnHoverS, btnHoverV /*, true*/); 480+ pixmaps[TabFocus] = processEmbedded("tab", btnHoverH, btnHoverS, btnHoverV /*, true*/);
481 break; 481 break;
482- case CBDownHover: 482- case CBDownHover:
483- pixmaps[CBDownHover] = processEmbedded("checkboxdown", btnHoverH, 483- pixmaps[CBDownHover] = processEmbedded("checkboxdown", btnHoverH,
484- btnHoverS, btnHoverV, true); 484- btnHoverS, btnHoverV, true);
485+ 485+
486 +case CB: 486 +case CB:
487+ pixmaps[CB] = processEmbedded("checkbox", bH, bS, bV /*, true*/); 487+ pixmaps[CB] = processEmbedded("checkbox", bH, bS, bV /*, true*/);
488 break; 488 break;
489 case CBHover: 489 case CBHover:
490- pixmaps[CBHover] = processEmbedded("checkbox", btnH, btnS, btnV, true); 490- pixmaps[CBHover] = processEmbedded("checkbox", btnH, btnS, btnV, true);
491+ pixmaps[CBHover] = processEmbedded("checkbox", btnHoverH, btnHoverS, btnHoverV /*, true*/); 491+ pixmaps[CBHover] = processEmbedded("checkbox", btnHoverH, btnHoverS, btnHoverV /*, true*/);
492 break; 492 break;
493- case HSlider: 493- case HSlider:
494- pixmaps[HSlider] = processEmbedded("sliderarrow", btnH, btnS, btnV, true); 494- pixmaps[HSlider] = processEmbedded("sliderarrow", btnH, btnS, btnV, true);
495+ case CBDown: 495+ case CBDown:
496+ pixmaps[CBDown] = processEmbedded("checkboxdown", btnH, btnS, btnV /*, true*/); 496+ pixmaps[CBDown] = processEmbedded("checkboxdown", btnH, btnS, btnV /*, true*/);
497 break; 497+ break;
498+ case CBDownHover: 498+ case CBDownHover:
499+ pixmaps[CBDownHover] = processEmbedded("checkboxdown", btnHoverH, btnHoverS, btnHoverV /*, true*/); 499+ pixmaps[CBDownHover] = processEmbedded("checkboxdown", btnHoverH, btnHoverS, btnHoverV /*, true*/);
500+ break; 500 break;
501+ 501+
502 case VSlider: 502 case VSlider:
503- pixmaps[VSlider] = processEmbedded("sliderarrow", btnH, btnS, btnV, true); 503- pixmaps[VSlider] = processEmbedded("sliderarrow", btnH, btnS, btnV, true);
504+ pixmaps[VSlider] = processEmbedded("sliderarrow", btnH, btnS, btnV, true ); 504+ pixmaps[VSlider] = processEmbedded("sliderarrow", btnH, btnS, btnV, true );
505 *pixmaps[VSlider] = pixmaps[VSlider]->xForm(rMatrix); 505 *pixmaps[VSlider] = pixmaps[VSlider]->xForm(rMatrix);
506 break; 506 break;
507- case RadioOff: 507- case RadioOff:
508- pixmaps[RadioOff] = processEmbedded("radio", bH, bS, bV, true); 508- pixmaps[RadioOff] = processEmbedded("radio", bH, bS, bV, true);
509- break; 509- break;
510- case Tab: 510- case Tab:
511- pixmaps[Tab] = processEmbedded("tab", bH, bS, bV, true); 511- pixmaps[Tab] = processEmbedded("tab", bH, bS, bV, true);
512- break; 512- break;
513- case CB: 513- case CB:
514- pixmaps[CB] = processEmbedded("checkbox", bH, bS, bV, true); 514- pixmaps[CB] = processEmbedded("checkbox", bH, bS, bV, true);
515- break; 515- break;
516 case VSBSliderTop: 516 case VSBSliderTop:
517- pixmaps[VSBSliderTop] = processEmbedded("sbslider_top", btnH, btnS, btnV, true); 517- pixmaps[VSBSliderTop] = processEmbedded("sbslider_top", btnH, btnS, btnV, true);
518+ case VSBSliderTopHover: 518+ case VSBSliderTopHover:
519+ pixmaps[item] = processEmbedded("sbslider_top", btnH, btnS, btnV /*, true*/); 519+ pixmaps[item] = processEmbedded("sbslider_top", btnH, btnS, btnV /*, true*/);
520 break; 520 break;
521 case VSBSliderBtm: 521 case VSBSliderBtm:
522- pixmaps[VSBSliderBtm] = processEmbedded("sbslider_btm", btnH, btnS, btnV, true); 522- pixmaps[VSBSliderBtm] = processEmbedded("sbslider_btm", btnH, btnS, btnV, true);
523+ case VSBSliderBtmHover: 523+ case VSBSliderBtmHover:
524+ pixmaps[item] = processEmbedded("sbslider_btm", btnH, btnS, btnV /*, true*/); 524+ pixmaps[item] = processEmbedded("sbslider_btm", btnH, btnS, btnV /*, true*/);
525 break; 525 break;
526 case VSBSliderMid: 526 case VSBSliderMid:
527- pixmaps[VSBSliderMid] = processEmbedded("sbslider_mid", btnH, btnS, btnV); 527- pixmaps[VSBSliderMid] = processEmbedded("sbslider_mid", btnH, btnS, btnV);
528+ case VSBSliderMidHover: 528+ case VSBSliderMidHover:
529+ pixmaps[item] = processEmbedded("sbslider_mid", btnH, btnS, btnV); 529+ pixmaps[item] = processEmbedded("sbslider_mid", btnH, btnS, btnV);
530 break; 530 break;
531- case VSBSliderTopHover: 531- case VSBSliderTopHover:
532- pixmaps[VSBSliderTopHover] = processEmbedded("sbslider_top", btnHoverH, btnHoverS, btnHoverV, true); 532- pixmaps[VSBSliderTopHover] = processEmbedded("sbslider_top", btnHoverH, btnHoverS, btnHoverV, true);
533 +case VSBSliderTopBg: 533 +case VSBSliderTopBg:
534+ pixmaps[VSBSliderTopBg] = processEmbedded("sbslider_top", bH, bS, bV /*, true*/); 534+ pixmaps[VSBSliderTopBg] = processEmbedded("sbslider_top", bH, bS, bV /*, true*/);
535 break; 535 break;
536- case VSBSliderBtmHover: 536- case VSBSliderBtmHover:
537- pixmaps[VSBSliderBtmHover] = processEmbedded("sbslider_btm", btnHoverH, btnHoverS, btnHoverV, true); 537- pixmaps[VSBSliderBtmHover] = processEmbedded("sbslider_btm", btnHoverH, btnHoverS, btnHoverV, true);
538+ case VSBSliderBtmBg: 538+ case VSBSliderBtmBg:
539+ pixmaps[VSBSliderBtmBg] = processEmbedded("sbslider_btm", bH, bS, bV /*, true*/); 539+ pixmaps[VSBSliderBtmBg] = processEmbedded("sbslider_btm", bH, bS, bV /*, true*/);
540 break; 540 break;
541- case VSBSliderMidHover: 541- case VSBSliderMidHover:
542- pixmaps[VSBSliderMidHover] = processEmbedded("sbslider_mid", btnHoverH, btnHoverS, btnHoverV); 542- pixmaps[VSBSliderMidHover] = processEmbedded("sbslider_mid", btnHoverH, btnHoverS, btnHoverV);
543+ case VSBSliderMidBg: 543+ case VSBSliderMidBg:
544+ pixmaps[VSBSliderMidBg] = processEmbedded("sbslider_mid", bH, bS, bV); 544+ pixmaps[VSBSliderMidBg] = processEmbedded("sbslider_mid", bH, bS, bV);
545 break; 545 break;
546 546
547- case HSBSliderTop: 547- case HSBSliderTop:
548- pixmaps[HSBSliderTop] = processEmbedded("sbslider_top", btnH, btnS, btnV, true); 548- pixmaps[HSBSliderTop] = processEmbedded("sbslider_top", btnH, btnS, btnV, true);
549- *pixmaps[HSBSliderTop] = pixmaps[HSBSliderTop]->xForm(rMatrix); 549- *pixmaps[HSBSliderTop] = pixmaps[HSBSliderTop]->xForm(rMatrix);
550- break; 550- break;
551- case HSBSliderBtm: 551- case HSBSliderBtm:
552- pixmaps[HSBSliderBtm] = processEmbedded("sbslider_btm", btnH, btnS, btnV, true); 552- pixmaps[HSBSliderBtm] = processEmbedded("sbslider_btm", btnH, btnS, btnV, true);
553- *pixmaps[HSBSliderBtm] = pixmaps[HSBSliderBtm]->xForm(rMatrix); 553- *pixmaps[HSBSliderBtm] = pixmaps[HSBSliderBtm]->xForm(rMatrix);
554- break; 554- break;
555- case HSBSliderMid: 555- case HSBSliderMid:
556- pixmaps[HSBSliderMid] = processEmbedded("sbslider_mid", btnH, btnS, btnV); 556- pixmaps[HSBSliderMid] = processEmbedded("sbslider_mid", btnH, btnS, btnV);
557- *pixmaps[HSBSliderMid] = pixmaps[HSBSliderMid]->xForm(rMatrix); 557- *pixmaps[HSBSliderMid] = pixmaps[HSBSliderMid]->xForm(rMatrix);
558 +case HSlider: 558 +case HSlider:
559+ pixmaps[HSlider] = processEmbedded("sliderarrow", btnH, btnS, btnV /*, true*/); 559+ pixmaps[HSlider] = processEmbedded("sliderarrow", btnH, btnS, btnV /*, true*/);
560 break; 560 break;
561+ case HSBSliderTop: 561+ case HSBSliderTop:
562 case HSBSliderTopHover: 562 case HSBSliderTopHover:
563- pixmaps[HSBSliderTopHover] = processEmbedded("sbslider_top", btnHoverH, btnHoverS, btnHoverV, true); 563- pixmaps[HSBSliderTopHover] = processEmbedded("sbslider_top", btnHoverH, btnHoverS, btnHoverV, true);
564- *pixmaps[HSBSliderTopHover] = pixmaps[HSBSliderTopHover]->xForm(rMatrix); 564- *pixmaps[HSBSliderTopHover] = pixmaps[HSBSliderTopHover]->xForm(rMatrix);
565+ pixmaps[item] = processEmbedded("sbslider_top", btnH, btnS, btnV, true ); 565+ pixmaps[item] = processEmbedded("sbslider_top", btnH, btnS, btnV, true );
566+ *pixmaps[item] = pixmaps[item]->xForm(rMatrix); 566+ *pixmaps[item] = pixmaps[item]->xForm(rMatrix);
567 break; 567 break;
568+ case HSBSliderBtm: 568+ case HSBSliderBtm:
569 case HSBSliderBtmHover: 569 case HSBSliderBtmHover:
570- pixmaps[HSBSliderBtmHover] = processEmbedded("sbslider_btm", btnHoverH, btnHoverS, btnHoverV, true); 570- pixmaps[HSBSliderBtmHover] = processEmbedded("sbslider_btm", btnHoverH, btnHoverS, btnHoverV, true);
571- *pixmaps[HSBSliderBtmHover] = pixmaps[HSBSliderBtmHover]->xForm(rMatrix); 571- *pixmaps[HSBSliderBtmHover] = pixmaps[HSBSliderBtmHover]->xForm(rMatrix);
572+ pixmaps[item] = processEmbedded("sbslider_btm", btnH, btnS, btnV, true ); 572+ pixmaps[item] = processEmbedded("sbslider_btm", btnH, btnS, btnV, true );
573+ *pixmaps[item] = pixmaps[item]->xForm(rMatrix); 573+ *pixmaps[item] = pixmaps[item]->xForm(rMatrix);
574 break; 574 break;
575+ case HSBSliderMid: 575+ case HSBSliderMid:
576 case HSBSliderMidHover: 576 case HSBSliderMidHover:
577- pixmaps[HSBSliderMidHover] = processEmbedded("sbslider_mid", btnHoverH, btnHoverS, btnHoverV); 577- pixmaps[HSBSliderMidHover] = processEmbedded("sbslider_mid", btnHoverH, btnHoverS, btnHoverV);
578- *pixmaps[HSBSliderMidHover] = pixmaps[HSBSliderMidHover]->xForm(rMatrix); 578- *pixmaps[HSBSliderMidHover] = pixmaps[HSBSliderMidHover]->xForm(rMatrix);
579- break; 579- break;
580- case VSBSliderTopBg: 580- case VSBSliderTopBg:
581- pixmaps[VSBSliderTopBg] = processEmbedded("sbslider_top", bH, bS, bV, true); 581- pixmaps[VSBSliderTopBg] = processEmbedded("sbslider_top", bH, bS, bV, true);
582- break; 582- break;
583- case VSBSliderBtmBg: 583- case VSBSliderBtmBg:
584- pixmaps[VSBSliderBtmBg] = processEmbedded("sbslider_btm", bH, bS, bV, true); 584- pixmaps[VSBSliderBtmBg] = processEmbedded("sbslider_btm", bH, bS, bV, true);
585- break; 585- break;
586- case VSBSliderMidBg: 586- case VSBSliderMidBg:
587- pixmaps[VSBSliderMidBg] = processEmbedded("sbslider_mid", bH, bS, bV); 587- pixmaps[VSBSliderMidBg] = processEmbedded("sbslider_mid", bH, bS, bV);
588+ pixmaps[item] = processEmbedded("sbslider_mid", btnH, btnS, btnV); 588+ pixmaps[item] = processEmbedded("sbslider_mid", btnH, btnS, btnV);
589+ *pixmaps[item] = pixmaps[item]->xForm(rMatrix); 589+ *pixmaps[item] = pixmaps[item]->xForm(rMatrix);
590 break; 590 break;
591 case HSBSliderTopBg: 591 case HSBSliderTopBg:
592- pixmaps[HSBSliderTopBg] = processEmbedded("sbslider_top", bH, bS, bV, true); 592- pixmaps[HSBSliderTopBg] = processEmbedded("sbslider_top", bH, bS, bV, true);
593+ pixmaps[HSBSliderTopBg] = processEmbedded("sbslider_top", bH, bS, bV, true ); 593+ pixmaps[HSBSliderTopBg] = processEmbedded("sbslider_top", bH, bS, bV, true );
594 *pixmaps[HSBSliderTopBg] = pixmaps[HSBSliderTopBg]->xForm(rMatrix); 594 *pixmaps[HSBSliderTopBg] = pixmaps[HSBSliderTopBg]->xForm(rMatrix);
595 break; 595 break;
596 case HSBSliderBtmBg: 596 case HSBSliderBtmBg:
597- pixmaps[HSBSliderBtmBg] = processEmbedded("sbslider_btm", bH, bS, bV, true); 597- pixmaps[HSBSliderBtmBg] = processEmbedded("sbslider_btm", bH, bS, bV, true);
598+ pixmaps[HSBSliderBtmBg] = processEmbedded("sbslider_btm", bH, bS, bV, true ); 598+ pixmaps[HSBSliderBtmBg] = processEmbedded("sbslider_btm", bH, bS, bV, true );
599 *pixmaps[HSBSliderBtmBg] = pixmaps[HSBSliderBtmBg]->xForm(rMatrix); 599 *pixmaps[HSBSliderBtmBg] = pixmaps[HSBSliderBtmBg]->xForm(rMatrix);
600 break; 600 break;
601 case HSBSliderMidBg: 601 case HSBSliderMidBg:
602@@ -711,7 +679,6 @@ 602@@ -711,7 +679,6 @@
603 603
604 void LiquidStyle::polish(QPalette &appPal) 604 void LiquidStyle::polish(QPalette &appPal)
605 { 605 {
606- 606-
607 int i; 607 int i;
608 for(i=0; i < BITMAP_ITEMS; ++i){ 608 for(i=0; i < BITMAP_ITEMS; ++i){
609 if(pixmaps[i]){ 609 if(pixmaps[i]){
610@@ -719,31 +686,28 @@ 610@@ -719,31 +686,28 @@
611 pixmaps[i] = NULL; 611 pixmaps[i] = NULL;
612 } 612 }
613 } 613 }
614- QWidgetList *list = QApplication::allWidgets(); 614- QWidgetList *list = QApplication::allWidgets();
615- QWidgetListIt it( *list ); 615- QWidgetListIt it( *list );
616- QWidget *w; 616- QWidget *w;
617- while ((w=it.current()) != 0 ){ 617- while ((w=it.current()) != 0 ){
618- ++it; 618- ++it;
619- if(w->inherits("QPushButton")){ 619- if(w->inherits("QPushButton")){
620- unapplyCustomAttributes((QPushButton *)w); 620- unapplyCustomAttributes((QPushButton *)w);
621- } 621- }
622- } 622- }
623- 623-
624- loadCustomButtons(); 624- loadCustomButtons();
625- lowLightVal = 100 + (2*KGlobalSettings::contrast()+4)*10; 625- lowLightVal = 100 + (2*KGlobalSettings::contrast()+4)*10;
626+ lowLightVal = 100 + (2* /*KGlobalSettings::contrast()*/ 3 +4)*10; 626+ lowLightVal = 100 + (2* /*KGlobalSettings::contrast()*/ 3 +4)*10;
627 btnDict.clear(); 627 btnDict.clear();
628 btnBorderDict.clear(); 628 btnBorderDict.clear();
629 bevelFillDict.clear(); 629 bevelFillDict.clear();
630 smallBevelFillDict.clear(); 630 smallBevelFillDict.clear();
631 631
632- KConfig *config = KGlobal::config(); 632- KConfig *config = KGlobal::config();
633- QString oldGrp = config->group(); 633- QString oldGrp = config->group();
634- QPalette pal = QApplication::palette(); 634- QPalette pal = QApplication::palette();
635+ Config config ( "qpe" ); 635+ Config config ( "qpe" );
636+ config. setGroup ( "Liquid-Style" ); 636+ config. setGroup ( "Liquid-Style" );
637 +int contrast = config. readNumEntry ( "StippleContrast", 5 ); 637 +int contrast = config. readNumEntry ( "StippleContrast", 5 );
638 +if ( contrast < 0 ) 638 +if ( contrast < 0 )
639 + contrast = 0; 639 + contrast = 0;
640 +else if ( contrast > 10 ) 640 +else if ( contrast > 10 )
641 + contrast = 10; 641 + contrast = 10;
642+ 642+
643+// QPalette pal = QApplication::palette(); 643+// QPalette pal = QApplication::palette();
644 644
645 // button color stuff 645 // button color stuff
646- config->setGroup("General"); 646- config->setGroup("General");
647- QColor c = config->readColorEntry("buttonBackground", &Qt::lightGray); 647- QColor c = config->readColorEntry("buttonBackground", &Qt::lightGray);
648- if(c == config->readColorEntry("background", &Qt::lightGray)){ 648- if(c == config->readColorEntry("background", &Qt::lightGray)){
649+ config. setGroup ( "Appearance" ); 649+ config. setGroup ( "Appearance" );
650+ QColor c = oldqte ? QColor ( config. readEntry("Button", ( Qt::lightGray ). name ( ))) 650+ QColor c = oldqte ? QColor ( config. readEntry("Button", ( Qt::lightGray ). name ( )))
651+ : appPal. color ( QPalette::Active, QColorGroup::Button ); 651+ : appPal. color ( QPalette::Active, QColorGroup::Button );
652+ if ( c == ( oldqte ? QColor ( config. readEntry ( "background", ( Qt::lightGray ). name ( ))) 652+ if ( c == ( oldqte ? QColor ( config. readEntry ( "background", ( Qt::lightGray ). name ( )))
653+ : appPal. color ( QPalette::Active, QColorGroup::Background ))) { 653+ : appPal. color ( QPalette::Active, QColorGroup::Background ))) {
654 // force button color to be different from background 654 // force button color to be different from background
655 QBrush btnBrush(QColor(200, 202, 228)); 655 QBrush btnBrush(QColor(200, 202, 228));
656 appPal.setBrush(QColorGroup::Button, btnBrush); 656 appPal.setBrush(QColorGroup::Button, btnBrush);
657@@ -778,8 +742,8 @@ 657@@ -778,8 +742,8 @@
658 adjustHSV(*pix, h, s, v); 658 adjustHSV(*pix, h, s, v);
659 smallBevelFillDict.insert(c.rgb(), pix); 659 smallBevelFillDict.insert(c.rgb(), pix);
660 } 660 }
661- pagerHoverBrush.setColor(c); 661- pagerHoverBrush.setColor(c);
662- pagerHoverBrush.setPixmap(*pix); 662- pagerHoverBrush.setPixmap(*pix);
663+// pagerHoverBrush.setColor(c); 663+// pagerHoverBrush.setColor(c);
664+// pagerHoverBrush.setPixmap(*pix); 664+// pagerHoverBrush.setPixmap(*pix);
665 665
666 c = c.dark(120); 666 c = c.dark(120);
667 pix = smallBevelFillDict.find(c.rgb()); // better be NULL ;-) 667 pix = smallBevelFillDict.find(c.rgb()); // better be NULL ;-)
668@@ -790,19 +754,13 @@ 668@@ -790,19 +754,13 @@
669 adjustHSV(*pix, h, s, v); 669 adjustHSV(*pix, h, s, v);
670 smallBevelFillDict.insert(c.rgb(), pix); 670 smallBevelFillDict.insert(c.rgb(), pix);
671 } 671 }
672- pagerBrush.setColor(c); 672- pagerBrush.setColor(c);
673- pagerBrush.setPixmap(*pix); 673- pagerBrush.setPixmap(*pix);
674+// pagerBrush.setColor(c); 674+// pagerBrush.setColor(c);
675+// pagerBrush.setPixmap(*pix); 675+// pagerBrush.setPixmap(*pix);
676 676
677 // background color stuff 677 // background color stuff
678- c = config->readColorEntry("background", &Qt::lightGray); 678- c = config->readColorEntry("background", &Qt::lightGray);
679- if(qstrcmp(kapp->argv()[0], "kicker") == 0){ 679- if(qstrcmp(kapp->argv()[0], "kicker") == 0){
680- appPal.setColor(QColorGroup::Mid, menuBrush.color().dark(110)); 680- appPal.setColor(QColorGroup::Mid, menuBrush.color().dark(110));
681- appPal.setColor(QColorGroup::Dark, menuBrush.color().dark(130)); 681- appPal.setColor(QColorGroup::Dark, menuBrush.color().dark(130));
682- appPal.setColor(QColorGroup::Midlight, menuBrush.color().light(110)); 682- appPal.setColor(QColorGroup::Midlight, menuBrush.color().light(110));
683- appPal.setColor(QColorGroup::Light, menuBrush.color().light(115)); 683- appPal.setColor(QColorGroup::Light, menuBrush.color().light(115));
684- menuBrush.setColor(c); // hack - used for kicker applets 684- menuBrush.setColor(c); // hack - used for kicker applets
685- appPal.setBrush(QColorGroup::Background, menuBrush); 685- appPal.setBrush(QColorGroup::Background, menuBrush);
686- } 686- }
687+ c = oldqte ? QColor ( config. readEntry ( "Background", ( Qt::lightGray ).name ( ))) 687+ c = oldqte ? QColor ( config. readEntry ( "Background", ( Qt::lightGray ).name ( )))
688+ : appPal. color ( QPalette::Active, QColorGroup::Background ); 688+ : appPal. color ( QPalette::Active, QColorGroup::Background );
689+ 689+
690 c.hsv(&bH, &bS, &bV); 690 c.hsv(&bH, &bS, &bV);
691 c.light(120).hsv(&bHoverH, &bHoverS, &bHoverV); 691 c.light(120).hsv(&bHoverH, &bHoverS, &bHoverV);
692 692
693@@ -817,101 +775,50 @@ 693@@ -817,101 +775,50 @@
694 wallPaper.fill(c.rgb()); 694 wallPaper.fill(c.rgb());
695 painter.begin(&wallPaper); 695 painter.begin(&wallPaper);
696 for(i=0; i < 32; i+=4){ 696 for(i=0; i < 32; i+=4){
697- painter.setPen(c.dark(105)); 697- painter.setPen(c.dark(105));
698+ painter.setPen(c.dark(100 + contrast)); 698+ painter.setPen(c.dark(100 + contrast));
699 painter.drawLine(0, i, 32, i); 699 painter.drawLine(0, i, 32, i);
700- painter.setPen(c.dark(103)); 700- painter.setPen(c.dark(103));
701+ painter.setPen(c.dark(100 + 3 * contrast / 5 ) ); 701+ painter.setPen(c.dark(100 + 3 * contrast / 5 ) );
702 painter.drawLine(0, i+1, 32, i+1); 702 painter.drawLine(0, i+1, 32, i+1);
703 }; 703 };
704 painter.end(); 704 painter.end();
705 bgBrush.setColor(c); 705 bgBrush.setColor(c);
706 bgBrush.setPixmap(wallPaper); 706 bgBrush.setPixmap(wallPaper);
707- if(qstrcmp(kapp->argv()[0], "kicker") != 0 && 707- if(qstrcmp(kapp->argv()[0], "kicker") != 0 &&
708- qstrcmp(kapp->argv()[0], "ksplash") != 0){ 708- qstrcmp(kapp->argv()[0], "ksplash") != 0){
709 appPal.setBrush(QColorGroup::Background, bgBrush); 709 appPal.setBrush(QColorGroup::Background, bgBrush);
710- } 710- }
711- 711-
712- // lineedits 712- // lineedits
713- c = config->readColorEntry("windowBackground", &Qt::white); 713- c = config->readColorEntry("windowBackground", &Qt::white);
714- QPixmap basePix; 714- QPixmap basePix;
715- basePix.resize(32, 32); 715- basePix.resize(32, 32);
716- basePix.fill(c.rgb()); 716- basePix.fill(c.rgb());
717- painter.begin(&basePix); 717- painter.begin(&basePix);
718- painter.setPen(c.dark(105)); 718- painter.setPen(c.dark(105));
719- for(i=0; i < 32; i+=4){ 719- for(i=0; i < 32; i+=4){
720- painter.drawLine(0, i, 32, i); 720- painter.drawLine(0, i, 32, i);
721- painter.drawLine(0, i+1, 32, i+1); 721- painter.drawLine(0, i+1, 32, i+1);
722- }; 722- };
723- painter.end(); 723- painter.end();
724- baseBrush.setColor(c); 724- baseBrush.setColor(c);
725- baseBrush.setPixmap(basePix); 725- baseBrush.setPixmap(basePix);
726- it.toFirst(); 726- it.toFirst();
727- while ((w=it.current()) != 0 ){ 727- while ((w=it.current()) != 0 ){
728- ++it; 728- ++it;
729- if(w->inherits("QLineEdit")){ 729- if(w->inherits("QLineEdit")){
730- QPalette pal = w->palette(); 730- QPalette pal = w->palette();
731- pal.setBrush(QColorGroup::Base, baseBrush); 731- pal.setBrush(QColorGroup::Base, baseBrush);
732- w->setPalette(pal); 732- w->setPalette(pal);
733- } 733- }
734- else if(w->inherits("QPushButton")){ 734- else if(w->inherits("QPushButton")){
735- applyCustomAttributes((QPushButton *)w); 735- applyCustomAttributes((QPushButton *)w);
736- } 736- }
737- } 737- }
738- 738-
739- config->setGroup(oldGrp); 739- config->setGroup(oldGrp);
740 } 740 }
741 741
742 void LiquidStyle::polish(QWidget *w) 742 void LiquidStyle::polish(QWidget *w)
743 { 743 {
744 if(w->inherits("QMenuBar")){ 744 if(w->inherits("QMenuBar")){
745- ((QFrame*)w)->setLineWidth(0); 745- ((QFrame*)w)->setLineWidth(0);
746- w->setBackgroundMode(QWidget::NoBackground); 746- w->setBackgroundMode(QWidget::NoBackground);
747+ //((QFrame*)w)->setLineWidth(0); 747+ //((QFrame*)w)->setLineWidth(0);
748+ w->setBackgroundMode(QWidget::PaletteBackground); 748+ w->setBackgroundMode(QWidget::PaletteBackground);
749+ w->setBackgroundOrigin(QWidget::ParentOrigin); 749+ w->setBackgroundOrigin(QWidget::ParentOrigin);
750+ return; 750+ return;
751+ } 751+ }
752+ if(w->inherits("QToolBar")){ 752+ if(w->inherits("QToolBar")){
753+ w->installEventFilter(this); 753+ w->installEventFilter(this);
754+ w->setBackgroundMode(QWidget::PaletteBackground); 754+ w->setBackgroundMode(QWidget::PaletteBackground);
755+ w->setBackgroundOrigin(QWidget::WidgetOrigin); 755+ w->setBackgroundOrigin(QWidget::WidgetOrigin);
756 return; 756 return;
757 } 757 }
758 if(w->inherits("QPopupMenu")) 758 if(w->inherits("QPopupMenu"))
759 w->setBackgroundMode(QWidget::NoBackground); 759 w->setBackgroundMode(QWidget::NoBackground);
760+ else if(w-> testWFlags(Qt::WType_Popup) && 760+ else if(w-> testWFlags(Qt::WType_Popup) &&
761+ !w->inherits("QListBox") && 761+ !w->inherits("QListBox") &&
762+ ( qstrcmp ( w-> name(), "automatic what's this? widget" ) != 0 )) { 762+ ( qstrcmp ( w-> name(), "automatic what's this? widget" ) != 0 )) {
763 + w->installEventFilter(menuHandler); 763 + w->installEventFilter(menuHandler);
764+ } 764+ }
765 765
766 if(w->isTopLevel()){ 766 if(w->isTopLevel()){
767- if(!w->inherits("QPopupMenu") && 767- if(!w->inherits("QPopupMenu") &&
768- qstrcmp(kapp->argv()[0], "kicker") == 0){ 768- qstrcmp(kapp->argv()[0], "kicker") == 0){
769- qWarning("Got panel toplevel %s", w->className()); 769- qWarning("Got panel toplevel %s", w->className());
770- // force extensions and child panels to use proper palette. 770- // force extensions and child panels to use proper palette.
771- if(w->inherits("Panel")){ 771- if(w->inherits("Panel")){
772- qWarning("Setting panel palette"); 772- qWarning("Setting panel palette");
773- w->setPalette(kapp->palette()); 773- w->setPalette(kapp->palette());
774- } 774- }
775- else{ 775- else{
776- // reset palette for everything else 776- // reset palette for everything else
777- QPalette pal = kapp->palette(); 777- QPalette pal = kapp->palette();
778- pal.setBrush(QColorGroup::Background, bgBrush); 778- pal.setBrush(QColorGroup::Background, bgBrush);
779- pal.setColor(QColorGroup::Mid, bgBrush.color().dark(130)); 779- pal.setColor(QColorGroup::Mid, bgBrush.color().dark(130));
780- pal.setColor(QColorGroup::Dark, bgBrush.color().dark(150)); 780- pal.setColor(QColorGroup::Dark, bgBrush.color().dark(150));
781- pal.setColor(QColorGroup::Midlight, bgBrush.color().light(110)); 781- pal.setColor(QColorGroup::Midlight, bgBrush.color().light(110));
782- pal.setColor(QColorGroup::Light, bgBrush.color().light(120)); 782- pal.setColor(QColorGroup::Light, bgBrush.color().light(120));
783- w->setPalette(pal); 783- w->setPalette(pal);
784- } 784- }
785- } 785- }
786 return; 786 return;
787 } 787 }
788- if(qstrcmp(kapp->argv()[0], "kicker") == 0 && 788- if(qstrcmp(kapp->argv()[0], "kicker") == 0 &&
789- w->inherits("KPanelExtension")){ // FIXME - doesn't work 789- w->inherits("KPanelExtension")){ // FIXME - doesn't work
790- w->setPalette(kapp->palette()); 790- w->setPalette(kapp->palette());
791- } 791- }
792 792
793- if(w->inherits("QComboBox") || 793- if(w->inherits("QComboBox") ||
794- w->inherits("QLineEdit") || w->inherits("QRadioButton") || 794- w->inherits("QLineEdit") || w->inherits("QRadioButton") ||
795- w->inherits("QCheckBox") || w->inherits("QScrollBar") || 795- w->inherits("QCheckBox") || w->inherits("QScrollBar") ||
796- w->isA("AppletHandle") || w->inherits("KMiniPagerButton") || 796- w->isA("AppletHandle") || w->inherits("KMiniPagerButton") ||
797- w->inherits("TaskContainer")){ 797- w->inherits("TaskContainer")){
798+ if(w->inherits("QRadioButton") || w->inherits("QCheckBox") || w->inherits("QProgressBar")) { 798+ if(w->inherits("QRadioButton") || w->inherits("QCheckBox") || w->inherits("QProgressBar")) {
799 w->installEventFilter(this); 799 w->installEventFilter(this);
800 } 800 }
801- if(w->inherits("QLineEdit")){ 801- if(w->inherits("QLineEdit")){
802- QPalette pal = w->palette(); 802- QPalette pal = w->palette();
803- pal.setBrush(QColorGroup::Base, baseBrush); 803- pal.setBrush(QColorGroup::Base, baseBrush);
804- w->setPalette(pal); 804- w->setPalette(pal);
805- } 805- }
806- if(w->inherits("QPushButton")){ 806- if(w->inherits("QPushButton")){
807- applyCustomAttributes((QPushButton *)w); 807- applyCustomAttributes((QPushButton *)w);
808- w->installEventFilter(this); 808- w->installEventFilter(this);
809+ 809+
810+ if(w->inherits("QButton") || w-> inherits("QComboBox")){ 810+ if(w->inherits("QButton") || w-> inherits("QComboBox")){
811 + w-> setBackgroundMode ( QWidget::PaletteBackground ); 811 + w-> setBackgroundMode ( QWidget::PaletteBackground );
812 + w->setBackgroundOrigin ( QWidget::ParentOrigin); 812 + w->setBackgroundOrigin ( QWidget::ParentOrigin);
813 } 813 }
814 814
815 bool isViewport = qstrcmp(w->name(), "qt_viewport") == 0 || 815 bool isViewport = qstrcmp(w->name(), "qt_viewport") == 0 ||
816@@ -942,11 +849,20 @@ 816@@ -942,11 +849,20 @@
817 w->setMouseTracking(true); 817 w->setMouseTracking(true);
818 w->installEventFilter(this); 818 w->installEventFilter(this);
819 } 819 }
820+ if(w-> inherits("QToolButton")) { 820+ if(w-> inherits("QToolButton")) {
821+ if (w->parent()->inherits("QToolBar")) { 821+ if (w->parent()->inherits("QToolBar")) {
822 + ((QToolButton*)w)->setAutoRaise (flatTBButtons); 822 + ((QToolButton*)w)->setAutoRaise (flatTBButtons);
823 + if ( flatTBButtons ) 823 + if ( flatTBButtons )
824 + w->setBackgroundOrigin(QWidget::ParentOrigin); 824 + w->setBackgroundOrigin(QWidget::ParentOrigin);
825 + } 825 + }
826 + w-> installEventFilter ( this ); 826 + w-> installEventFilter ( this );
827+ } 827+ }
828+ if(w-> inherits("QToolBarSeparator")&&w->parent()->inherits("QToolBar")) { 828+ if(w-> inherits("QToolBarSeparator")&&w->parent()->inherits("QToolBar")) {
829 + ((QFrame *) w)-> setFrameShape ( QFrame::NoFrame ); 829 + ((QFrame *) w)-> setFrameShape ( QFrame::NoFrame );
830+ } 830+ }
831 if(w->ownPalette() && !w->inherits("QButton") && !w->inherits("QComboBox")){ 831 if(w->ownPalette() && !w->inherits("QButton") && !w->inherits("QComboBox")){
832 return; 832 return;
833 } 833 }
834- if(w->inherits("PanelButtonBase")) 834- if(w->inherits("PanelButtonBase"))
835- return; 835- return;
836 836
837 if(w->parent() && w->parent()->isWidgetType() && !((QWidget*)w->parent())-> 837 if(w->parent() && w->parent()->isWidgetType() && !((QWidget*)w->parent())->
838 palette().active().brush(QColorGroup::Background).pixmap()){ 838 palette().active().brush(QColorGroup::Background).pixmap()){
839@@ -954,16 +870,21 @@ 839@@ -954,16 +870,21 @@
840 return; 840 return;
841 } 841 }
842 if(!isViewport && !isViewportChild && !w->testWFlags(WType_Popup) && 842 if(!isViewport && !isViewportChild && !w->testWFlags(WType_Popup) &&
843- !w->inherits("KDesktop") && !w->inherits("PasswordDlg")){ 843- !w->inherits("KDesktop") && !w->inherits("PasswordDlg")){
844 + !( !w-> inherits("QLineEdit") && w-> parent() && w-> parent()-> isWidgetType ( ) && w-> parent()-> inherits ( "QMultiLineEdit" ))) { 844 + !( !w-> inherits("QLineEdit") && w-> parent() && w-> parent()-> isWidgetType ( ) && w-> parent()-> inherits ( "QMultiLineEdit" ))) {
845 if(w->backgroundMode() == QWidget::PaletteBackground || 845 if(w->backgroundMode() == QWidget::PaletteBackground ||
846 w->backgroundMode() == QWidget::PaletteButton){ 846 w->backgroundMode() == QWidget::PaletteButton){
847- w->setBackgroundMode(QWidget::X11ParentRelative); 847- w->setBackgroundMode(QWidget::X11ParentRelative);
848+ w->setBackgroundMode(w->parentWidget()->backgroundMode( )/*QWidget::X11ParentRelative*/); 848+ w->setBackgroundMode(w->parentWidget()->backgroundMode( )/*QWidget::X11ParentRelative*/);
849+ w->setBackgroundOrigin(QWidget::ParentOrigin); 849+ w->setBackgroundOrigin(QWidget::ParentOrigin);
850 +// w->setBackgroundMode(QWidget::NoBackground); 850 +// w->setBackgroundMode(QWidget::NoBackground);
851 } 851 }
852 } 852 }
853- if(w->inherits("KToolBar")){ 853- if(w->inherits("KToolBar")){
854- w->installEventFilter(this); 854- w->installEventFilter(this);
855- //w->setBackgroundMode(QWidget::NoBackground); 855- //w->setBackgroundMode(QWidget::NoBackground);
856- return; 856- return;
857+ if ( !w-> inherits("QFrame") || (((QFrame*) w)-> frameShape () == QFrame::NoFrame )) 857+ if ( !w-> inherits("QFrame") || (((QFrame*) w)-> frameShape () == QFrame::NoFrame ))
858 + w-> setBackgroundOrigin ( QWidget::ParentOrigin ); 858 + w-> setBackgroundOrigin ( QWidget::ParentOrigin );
859 +else if ( w-> inherits("QFrame") ) 859 +else if ( w-> inherits("QFrame") )
860 + w->setBackgroundOrigin ( QWidget::WidgetOrigin ); 860 + w->setBackgroundOrigin ( QWidget::WidgetOrigin );
861+ 861+
862 +if ( w->parentWidget()->inherits ( "QWidgetStack" )) { 862 +if ( w->parentWidget()->inherits ( "QWidgetStack" )) {
863 + w->setBackgroundOrigin ( QWidget::WidgetOrigin ); 863 + w->setBackgroundOrigin ( QWidget::WidgetOrigin );
864 } 864 }
865 } 865 }
866 866
867@@ -977,6 +898,11 @@ 867@@ -977,6 +898,11 @@
868 868
869 if(w->inherits("QPopupMenu")) 869 if(w->inherits("QPopupMenu"))
870 w->setBackgroundMode(QWidget::PaletteButton); 870 w->setBackgroundMode(QWidget::PaletteButton);
871+ else if(w-> testWFlags(Qt::WType_Popup) && 871+ else if(w-> testWFlags(Qt::WType_Popup) &&
872+ !w->inherits("QListBox") && 872+ !w->inherits("QListBox") &&
873+ ( qstrcmp ( w-> name(), "automatic what's this? widget" ) != 0 )) { 873+ ( qstrcmp ( w-> name(), "automatic what's this? widget" ) != 0 )) {
874 + w->removeEventFilter(menuHandler); 874 + w->removeEventFilter(menuHandler);
875+ } 875+ }
876 876
877 if(w->isTopLevel()) 877 if(w->isTopLevel())
878 return; 878 return;
879@@ -986,7 +912,7 @@ 879@@ -986,7 +912,7 @@
880 ((qstrcmp(w->parent()->name(), "qt_viewport") == 0) || 880 ((qstrcmp(w->parent()->name(), "qt_viewport") == 0) ||
881 (qstrcmp(w->parent()->name(), "qt_clipped_viewport") == 0)); 881 (qstrcmp(w->parent()->name(), "qt_clipped_viewport") == 0));
882 882
883- w->setPalette(QApplication::palette()); 883- w->setPalette(QApplication::palette());
884+ w->unsetPalette(); 884+ w->unsetPalette();
885 if(w->backgroundMode() == QWidget::X11ParentRelative || isViewportChild){ 885 if(w->backgroundMode() == QWidget::X11ParentRelative || isViewportChild){
886 if(w->inherits("QPushButton")) 886 if(w->inherits("QPushButton"))
887 w->setBackgroundMode(QWidget::PaletteButton); 887 w->setBackgroundMode(QWidget::PaletteButton);
888@@ -997,16 +923,12 @@ 888@@ -997,16 +923,12 @@
889 if(isViewportChild) 889 if(isViewportChild)
890 w->setAutoMask(false); 890 w->setAutoMask(false);
891 891
892- if(w->inherits("QPushButton")){ 892- if(w->inherits("QPushButton")){
893- unapplyCustomAttributes((QPushButton *)w); 893- unapplyCustomAttributes((QPushButton *)w);
894- w->removeEventFilter(this); 894- w->removeEventFilter(this);
895+/* 895+/*
896+ if(w->inherits("QPushButton") || w-> inherits("QComboBox")){ 896+ if(w->inherits("QPushButton") || w-> inherits("QComboBox")){
897 + w-> setBackgroundMode ( PaletteBackground ); 897 + w-> setBackgroundMode ( PaletteBackground );
898 } 898 }
899- 899-
900- if(w->inherits("QComboBox") || 900- if(w->inherits("QComboBox") ||
901- w->inherits("QLineEdit") || w->inherits("QRadioButton") || 901- w->inherits("QLineEdit") || w->inherits("QRadioButton") ||
902- w->inherits("QCheckBox") || w->inherits("QScrollBar") || 902- w->inherits("QCheckBox") || w->inherits("QScrollBar") ||
903- w->isA("AppletHandle") || w->inherits("KMiniPagerButton") || 903- w->isA("AppletHandle") || w->inherits("KMiniPagerButton") ||
904- w->inherits("TaskContainer")){ 904- w->inherits("TaskContainer")){
905+*/ 905+*/
906+ if( w->inherits("QRadioButton") || w->inherits("QCheckBox") || w->inherits("QProgressBar")) { 906+ if( w->inherits("QRadioButton") || w->inherits("QCheckBox") || w->inherits("QProgressBar")) {
907 w->removeEventFilter(this); 907 w->removeEventFilter(this);
908 } 908 }
909 if(w->inherits("QButton") || w->inherits("QComboBox")){ 909 if(w->inherits("QButton") || w->inherits("QComboBox")){
910@@ -1014,9 +936,12 @@ 910@@ -1014,9 +936,12 @@
911 w->setAutoMask(false); 911 w->setAutoMask(false);
912 } 912 }
913 } 913 }
914- if(w->inherits("KToolBar")){ 914- if(w->inherits("KToolBar")){
915+ if(w-> inherits("QToolButton")) { 915+ if(w-> inherits("QToolButton")) {
916 + w-> removeEventFilter ( this ); 916 + w-> removeEventFilter ( this );
917+ } 917+ }
918+ if(w->inherits("QToolBar")){ 918+ if(w->inherits("QToolBar")){
919 w->removeEventFilter(this); 919 w->removeEventFilter(this);
920- //w->setBackgroundMode(QWidget::PaletteBackground); 920- //w->setBackgroundMode(QWidget::PaletteBackground);
921+ w->setBackgroundMode(QWidget::PaletteBackground); 921+ w->setBackgroundMode(QWidget::PaletteBackground);
922 return; 922 return;
923 } 923 }
924 if(w->inherits("QHeader")){ 924 if(w->inherits("QHeader")){
925@@ -1028,22 +953,118 @@ 925@@ -1028,22 +953,118 @@
926 void LiquidStyle::polish(QApplication *app) 926 void LiquidStyle::polish(QApplication *app)
927 { 927 {
928 928
929- KStyle::polish(app); 929- KStyle::polish(app);
930+ QWindowsStyle::polish(app); 930+ QWindowsStyle::polish(app);
931 menuAni = app->isEffectEnabled(UI_AnimateMenu); 931 menuAni = app->isEffectEnabled(UI_AnimateMenu);
932 menuFade = app->isEffectEnabled(UI_FadeMenu); 932 menuFade = app->isEffectEnabled(UI_FadeMenu);
933 if(menuAni) 933 if(menuAni)
934 app->setEffectEnabled(UI_AnimateMenu, false); 934 app->setEffectEnabled(UI_AnimateMenu, false);
935 if(menuFade) 935 if(menuFade)
936 app->setEffectEnabled(UI_FadeMenu, false); 936 app->setEffectEnabled(UI_FadeMenu, false);
937 + 937 +
938+ qt_set_draw_menu_bar_impl((QDrawMenuBarItemImpl) &LiquidStyle::drawMenuBarItem); 938+ qt_set_draw_menu_bar_impl((QDrawMenuBarItemImpl) &LiquidStyle::drawMenuBarItem);
939+ 939+
940+ Config config ( "qpe" ); 940+ Config config ( "qpe" );
941+ config. setGroup ( "Liquid-Style" ); 941+ config. setGroup ( "Liquid-Style" );
942+ 942+
943 +// if ( config. readBoolEntry ( "WinDecoration", true )) 943 +// if ( config. readBoolEntry ( "WinDecoration", true ))
944 +// QApplication::qwsSetDecoration ( new LiquidDecoration ( )); 944 +// QApplication::qwsSetDecoration ( new LiquidDecoration ( ));
945 + 945 +
946 +flatTBButtons = config. readBoolEntry ( "FlatToolButtons", false ); 946 +flatTBButtons = config. readBoolEntry ( "FlatToolButtons", false );
947 } 947 }
948 948
949 void LiquidStyle::unPolish(QApplication *app) 949 void LiquidStyle::unPolish(QApplication *app)
950 { 950 {
951- KStyle::unPolish(app); 951- KStyle::unPolish(app);
952+ QWindowsStyle::unPolish(app); 952+ QWindowsStyle::unPolish(app);
953 app->setEffectEnabled(UI_AnimateMenu, menuAni); 953 app->setEffectEnabled(UI_AnimateMenu, menuAni);
954 app->setEffectEnabled(UI_FadeMenu, menuFade); 954 app->setEffectEnabled(UI_FadeMenu, menuFade);
955+ 955+
956+ qt_set_draw_menu_bar_impl ( 0 ); 956+ qt_set_draw_menu_bar_impl ( 0 );
957+ 957+
958+// QApplication::qwsSetDecoration ( new QPEDecoration ( )); 958+// QApplication::qwsSetDecoration ( new QPEDecoration ( ));
959 } 959 }
960 960
961+ 961+
962+/* !! HACK !! Beware 962+/* !! HACK !! Beware
963+ * 963+ *
964+ * TT forgot to make the QProgressBar widget styleable in Qt 2.x 964+ * TT forgot to make the QProgressBar widget styleable in Qt 2.x
965+ * So the only way to customize the drawing, is to intercept the 965+ * So the only way to customize the drawing, is to intercept the
966+ * paint event - since we have to use protected functions, we need 966+ * paint event - since we have to use protected functions, we need
967+ * to derive a "hack" class from QProgressBar and do the painting 967+ * to derive a "hack" class from QProgressBar and do the painting
968+ * in there. 968+ * in there.
969+ * 969+ *
970+ * - sandman 970+ * - sandman
971+ */ 971+ */
972+ 972+
973+class HackProgressBar : public QProgressBar { 973+class HackProgressBar : public QProgressBar {
974+public: 974+public:
975 +HackProgressBar ( ); 975 +HackProgressBar ( );
976 + 976 +
977 +void paint ( QPaintEvent *event, const QColorGroup &g, QPixmap *pix ) 977 +void paint ( QPaintEvent *event, const QColorGroup &g, QPixmap *pix )
978 +{ 978 +{
979 + QPainter p( this ); 979 + QPainter p( this );
980+ 980+
981 + if ( !contentsRect().contains( event->rect() ) ) { 981 + if ( !contentsRect().contains( event->rect() ) ) {
982 + p.save(); 982 + p.save();
983 + p.setClipRegion( event->region().intersect(frameRect()) ); 983 + p.setClipRegion( event->region().intersect(frameRect()) );
984 + drawFrame( &p); 984 + drawFrame( &p);
985 + p.restore(); 985 + p.restore();
986 + } 986 + }
987 + if ( event->rect().intersects( contentsRect() )) { 987 + if ( event->rect().intersects( contentsRect() )) {
988 + p.setClipRegion( event->region().intersect( contentsRect() ) ); 988 + p.setClipRegion( event->region().intersect( contentsRect() ) );
989+ 989+
990 + int x, y, w, h; 990 + int x, y, w, h;
991 + contentsRect ( ). rect ( &x, &y, &w, &h ); 991 + contentsRect ( ). rect ( &x, &y, &w, &h );
992+ 992+
993 + int prog = progress ( ); 993 + int prog = progress ( );
994 + int total = totalSteps ( ); 994 + int total = totalSteps ( );
995 + if ( prog < 0 ) 995 + if ( prog < 0 )
996 + prog = 0; 996 + prog = 0;
997 + if ( total <= 0 ) 997 + if ( total <= 0 )
998 + total = 1; 998 + total = 1;
999 + int bw = w * prog / total; 999 + int bw = w * prog / total;
1000 + if ( bw > w ) 1000 + if ( bw > w )
1001 + bw = w; 1001 + bw = w;
1002+ 1002+
1003 + p.setPen(g.button().dark(130)); 1003 + p.setPen(g.button().dark(130));
1004 + p.drawRect(x, y, bw, h); 1004 + p.drawRect(x, y, bw, h);
1005 + p.setPen(g.button().light(120)); 1005 + p.setPen(g.button().light(120));
1006 + p.drawRect(x+1, y+1, bw-2, h-2); 1006 + p.drawRect(x+1, y+1, bw-2, h-2);
1007+ 1007+
1008 + if(bw >= 4 && h >= 4 && pix) 1008 + if(bw >= 4 && h >= 4 && pix)
1009 + p.drawTiledPixmap(x+2, y+2, bw-4, h-4, *pix); 1009 + p.drawTiledPixmap(x+2, y+2, bw-4, h-4, *pix);
1010 + 1010 +
1011 + if ( progress ( )>= 0 && totalSteps ( ) > 0 ) { 1011 + if ( progress ( )>= 0 && totalSteps ( ) > 0 ) {
1012 + QString pstr; 1012 + QString pstr;
1013 + pstr. sprintf ( "%d%%", 100 * progress()/totalSteps ()); 1013 + pstr. sprintf ( "%d%%", 100 * progress()/totalSteps ());
1014 + p. setPen ( g.text());//g.highlightedText ( )); 1014 + p. setPen ( g.text());//g.highlightedText ( ));
1015 + p. drawText (x,y,w-1,h-1,AlignCenter,pstr); 1015 + p. drawText (x,y,w-1,h-1,AlignCenter,pstr);
1016 + } 1016 + }
1017 + } 1017 + }
1018 +} 1018 +}
1019+}; 1019+};
1020+ 1020+
1021+ 1021+
1022+/* 1022+/*
1023+ * The same for QToolButton: 1023+ * The same for QToolButton:
1024+ * TT hardcoded the drawing of the focus rect ... 1024+ * TT hardcoded the drawing of the focus rect ...
1025+ * 1025+ *
1026+ * - sandman 1026+ * - sandman
1027+ */ 1027+ */
1028+ 1028+
1029+ 1029+
1030+class HackToolButton : public QToolButton { 1030+class HackToolButton : public QToolButton {
1031+public: 1031+public:
1032 +HackToolButton ( ); 1032 +HackToolButton ( );
1033 + 1033 +
1034 +void paint ( QPaintEvent *ev ) 1034 +void paint ( QPaintEvent *ev )
1035 +{ 1035 +{
1036 + erase ( ev-> region ( )); 1036 + erase ( ev-> region ( ));
1037 + QPainter p ( this ); 1037 + QPainter p ( this );
1038 + style ( ). drawToolButton ( this, &p ); 1038 + style ( ). drawToolButton ( this, &p );
1039 + drawButtonLabel ( &p ); 1039 + drawButtonLabel ( &p );
1040 +} 1040 +}
1041+}; 1041+};
1042+ 1042+
1043 /* 1043 /*
1044 * This is a fun method ;-) Here's an overview. KToolBar grabs resize to 1044 * This is a fun method ;-) Here's an overview. KToolBar grabs resize to
1045 * force everything to erase and repaint on resize. This is going away, I'm 1045 * force everything to erase and repaint on resize. This is going away, I'm
1046@@ -1063,7 +1084,7 @@ 1046@@ -1063,7 +1084,7 @@
1047 */ 1047 */
1048 bool LiquidStyle::eventFilter(QObject *obj, QEvent *ev) 1048 bool LiquidStyle::eventFilter(QObject *obj, QEvent *ev)
1049 { 1049 {
1050- if(obj->inherits("KToolBar")){ 1050- if(obj->inherits("KToolBar")){
1051+ if(obj->inherits("QToolBar")){ 1051+ if(obj->inherits("QToolBar")){
1052 if(ev->type() == QEvent::Resize){ 1052 if(ev->type() == QEvent::Resize){
1053 const QObjectList *tbChildList = obj->children(); 1053 const QObjectList *tbChildList = obj->children();
1054 QObjectListIt it(*tbChildList); 1054 QObjectListIt it(*tbChildList);
1055@@ -1076,116 +1097,27 @@ 1055@@ -1076,116 +1097,27 @@
1056 1056
1057 } 1057 }
1058 } 1058 }
1059- else if(obj->inherits("KMiniPagerButton")){ 1059- else if(obj->inherits("KMiniPagerButton")){
1060- QButton *btn = (QButton *)obj; 1060- QButton *btn = (QButton *)obj;
1061- if(ev->type() == QEvent::Paint){ 1061- if(ev->type() == QEvent::Paint){
1062- if(!(btn->isOn() || btn->isDown())){ 1062- if(!(btn->isOn() || btn->isDown())){
1063- QPalette pal = btn->palette(); 1063- QPalette pal = btn->palette();
1064- pal.setBrush(QColorGroup::Dark, btn == highlightWidget ? 1064- pal.setBrush(QColorGroup::Dark, btn == highlightWidget ?
1065- pagerHoverBrush : pagerBrush); 1065- pagerHoverBrush : pagerBrush);
1066- btn->setPalette(pal); 1066- btn->setPalette(pal);
1067- } 1067- }
1068- else{ 1068- else{
1069- QPalette pal = btn->palette(); 1069- QPalette pal = btn->palette();
1070- pal.setBrush(QColorGroup::Dark, 1070- pal.setBrush(QColorGroup::Dark,
1071- QApplication::palette().active().brush(QColorGroup::Dark)); 1071- QApplication::palette().active().brush(QColorGroup::Dark));
1072- btn->setPalette(pal); 1072- btn->setPalette(pal);
1073- 1073-
1074- } 1074- }
1075- } 1075- }
1076- else if(ev->type() == QEvent::Enter){ 1076- else if(ev->type() == QEvent::Enter){
1077- highlightWidget = btn; 1077- highlightWidget = btn;
1078- btn->repaint(false); 1078- btn->repaint(false);
1079- } 1079- }
1080- else if(ev->type() == QEvent::Leave){ 1080- else if(ev->type() == QEvent::Leave){
1081- highlightWidget = NULL; 1081- highlightWidget = NULL;
1082- btn->repaint(false); 1082- btn->repaint(false);
1083- } 1083- }
1084- 1084-
1085- } 1085- }
1086- else if(obj->inherits("QPushButton") || obj->inherits("QComboBox") || 1086- else if(obj->inherits("QPushButton") || obj->inherits("QComboBox") ||
1087- obj->isA("AppletHandle")){ 1087- obj->isA("AppletHandle")){
1088- QWidget *btn = (QWidget *)obj; 1088- QWidget *btn = (QWidget *)obj;
1089- if(ev->type() == QEvent::Enter){ 1089- if(ev->type() == QEvent::Enter){
1090- if(btn->isEnabled()){ 1090- if(btn->isEnabled()){
1091- highlightWidget = btn; 1091- highlightWidget = btn;
1092- btn->repaint(false); 1092- btn->repaint(false);
1093- } 1093- }
1094- } 1094- }
1095- else if(ev->type() == QEvent::Leave){ 1095- else if(ev->type() == QEvent::Leave){
1096- if(btn == highlightWidget){ 1096- if(btn == highlightWidget){
1097- highlightWidget = NULL; 1097- highlightWidget = NULL;
1098- btn->repaint(false); 1098- btn->repaint(false);
1099- } 1099- }
1100- } 1100- }
1101- } 1101- }
1102- else if(obj->inherits("TaskContainer")){ 1102- else if(obj->inherits("TaskContainer")){
1103- QButton *btn = (QButton *)obj; 1103- QButton *btn = (QButton *)obj;
1104- QPalette pal = btn->palette(); 1104- QPalette pal = btn->palette();
1105- if(ev->type() == QEvent::Enter){ 1105- if(ev->type() == QEvent::Enter){
1106- pal.setColor(QColorGroup::Background, pal.active().button().light(110)); 1106- pal.setColor(QColorGroup::Background, pal.active().button().light(110));
1107- btn->setPalette(pal); 1107- btn->setPalette(pal);
1108- } 1108- }
1109- else if(ev->type() == QEvent::Leave){ 1109- else if(ev->type() == QEvent::Leave){
1110- pal.setColor(QColorGroup::Background, 1110- pal.setColor(QColorGroup::Background,
1111- QApplication::palette().active().background()); 1111- QApplication::palette().active().background());
1112- btn->setPalette(pal); 1112- btn->setPalette(pal);
1113- } 1113- }
1114- } 1114- }
1115- else if(obj->inherits("QToolButton") && !obj->inherits("KToolBarButton")){ 1115- else if(obj->inherits("QToolButton") && !obj->inherits("KToolBarButton")){
1116- QToolButton *btn = (QToolButton *)btn; 1116- QToolButton *btn = (QToolButton *)btn;
1117- if(!btn->autoRaise()){ 1117- if(!btn->autoRaise()){
1118+ else if(obj->inherits("QToolButton")){ 1118+ else if(obj->inherits("QToolButton")){
1119+ QToolButton *btn = (QToolButton *)obj; 1119+ QToolButton *btn = (QToolButton *)obj;
1120+ if(ev->type() == QEvent::FocusIn ){ // && !btn-> autoRaise () 1120+ if(ev->type() == QEvent::FocusIn ){ // && !btn-> autoRaise ()
1121 if(btn->isEnabled()){ 1121 if(btn->isEnabled()){
1122 highlightWidget = btn; 1122 highlightWidget = btn;
1123 btn->repaint(false); 1123 btn->repaint(false);
1124+ 1124+
1125 + qDebug ( "TB FOCUS IN [%p]", btn ); 1125 + qDebug ( "TB FOCUS IN [%p]", btn );
1126 } 1126 }
1127 } 1127 }
1128- else if(ev->type() == QEvent::Leave){ 1128- else if(ev->type() == QEvent::Leave){
1129- QWidget *btn = (QWidget *)obj; 1129- QWidget *btn = (QWidget *)obj;
1130+ else if(ev->type() == QEvent::FocusOut ){ 1130+ else if(ev->type() == QEvent::FocusOut ){
1131 if(btn == highlightWidget){ 1131 if(btn == highlightWidget){
1132 highlightWidget = NULL; 1132 highlightWidget = NULL;
1133 btn->repaint(false); 1133 btn->repaint(false);
1134+ 1134+
1135+ qDebug ( "TB FOCUS OUT [%p]", btn ); 1135+ qDebug ( "TB FOCUS OUT [%p]", btn );
1136 } 1136 }
1137 } 1137 }
1138- else 1138- else
1139- highlightWidget = NULL; 1139- highlightWidget = NULL;
1140- } 1140- }
1141- else if(obj->inherits("QScrollBar")){ 1141- else if(obj->inherits("QScrollBar")){
1142- QScrollBar *sb = (QScrollBar *)obj; 1142- QScrollBar *sb = (QScrollBar *)obj;
1143- if(ev->type() == QEvent::Enter){ 1143- if(ev->type() == QEvent::Enter){
1144- if(sb->isEnabled()){ 1144- if(sb->isEnabled()){
1145- highlightWidget = sb; 1145- highlightWidget = sb;
1146- sb->repaint(false); 1146- sb->repaint(false);
1147- } 1147- }
1148- } 1148- }
1149- else if(ev->type() == QEvent::Leave){ 1149- else if(ev->type() == QEvent::Leave){
1150- if(sb == highlightWidget && !sb->draggingSlider()){ 1150- if(sb == highlightWidget && !sb->draggingSlider()){
1151- highlightWidget = NULL; 1151- highlightWidget = NULL;
1152- sb->repaint(false); 1152- sb->repaint(false);
1153- } 1153- }
1154- } 1154- }
1155- else if(ev->type() == QEvent::MouseButtonRelease){ 1155- else if(ev->type() == QEvent::MouseButtonRelease){
1156- QMouseEvent *me = (QMouseEvent *)ev; 1156- QMouseEvent *me = (QMouseEvent *)ev;
1157- if(sb == highlightWidget && !sb->rect().contains(me->pos())){ 1157- if(sb == highlightWidget && !sb->rect().contains(me->pos())){
1158- highlightWidget = NULL; 1158- highlightWidget = NULL;
1159- sb->repaint(false); 1159- sb->repaint(false);
1160- } 1160- }
1161- } 1161- }
1162- } 1162- }
1163- else if(obj->inherits("QLineEdit")){ 1163- else if(obj->inherits("QLineEdit")){
1164- if(obj->parent() && obj->parent()->inherits("QComboBox")){ 1164- if(obj->parent() && obj->parent()->inherits("QComboBox")){
1165- QWidget *btn = (QComboBox *)obj->parent(); 1165- QWidget *btn = (QComboBox *)obj->parent();
1166- if(ev->type() == QEvent::Enter){ 1166- if(ev->type() == QEvent::Enter){
1167- if (btn->isEnabled()){ 1167- if (btn->isEnabled()){
1168- highlightWidget = btn; 1168- highlightWidget = btn;
1169- btn->repaint(false); 1169- btn->repaint(false);
1170- } 1170- }
1171- } 1171- }
1172- else if(ev->type() == QEvent::Leave){ 1172- else if(ev->type() == QEvent::Leave){
1173- if (btn == highlightWidget) 1173- if (btn == highlightWidget)
1174- highlightWidget = NULL; 1174- highlightWidget = NULL;
1175- btn->repaint(false); 1175- btn->repaint(false);
1176- } 1176- }
1177+ else if(ev->type() == QEvent::Paint) { 1177+ else if(ev->type() == QEvent::Paint) {
1178 + (( HackToolButton *) btn )-> paint ((QPaintEvent *) ev ); 1178 + (( HackToolButton *) btn )-> paint ((QPaintEvent *) ev );
1179 + return true; 1179 + return true;
1180 } 1180 }
1181 } 1181 }
1182 else if(obj->inherits("QRadioButton") || obj->inherits("QCheckBox")){ 1182 else if(obj->inherits("QRadioButton") || obj->inherits("QCheckBox")){
1183@@ -1201,6 +1133,7 @@ 1183@@ -1201,6 +1133,7 @@
1184 QSize sz = isRadio ? exclusiveIndicatorSize() 1184 QSize sz = isRadio ? exclusiveIndicatorSize()
1185 : indicatorSize(); 1185 : indicatorSize();
1186 1186
1187+/* 1187+/*
1188 if(btn->hasFocus()){ 1188 if(btn->hasFocus()){
1189 QRect r = QRect(0, 0, btn->width(), btn->height()); 1189 QRect r = QRect(0, 0, btn->width(), btn->height());
1190 p.setPen(btn->colorGroup().button().dark(140)); 1190 p.setPen(btn->colorGroup().button().dark(140));
1191@@ -1209,6 +1142,7 @@ 1191@@ -1209,6 +1142,7 @@
1192 p.drawLine(r.right(), r.y()+1, r.right(), r.bottom()-1); 1192 p.drawLine(r.right(), r.y()+1, r.right(), r.bottom()-1);
1193 p.drawLine(r.x()+1, r.bottom(), r.right()-1, r.bottom()); 1193 p.drawLine(r.x()+1, r.bottom(), r.right()-1, r.bottom());
1194 } 1194 }
1195+*/ 1195+*/
1196 int x = 0; 1196 int x = 0;
1197 int y = (btn->height()-lsz.height()+fm.height()-sz.height())/2; 1197 int y = (btn->height()-lsz.height()+fm.height()-sz.height())/2;
1198 if(isRadio) 1198 if(isRadio)
1199@@ -1228,36 +1162,6 @@ 1199@@ -1228,36 +1162,6 @@
1200 p.end(); 1200 p.end();
1201 return(true); 1201 return(true);
1202 } 1202 }
1203- // for hover, just redraw the indicator (not the text) 1203- // for hover, just redraw the indicator (not the text)
1204- else if((ev->type() == QEvent::Enter && btn->isEnabled()) || 1204- else if((ev->type() == QEvent::Enter && btn->isEnabled()) ||
1205- (ev->type() == QEvent::Leave && btn == highlightWidget)){ 1205- (ev->type() == QEvent::Leave && btn == highlightWidget)){
1206- QButton *btn = (QButton *)obj; 1206- QButton *btn = (QButton *)obj;
1207- bool isRadio = obj->inherits("QRadioButton"); 1207- bool isRadio = obj->inherits("QRadioButton");
1208- 1208-
1209- if(ev->type() == QEvent::Enter) 1209- if(ev->type() == QEvent::Enter)
1210- highlightWidget = btn; 1210- highlightWidget = btn;
1211- else 1211- else
1212- highlightWidget = NULL; 1212- highlightWidget = NULL;
1213- QFontMetrics fm = btn->fontMetrics(); 1213- QFontMetrics fm = btn->fontMetrics();
1214- QSize lsz = fm.size(ShowPrefix, btn->text()); 1214- QSize lsz = fm.size(ShowPrefix, btn->text());
1215- QSize sz = isRadio ? exclusiveIndicatorSize() 1215- QSize sz = isRadio ? exclusiveIndicatorSize()
1216- : indicatorSize(); 1216- : indicatorSize();
1217- int x = 0; 1217- int x = 0;
1218- int y = (btn->height()-lsz.height()+fm.height()-sz.height())/2; 1218- int y = (btn->height()-lsz.height()+fm.height()-sz.height())/2;
1219- //if(btn->autoMask()) 1219- //if(btn->autoMask())
1220- // btn->erase(x+1, y+1, sz.width()-2, sz.height()-2); 1220- // btn->erase(x+1, y+1, sz.width()-2, sz.height()-2);
1221- QPainter p; 1221- QPainter p;
1222- p.begin(btn); 1222- p.begin(btn);
1223- if(isRadio) 1223- if(isRadio)
1224- drawExclusiveIndicator(&p, x, y, sz.width(), sz.height(), 1224- drawExclusiveIndicator(&p, x, y, sz.width(), sz.height(),
1225- btn->colorGroup(), btn->isOn(), 1225- btn->colorGroup(), btn->isOn(),
1226- btn->isDown(), btn->isEnabled()); 1226- btn->isDown(), btn->isEnabled());
1227- else 1227- else
1228- drawIndicator(&p, x, y, sz.width(), sz.height(), 1228- drawIndicator(&p, x, y, sz.width(), sz.height(),
1229- btn->colorGroup(), btn->state(), btn->isDown(), 1229- btn->colorGroup(), btn->state(), btn->isDown(),
1230- btn->isEnabled()); 1230- btn->isEnabled());
1231- p.end(); 1231- p.end();
1232- } 1232- }
1233 } 1233 }
1234 else if(obj->inherits("QHeader")){ 1234 else if(obj->inherits("QHeader")){
1235 QHeader *hw = (QHeader *)obj; 1235 QHeader *hw = (QHeader *)obj;
1236@@ -1290,7 +1194,24 @@ 1236@@ -1290,7 +1194,24 @@
1237 } 1237 }
1238 } 1238 }
1239 } 1239 }
1240- return(false); 1240- return(false);
1241+ else if (obj-> inherits( "QProgressBar" )) { 1241+ else if (obj-> inherits( "QProgressBar" )) {
1242 + if ( ev->type() == QEvent::Paint ) { 1242 + if ( ev->type() == QEvent::Paint ) {
1243 + HackProgressBar *p = (HackProgressBar *) obj; 1243 + HackProgressBar *p = (HackProgressBar *) obj;
1244 + const QColorGroup &g = p-> colorGroup ( ); 1244 + const QColorGroup &g = p-> colorGroup ( );
1245 + 1245 +
1246 + QPixmap *pix = bevelFillDict.find(g.button().dark(120).rgb()); 1246 + QPixmap *pix = bevelFillDict.find(g.button().dark(120).rgb());
1247 + if(!pix){ 1247 + if(!pix){
1248 + int h, s, v; 1248 + int h, s, v;
1249 + g.button().dark(120).hsv(&h, &s, &v); 1249 + g.button().dark(120).hsv(&h, &s, &v);
1250 + pix = new QPixmap(*bevelFillPix); 1250 + pix = new QPixmap(*bevelFillPix);
1251 + adjustHSV(*pix, h, s, v); 1251 + adjustHSV(*pix, h, s, v);
1252 + bevelFillDict.insert(g.button().dark(120).rgb(), pix); 1252 + bevelFillDict.insert(g.button().dark(120).rgb(), pix);
1253 + } 1253 + }
1254 + p-> paint ((QPaintEvent *) ev, g, pix ); 1254 + p-> paint ((QPaintEvent *) ev, g, pix );
1255 + return true; 1255 + return true;
1256 + } 1256 + }
1257 + } 1257 + }
1258 +return false ; 1258 +return false ;
1259 } 1259 }
1260 1260
1261 void LiquidStyle::drawButton(QPainter *p, int x, int y, int w, int h, 1261 void LiquidStyle::drawButton(QPainter *p, int x, int y, int w, int h,
1262@@ -1325,8 +1246,11 @@ 1262@@ -1325,8 +1246,11 @@
1263 } 1263 }
1264 1264
1265 p->drawTiledPixmap(x+2, y+2, w-4, h-4, *pix); 1265 p->drawTiledPixmap(x+2, y+2, w-4, h-4, *pix);
1266+ qDebug ( "DRAW TOOLBUTTON IN PIXMAP" ); 1266+ qDebug ( "DRAW TOOLBUTTON IN PIXMAP" );
1267 } 1267 }
1268 else{ 1268 else{
1269 + qDebug ( "DRAW TOOLBUTTON sunken=%d/high=%p/device=%p", sunken, highlightWidget,p->device() ); 1269 + qDebug ( "DRAW TOOLBUTTON sunken=%d/high=%p/device=%p", sunken, highlightWidget,p->device() );
1270+ 1270+
1271 drawClearBevel(p, x, y, w, h, sunken ? g.button() : 1271 drawClearBevel(p, x, y, w, h, sunken ? g.button() :
1272 highlightWidget == p->device() ? g.button().light(110) : 1272 highlightWidget == p->device() ? g.button().light(110) :
1273 g.background(), g.background()); 1273 g.background(), g.background());
1274@@ -1340,11 +1264,6 @@ 1274@@ -1340,11 +1264,6 @@
1275 QColorGroup g = btn->colorGroup(); 1275 QColorGroup g = btn->colorGroup();
1276 1276
1277 1277
1278- QColor testColor; 1278- QColor testColor;
1279- if(btn->parent() && btn->parent()->isWidgetType()){ 1279- if(btn->parent() && btn->parent()->isWidgetType()){
1280- testColor = p->backgroundColor(); // remove me 1280- testColor = p->backgroundColor(); // remove me
1281- } 1281- }
1282- 1282-
1283 //int dw = buttonDefaultIndicatorWidth(); 1283 //int dw = buttonDefaultIndicatorWidth();
1284 if(btn->hasFocus() || btn->isDefault()){ 1284 if(btn->hasFocus() || btn->isDefault()){
1285 QColor c = btn->hasFocus() ? g.button().light(110) : g.background(); 1285 QColor c = btn->hasFocus() ? g.button().light(110) : g.background();
1286@@ -1488,7 +1407,20 @@ 1286@@ -1488,7 +1407,20 @@
1287 const QColorGroup &g, bool sunken, 1287 const QColorGroup &g, bool sunken,
1288 bool edit, bool, const QBrush *) 1288 bool edit, bool, const QBrush *)
1289 { 1289 {
1290- bool isHover = highlightWidget == painter->device(); 1290- bool isHover = highlightWidget == painter->device();
1291+ bool isActive = false; 1291+ bool isActive = false;
1292+ if (( painter->device()->devType() == QInternal::Widget ) && 1292+ if (( painter->device()->devType() == QInternal::Widget ) &&
1293+ ( 1293+ (
1294+ ( qApp-> focusWidget ( ) == painter-> device ( )) || 1294+ ( qApp-> focusWidget ( ) == painter-> device ( )) ||
1295+ ( 1295+ (
1296+ edit && 1296+ edit &&
1297+ ((QWidget *) painter-> device ( ))-> inherits ( "QComboBox" ) && 1297+ ((QWidget *) painter-> device ( ))-> inherits ( "QComboBox" ) &&
1298+ ( qApp-> focusWidget ( ) == ((QComboBox *) painter->device())->lineEdit ( )) 1298+ ( qApp-> focusWidget ( ) == ((QComboBox *) painter->device())->lineEdit ( ))
1299+ ) 1299+ )
1300+ ) 1300+ )
1301+ ) { 1301+ ) {
1302 + isActive = true; 1302 + isActive = true;
1303+ } 1303+ }
1304 + 1304 +
1305 bool isMasked = false; 1305 bool isMasked = false;
1306 if(painter->device()->devType() == QInternal::Widget) 1306 if(painter->device()->devType() == QInternal::Widget)
1307 isMasked = ((QWidget*)painter->device())->autoMask(); 1307 isMasked = ((QWidget*)painter->device())->autoMask();
1308@@ -1498,7 +1430,7 @@ 1308@@ -1498,7 +1430,7 @@
1309 1309
1310 drawRoundButton(&p, g.button(), g.background(), 0, 0, w, h, false, 1310 drawRoundButton(&p, g.button(), g.background(), 0, 0, w, h, false,
1311 sunken, false, isMasked); 1311 sunken, false, isMasked);
1312- if(!isHover){ 1312- if(!isHover){
1313+ if(!isActive){ 1313+ if(!isActive){
1314 p.setClipRect(0, 0, w-17, h); 1314 p.setClipRect(0, 0, w-17, h);
1315 drawRoundButton(&p, g.background(), g.background(), 0, 0, w, h, false, 1315 drawRoundButton(&p, g.background(), g.background(), 0, 0, w, h, false,
1316 sunken, false, isMasked); 1316 sunken, false, isMasked);
1317@@ -1550,16 +1482,17 @@ 1317@@ -1550,16 +1482,17 @@
1318 return(QRect(x+9, y+3, w - (h / 3) - 20, h-6)); 1318 return(QRect(x+9, y+3, w - (h / 3) - 20, h-6));
1319 } 1319 }
1320 1320
1321-QRect LiquidStyle::comboButtonFocusRect(int x, int y, int w, int h) 1321-QRect LiquidStyle::comboButtonFocusRect(int x, int y, int w, int h)
1322+QRect LiquidStyle::comboButtonFocusRect(int /*x*/, int /*y*/, int /*w*/, int /*h*/) 1322+QRect LiquidStyle::comboButtonFocusRect(int /*x*/, int /*y*/, int /*w*/, int /*h*/)
1323 { 1323 {
1324- return(QRect(x+5, y+3, w-(h/3)-13, h-5)); 1324- return(QRect(x+5, y+3, w-(h/3)-13, h-5));
1325 +return QRect ( ); 1325 +return QRect ( );
1326 + 1326 +
1327+// return(QRect(x+5, y+3, w-(h/3)-13, h-5)); 1327+// return(QRect(x+5, y+3, w-(h/3)-13, h-5));
1328 } 1328 }
1329 1329
1330 void LiquidStyle::drawScrollBarControls(QPainter *p, const QScrollBar *sb, 1330 void LiquidStyle::drawScrollBarControls(QPainter *p, const QScrollBar *sb,
1331 int sliderStart, uint controls, 1331 int sliderStart, uint controls,
1332 uint activeControl) 1332 uint activeControl)
1333 { 1333 {
1334- bool isHover = highlightWidget == p->device(); 1334- bool isHover = highlightWidget == p->device();
1335 int sliderMin, sliderMax, sliderLength, buttonDim; 1335 int sliderMin, sliderMax, sliderLength, buttonDim;
1336 scrollBarMetrics( sb, sliderMin, sliderMax, sliderLength, buttonDim ); 1336 scrollBarMetrics( sb, sliderMin, sliderMax, sliderLength, buttonDim );
1337 1337
1338@@ -1596,7 +1529,7 @@ 1338@@ -1596,7 +1529,7 @@
1339 if(sbBuffer.size() != sb->size()) 1339 if(sbBuffer.size() != sb->size())
1340 sbBuffer.resize(sb->size()); 1340 sbBuffer.resize(sb->size());
1341 } 1341 }
1342- subB.setRect( subX,subY,buttonDim,buttonDim ); 1342- subB.setRect( subX,subY,buttonDim,buttonDim );
1343+ subB.setRect( subX,subY,0,0); // buttonDim,buttonDim ); 1343+ subB.setRect( subX,subY,0,0); // buttonDim,buttonDim );
1344 addB.setRect( addX,addY,buttonDim,buttonDim ); 1344 addB.setRect( addX,addY,buttonDim,buttonDim );
1345 if(horiz) 1345 if(horiz)
1346 subHC.setRect(addX-buttonDim,addY,buttonDim,buttonDim ); 1346 subHC.setRect(addX-buttonDim,addY,buttonDim,buttonDim );
1347@@ -1624,7 +1557,7 @@ 1347@@ -1624,7 +1557,7 @@
1348 QPainter painter; 1348 QPainter painter;
1349 if(!horiz){ 1349 if(!horiz){
1350 painter.begin(&sbBuffer); 1350 painter.begin(&sbBuffer);
1351- QRect bgR(0, subB.bottom()+1, sb->width(), (len-(buttonDim*3))+1); 1351- QRect bgR(0, subB.bottom()+1, sb->width(), (len-(buttonDim*3))+1);
1352+ QRect bgR(0, subB.bottom()+1, sb->width(), (len-(buttonDim*2))+1); 1352+ QRect bgR(0, subB.bottom()+1, sb->width(), (len-(buttonDim*2))+1);
1353 if(sliderR.height() >= 8){ 1353 if(sliderR.height() >= 8){
1354 painter.drawPixmap(bgR.x()+1, bgR.y(), *vsbSliderFillPix, 0, 0, 1354 painter.drawPixmap(bgR.x()+1, bgR.y(), *vsbSliderFillPix, 0, 0,
1355 13, 8); 1355 13, 8);
1356@@ -1648,25 +1581,15 @@ 1356@@ -1648,25 +1581,15 @@
1357 } 1357 }
1358 if(controls & Slider){ 1358 if(controls & Slider){
1359 if(sliderR.height() >= 16){ 1359 if(sliderR.height() >= 16){
1360- painter.drawPixmap(sliderR.x()+1, sliderR.y(), 1360- painter.drawPixmap(sliderR.x()+1, sliderR.y(),
1361- isHover ? *getPixmap(VSBSliderTopHover): 1361- isHover ? *getPixmap(VSBSliderTopHover):
1362- *getPixmap(VSBSliderTop)); 1362- *getPixmap(VSBSliderTop));
1363+ painter.drawPixmap(sliderR.x()+1, sliderR.y(), *getPixmap(VSBSliderTop)); 1363+ painter.drawPixmap(sliderR.x()+1, sliderR.y(), *getPixmap(VSBSliderTop));
1364 painter.drawTiledPixmap(sliderR.x()+1, sliderR.y()+8, 13, 1364 painter.drawTiledPixmap(sliderR.x()+1, sliderR.y()+8, 13,
1365- sliderR.height()-16, isHover ? 1365- sliderR.height()-16, isHover ?
1366- *getPixmap(VSBSliderMidHover) : 1366- *getPixmap(VSBSliderMidHover) :
1367- *getPixmap(VSBSliderMid)); 1367- *getPixmap(VSBSliderMid));
1368- painter.drawPixmap(sliderR.x()+1, sliderR.bottom()-8, 1368- painter.drawPixmap(sliderR.x()+1, sliderR.bottom()-8,
1369- isHover ? *getPixmap(VSBSliderBtmHover) : 1369- isHover ? *getPixmap(VSBSliderBtmHover) :
1370- *getPixmap(VSBSliderBtm)); 1370- *getPixmap(VSBSliderBtm));
1371+ sliderR.height()-16, *getPixmap(VSBSliderMid)); 1371+ sliderR.height()-16, *getPixmap(VSBSliderMid));
1372+ painter.drawPixmap(sliderR.x()+1, sliderR.bottom()-8, *getPixmap(VSBSliderBtm)); 1372+ painter.drawPixmap(sliderR.x()+1, sliderR.bottom()-8, *getPixmap(VSBSliderBtm));
1373 } 1373 }
1374 else if(sliderR.height() >= 8){ 1374 else if(sliderR.height() >= 8){
1375 int m = sliderR.height()/2; 1375 int m = sliderR.height()/2;
1376- painter.drawPixmap(sliderR.x()+1, sliderR.y(), 1376- painter.drawPixmap(sliderR.x()+1, sliderR.y(),
1377- isHover ? *getPixmap(VSBSliderTopHover): 1377- isHover ? *getPixmap(VSBSliderTopHover):
1378- *getPixmap(VSBSliderTop), 0, 0, 13, m); 1378- *getPixmap(VSBSliderTop), 0, 0, 13, m);
1379- painter.drawPixmap(sliderR.x()+1, sliderR.y()+m, 1379- painter.drawPixmap(sliderR.x()+1, sliderR.y()+m,
1380- isHover ? *getPixmap(VSBSliderBtmHover): 1380- isHover ? *getPixmap(VSBSliderBtmHover):
1381- *getPixmap(VSBSliderBtm), 0, 8-m, 13, m); 1381- *getPixmap(VSBSliderBtm), 0, 8-m, 13, m);
1382+ painter.drawPixmap(sliderR.x()+1, sliderR.y(), *getPixmap(VSBSliderTop), 0, 0, 13, m); 1382+ painter.drawPixmap(sliderR.x()+1, sliderR.y(), *getPixmap(VSBSliderTop), 0, 0, 13, m);
1383+ painter.drawPixmap(sliderR.x()+1, sliderR.y()+m, *getPixmap(VSBSliderBtm), 0, 8-m, 13, m); 1383+ painter.drawPixmap(sliderR.x()+1, sliderR.y()+m, *getPixmap(VSBSliderBtm), 0, 8-m, 13, m);
1384 } 1384 }
1385 else{ 1385 else{
1386 painter.setPen(g.button().dark(210)); 1386 painter.setPen(g.button().dark(210));
1387@@ -1674,7 +1597,6 @@ 1387@@ -1674,7 +1597,6 @@
1388 13, sliderR.height()); 1388 13, sliderR.height());
1389 painter.drawTiledPixmap(sliderR.x()+2, sliderR.y()+1, 1389 painter.drawTiledPixmap(sliderR.x()+2, sliderR.y()+1,
1390 11, sliderR.height()-2, 1390 11, sliderR.height()-2,
1391- isHover ? *getPixmap(VSBSliderMidHover) : 1391- isHover ? *getPixmap(VSBSliderMidHover) :
1392 *getPixmap(VSBSliderMid), 1, 0); 1392 *getPixmap(VSBSliderMid), 1, 0);
1393 } 1393 }
1394 } 1394 }
1395@@ -1690,7 +1612,7 @@ 1395@@ -1690,7 +1612,7 @@
1396 } 1396 }
1397 else{ 1397 else{
1398 painter.begin(&sbBuffer); 1398 painter.begin(&sbBuffer);
1399- QRect bgR(subB.right()+1, 0, (len-(buttonDim*3))+1, sb->height()); 1399- QRect bgR(subB.right()+1, 0, (len-(buttonDim*3))+1, sb->height());
1400+ QRect bgR(subB.right()+1, 0, (len-(buttonDim*2))+1, sb->height()); 1400+ QRect bgR(subB.right()+1, 0, (len-(buttonDim*2))+1, sb->height());
1401 if(sliderR.width() >= 8){ 1401 if(sliderR.width() >= 8){
1402 painter.drawPixmap(bgR.x(), bgR.y()+1, *vsbSliderFillPix, 0, 0, 1402 painter.drawPixmap(bgR.x(), bgR.y()+1, *vsbSliderFillPix, 0, 0,
1403 8, 13); 1403 8, 13);
1404@@ -1715,22 +1637,17 @@ 1404@@ -1715,22 +1637,17 @@
1405 if(controls & Slider){ 1405 if(controls & Slider){
1406 if(sliderR.width() >= 16){ 1406 if(sliderR.width() >= 16){
1407 painter.drawPixmap(sliderR.x(), sliderR.y()+1, 1407 painter.drawPixmap(sliderR.x(), sliderR.y()+1,
1408- isHover ? *getPixmap(HSBSliderTopHover) : 1408- isHover ? *getPixmap(HSBSliderTopHover) :
1409 *getPixmap(HSBSliderTop)); 1409 *getPixmap(HSBSliderTop));
1410 painter.drawTiledPixmap(sliderR.x()+8, sliderR.y()+1, sliderR.width()-16, 1410 painter.drawTiledPixmap(sliderR.x()+8, sliderR.y()+1, sliderR.width()-16,
1411- 13, isHover ? *getPixmap(HSBSliderMidHover) : 1411- 13, isHover ? *getPixmap(HSBSliderMidHover) :
1412- *getPixmap(HSBSliderMid)); 1412- *getPixmap(HSBSliderMid));
1413- painter.drawPixmap(sliderR.right()-8, sliderR.y()+1, isHover ? 1413- painter.drawPixmap(sliderR.right()-8, sliderR.y()+1, isHover ?
1414- *getPixmap(HSBSliderBtmHover) : 1414- *getPixmap(HSBSliderBtmHover) :
1415+ 13, *getPixmap(HSBSliderMid)); 1415+ 13, *getPixmap(HSBSliderMid));
1416+ painter.drawPixmap(sliderR.right()-8, sliderR.y()+1, 1416+ painter.drawPixmap(sliderR.right()-8, sliderR.y()+1,
1417 *getPixmap(HSBSliderBtm)); 1417 *getPixmap(HSBSliderBtm));
1418 } 1418 }
1419 else if(sliderR.width() >= 8){ 1419 else if(sliderR.width() >= 8){
1420 int m = sliderR.width()/2; 1420 int m = sliderR.width()/2;
1421 painter.drawPixmap(sliderR.x(), sliderR.y()+1, 1421 painter.drawPixmap(sliderR.x(), sliderR.y()+1,
1422- isHover ? *getPixmap(HSBSliderTopHover) : 1422- isHover ? *getPixmap(HSBSliderTopHover) :
1423 *getPixmap(HSBSliderTop), 0, 0, m, 13); 1423 *getPixmap(HSBSliderTop), 0, 0, m, 13);
1424- painter.drawPixmap(sliderR.right()-8, sliderR.y()+1, isHover ? 1424- painter.drawPixmap(sliderR.right()-8, sliderR.y()+1, isHover ?
1425- *getPixmap(HSBSliderBtmHover) : 1425- *getPixmap(HSBSliderBtmHover) :
1426+ painter.drawPixmap(sliderR.right()-8, sliderR.y()+1, 1426+ painter.drawPixmap(sliderR.right()-8, sliderR.y()+1,
1427 *getPixmap(HSBSliderBtm), 8-m, 0, m, 13); 1427 *getPixmap(HSBSliderBtm), 8-m, 0, m, 13);
1428 } 1428 }
1429 else{ 1429 else{
1430@@ -1738,8 +1655,7 @@ 1430@@ -1738,8 +1655,7 @@
1431 drawRoundRect(&painter, sliderR.x(), sliderR.y()+1, 1431 drawRoundRect(&painter, sliderR.x(), sliderR.y()+1,
1432 sliderR.width(), 13); 1432 sliderR.width(), 13);
1433 painter.drawTiledPixmap(sliderR.x()+1, sliderR.y()+2, 1433 painter.drawTiledPixmap(sliderR.x()+1, sliderR.y()+2,
1434- sliderR.width()-2, 11, isHover ? 1434- sliderR.width()-2, 11, isHover ?
1435- *getPixmap(HSBSliderMidHover) : 1435- *getPixmap(HSBSliderMidHover) :
1436+ sliderR.width()-2, 11, 1436+ sliderR.width()-2, 11,
1437 *getPixmap(HSBSliderMid), 0, 1); 1437 *getPixmap(HSBSliderMid), 0, 1);
1438 } 1438 }
1439 } 1439 }
1440@@ -1761,10 +1677,10 @@ 1440@@ -1761,10 +1677,10 @@
1441 addB.width()-8, addB.height()-8, g, !maxed); 1441 addB.width()-8, addB.height()-8, g, !maxed);
1442 } 1442 }
1443 if ( controls & SubLine ) { 1443 if ( controls & SubLine ) {
1444- drawSBButton(p, subB, g, activeControl == SubLine); 1444- drawSBButton(p, subB, g, activeControl == SubLine);
1445- drawArrow( p, horiz ? LeftArrow : UpArrow, 1445- drawArrow( p, horiz ? LeftArrow : UpArrow,
1446- false, subB.x()+4, subB.y()+4, 1446- false, subB.x()+4, subB.y()+4,
1447- subB.width()-8, subB.height()-8, g, !maxed); 1447- subB.width()-8, subB.height()-8, g, !maxed);
1448+ // drawSBButton(p, subB, g, activeControl == SubLine); 1448+ // drawSBButton(p, subB, g, activeControl == SubLine);
1449+ // drawArrow( p, horiz ? LeftArrow : UpArrow, 1449+ // drawArrow( p, horiz ? LeftArrow : UpArrow,
1450+ // false, subB.x()+4, subB.y()+4, 1450+ // false, subB.x()+4, subB.y()+4,
1451+ // subB.width()-8, subB.height()-8, g, !maxed); 1451+ // subB.width()-8, subB.height()-8, g, !maxed);
1452 drawSBButton(p, subHC, g, activeControl == SubLine); 1452 drawSBButton(p, subHC, g, activeControl == SubLine);
1453 drawArrow( p, horiz ? LeftArrow : UpArrow, 1453 drawArrow( p, horiz ? LeftArrow : UpArrow,
1454 false, subHC.x()+4, subHC.y()+4, 1454 false, subHC.x()+4, subHC.y()+4,
1455@@ -1865,8 +1781,8 @@ 1455@@ -1865,8 +1781,8 @@
1456 else 1456 else
1457 buttonDim = ( length - b*2 )/2 - 1; 1457 buttonDim = ( length - b*2 )/2 - 1;
1458 1458
1459- sliderMin = b + buttonDim; 1459- sliderMin = b + buttonDim;
1460- maxLength = length - b*2 - buttonDim*3; 1460- maxLength = length - b*2 - buttonDim*3;
1461+ sliderMin = b + 0; // buttonDim; 1461+ sliderMin = b + 0; // buttonDim;
1462+ maxLength = length - b*2 - buttonDim*2; // 3; 1462+ maxLength = length - b*2 - buttonDim*2; // 3;
1463 1463
1464 if ( sb->maxValue() == sb->minValue() ) { 1464 if ( sb->maxValue() == sb->minValue() ) {
1465 sliderLength = maxLength; 1465 sliderLength = maxLength;
1466@@ -1914,31 +1830,31 @@ 1466@@ -1914,31 +1830,31 @@
1467 return(QSize(16, 16)); 1467 return(QSize(16, 16));
1468 } 1468 }
1469 1469
1470-void LiquidStyle::drawExclusiveIndicator(QPainter *p, int x, int y, int w, 1470-void LiquidStyle::drawExclusiveIndicator(QPainter *p, int x, int y, int w,
1471- int h, const QColorGroup &g, bool on, 1471- int h, const QColorGroup &g, bool on,
1472+void LiquidStyle::drawExclusiveIndicator(QPainter *p, int x, int y, int /*w*/, 1472+void LiquidStyle::drawExclusiveIndicator(QPainter *p, int x, int y, int /*w*/,
1473+ int /*h*/, const QColorGroup &/*g*/, bool on, 1473+ int /*h*/, const QColorGroup &/*g*/, bool on,
1474 bool down, bool) 1474 bool down, bool)
1475 { 1475 {
1476- bool isHover = highlightWidget == p->device(); 1476- bool isHover = highlightWidget == p->device();
1477+ bool isActive = ( p->device()->devType() == QInternal::Widget ) && ( qApp-> focusWidget ( ) == p-> device ( )); 1477+ bool isActive = ( p->device()->devType() == QInternal::Widget ) && ( qApp-> focusWidget ( ) == p-> device ( ));
1478 bool isMasked = p->device() && p->device()->devType() == QInternal::Widget 1478 bool isMasked = p->device() && p->device()->devType() == QInternal::Widget
1479 && ((QWidget*)p->device())->autoMask(); 1479 && ((QWidget*)p->device())->autoMask();
1480 1480
1481 if(isMasked){ 1481 if(isMasked){
1482 if(on || down){ 1482 if(on || down){
1483- p->drawPixmap(x, y, isHover ? *getPixmap(HTMLRadioDownHover) : 1483- p->drawPixmap(x, y, isHover ? *getPixmap(HTMLRadioDownHover) :
1484+ p->drawPixmap(x, y, isActive ? *getPixmap(HTMLRadioDownHover) : 1484+ p->drawPixmap(x, y, isActive ? *getPixmap(HTMLRadioDownHover) :
1485 *getPixmap(HTMLRadioDown)); 1485 *getPixmap(HTMLRadioDown));
1486 } 1486 }
1487 else 1487 else
1488- p->drawPixmap(x, y, isHover ? *getPixmap(HTMLRadioHover) : 1488- p->drawPixmap(x, y, isHover ? *getPixmap(HTMLRadioHover) :
1489+ p->drawPixmap(x, y, isActive ? *getPixmap(HTMLRadioHover) : 1489+ p->drawPixmap(x, y, isActive ? *getPixmap(HTMLRadioHover) :
1490 *getPixmap(HTMLRadio)); 1490 *getPixmap(HTMLRadio));
1491 1491
1492 } 1492 }
1493 else{ 1493 else{
1494 if(on || down){ 1494 if(on || down){
1495- p->drawPixmap(x, y, isHover ? *getPixmap(RadioOnHover) : 1495- p->drawPixmap(x, y, isHover ? *getPixmap(RadioOnHover) :
1496+ p->drawPixmap(x, y, isActive ? *getPixmap(RadioOnHover) : 1496+ p->drawPixmap(x, y, isActive ? *getPixmap(RadioOnHover) :
1497 *getPixmap(RadioOn)); 1497 *getPixmap(RadioOn));
1498 } 1498 }
1499 else 1499 else
1500- p->drawPixmap(x, y, isHover ? *getPixmap(RadioOffHover) : 1500- p->drawPixmap(x, y, isHover ? *getPixmap(RadioOffHover) :
1501+ p->drawPixmap(x, y, isActive ? *getPixmap(RadioOffHover) : 1501+ p->drawPixmap(x, y, isActive ? *getPixmap(RadioOffHover) :
1502 *getPixmap(RadioOff)); 1502 *getPixmap(RadioOff));
1503 } 1503 }
1504 } 1504 }
1505@@ -1957,25 +1873,25 @@ 1505@@ -1957,25 +1873,25 @@
1506 return(QSize(20, 22)); 1506 return(QSize(20, 22));
1507 } 1507 }
1508 1508
1509-void LiquidStyle::drawIndicator(QPainter *p, int x, int y, int w, int h, 1509-void LiquidStyle::drawIndicator(QPainter *p, int x, int y, int w, int h,
1510- const QColorGroup &g, int state, bool down, bool) 1510- const QColorGroup &g, int state, bool down, bool)
1511+void LiquidStyle::drawIndicator(QPainter *p, int x, int y, int /*w*/, int /*h*/, 1511+void LiquidStyle::drawIndicator(QPainter *p, int x, int y, int /*w*/, int /*h*/,
1512+ const QColorGroup &/*g*/, int state, bool /*down*/, bool) 1512+ const QColorGroup &/*g*/, int state, bool /*down*/, bool)
1513 { 1513 {
1514- bool isHover = highlightWidget == p->device(); 1514- bool isHover = highlightWidget == p->device();
1515+ bool isActive = ( p->device()->devType() == QInternal::Widget ) && ( qApp-> focusWidget ( ) == p-> device ( )); 1515+ bool isActive = ( p->device()->devType() == QInternal::Widget ) && ( qApp-> focusWidget ( ) == p-> device ( ));
1516 bool isMasked = p->device() && p->device()->devType() == QInternal::Widget 1516 bool isMasked = p->device() && p->device()->devType() == QInternal::Widget
1517 && ((QWidget*)p->device())->autoMask(); 1517 && ((QWidget*)p->device())->autoMask();
1518 if(isMasked){ 1518 if(isMasked){
1519 if(state != QButton::Off){ 1519 if(state != QButton::Off){
1520- p->drawPixmap(x, y, isHover ? *getPixmap(HTMLCBDownHover) : 1520- p->drawPixmap(x, y, isHover ? *getPixmap(HTMLCBDownHover) :
1521+ p->drawPixmap(x, y, isActive ? *getPixmap(HTMLCBDownHover) : 1521+ p->drawPixmap(x, y, isActive ? *getPixmap(HTMLCBDownHover) :
1522 *getPixmap(HTMLCBDown)); 1522 *getPixmap(HTMLCBDown));
1523 } 1523 }
1524 else 1524 else
1525- p->drawPixmap(x, y, isHover ? *getPixmap(HTMLCBHover) : 1525- p->drawPixmap(x, y, isHover ? *getPixmap(HTMLCBHover) :
1526+ p->drawPixmap(x, y, isActive ? *getPixmap(HTMLCBHover) : 1526+ p->drawPixmap(x, y, isActive ? *getPixmap(HTMLCBHover) :
1527 *getPixmap(HTMLCB)); 1527 *getPixmap(HTMLCB));
1528 1528
1529 } 1529 }
1530 else{ 1530 else{
1531 if(state != QButton::Off){ 1531 if(state != QButton::Off){
1532- p->drawPixmap(x, y, isHover ? *getPixmap(CBDownHover) : 1532- p->drawPixmap(x, y, isHover ? *getPixmap(CBDownHover) :
1533+ p->drawPixmap(x, y, isActive ? *getPixmap(CBDownHover) : 1533+ p->drawPixmap(x, y, isActive ? *getPixmap(CBDownHover) :
1534 *getPixmap(CBDown)); 1534 *getPixmap(CBDown));
1535 /* Todo - tristate 1535 /* Todo - tristate
1536 if(state == QButton::On){ 1536 if(state == QButton::On){
1537@@ -1992,12 +1908,12 @@ 1537@@ -1992,12 +1908,12 @@
1538 }*/ 1538 }*/
1539 } 1539 }
1540 else 1540 else
1541- p->drawPixmap(x, y, isHover ? *getPixmap(CBHover) : *getPixmap(CB)); 1541- p->drawPixmap(x, y, isHover ? *getPixmap(CBHover) : *getPixmap(CB));
1542+ p->drawPixmap(x, y, isActive ? *getPixmap(CBHover) : *getPixmap(CB)); 1542+ p->drawPixmap(x, y, isActive ? *getPixmap(CBHover) : *getPixmap(CB));
1543 } 1543 }
1544 } 1544 }
1545 1545
1546-void LiquidStyle::drawIndicatorMask(QPainter *p, int x, int y, int w, int h, 1546-void LiquidStyle::drawIndicatorMask(QPainter *p, int x, int y, int w, int h,
1547- int state) 1547- int state)
1548+void LiquidStyle::drawIndicatorMask(QPainter *p, int x, int y, int /*w*/, int /*h*/, 1548+void LiquidStyle::drawIndicatorMask(QPainter *p, int x, int y, int /*w*/, int /*h*/,
1549+ int /*state*/) 1549+ int /*state*/)
1550 { 1550 {
1551 // needed for some reason by KHtml, even tho it's all filled ;P 1551 // needed for some reason by KHtml, even tho it's all filled ;P
1552 p->drawPixmap(x, y, *getPixmap(HTMLCB)->mask()); 1552 p->drawPixmap(x, y, *getPixmap(HTMLCB)->mask());
1553@@ -2005,18 +1921,17 @@ 1553@@ -2005,18 +1921,17 @@
1554 } 1554 }
1555 1555
1556 void LiquidStyle::drawSlider(QPainter *p, int x, int y, int w, int h, 1556 void LiquidStyle::drawSlider(QPainter *p, int x, int y, int w, int h,
1557- const QColorGroup &g, Orientation orient, 1557- const QColorGroup &g, Orientation orient,
1558+ const QColorGroup &/*g*/, Orientation orient, 1558+ const QColorGroup &/*g*/, Orientation orient,
1559 bool, bool) 1559 bool, bool)
1560 { 1560 {
1561 QWidget *parent = (QWidget *)p->device(); 1561 QWidget *parent = (QWidget *)p->device();
1562 p->setBrushOrigin(parent->pos()); 1562 p->setBrushOrigin(parent->pos());
1563- p->fillRect(x, y, w, h, 1563- p->fillRect(x, y, w, h,
1564- QApplication::palette().active().brush(QColorGroup::Background)); 1564- QApplication::palette().active().brush(QColorGroup::Background));
1565+ parent->erase(x, y, w, h); 1565+ parent->erase(x, y, w, h);
1566 p->drawPixmap(x, y, orient == Qt::Horizontal ? *getPixmap(HSlider) : 1566 p->drawPixmap(x, y, orient == Qt::Horizontal ? *getPixmap(HSlider) :
1567 *getPixmap(VSlider)); 1567 *getPixmap(VSlider));
1568 } 1568 }
1569 1569
1570-void LiquidStyle::drawSliderMask(QPainter *p, int x, int y, int w, int h, 1570-void LiquidStyle::drawSliderMask(QPainter *p, int x, int y, int w, int h,
1571+void LiquidStyle::drawSliderMask(QPainter *p, int x, int y, int /*w*/, int /*h*/, 1571+void LiquidStyle::drawSliderMask(QPainter *p, int x, int y, int /*w*/, int /*h*/,
1572 Orientation orient, bool, bool) 1572 Orientation orient, bool, bool)
1573 { 1573 {
1574 p->drawPixmap(x, y, orient == Qt::Horizontal ? *getPixmap(HSlider)->mask() : 1574 p->drawPixmap(x, y, orient == Qt::Horizontal ? *getPixmap(HSlider)->mask() :
1575@@ -2065,203 +1980,26 @@ 1575@@ -2065,243 +1980,76 @@
1576 p->drawLineSegments(a); 1576 p->drawLineSegments(a);
1577 } 1577 }
1578 1578
1579-void LiquidStyle::drawKBarHandle(QPainter *p, int x, int y, int w, int h, 1579-void LiquidStyle::drawKBarHandle(QPainter *p, int x, int y, int w, int h,
1580- const QColorGroup &g, KToolBarPos, 1580- const QColorGroup &g, KToolBarPos,
1581- QBrush *) 1581- QBrush *)
1582-{ 1582-{
1583- p->setPen(g.button().dark(120)); 1583- p->setPen(g.button().dark(120));
1584- int x2 = x+w-1; 1584- int x2 = x+w-1;
1585- int y2 = y+h-1; 1585- int y2 = y+h-1;
1586- p->drawLine(x+1, y, x2-1, y); 1586- p->drawLine(x+1, y, x2-1, y);
1587- p->drawLine(x+1, y2, x2-1, y2); 1587- p->drawLine(x+1, y2, x2-1, y2);
1588- p->drawLine(x, y+1, x, y2-1); 1588- p->drawLine(x, y+1, x, y2-1);
1589- p->drawLine(x2, y+1, x2, y2-1); 1589- p->drawLine(x2, y+1, x2, y2-1);
1590- 1590-
1591- p->setPen(g.background()); 1591- p->setPen(g.background());
1592- p->drawPoint(x, y); 1592- p->drawPoint(x, y);
1593- p->drawPoint(x2, y); 1593- p->drawPoint(x2, y);
1594- p->drawPoint(x, y2); 1594- p->drawPoint(x, y2);
1595- p->drawPoint(x2, y2); 1595- p->drawPoint(x2, y2);
1596- 1596-
1597- 1597-
1598- 1598-
1599- // p->drawRect(x, y, w, h); 1599- // p->drawRect(x, y, w, h);
1600- QPixmap *pix = bevelFillDict.find(g.button().rgb()); 1600- QPixmap *pix = bevelFillDict.find(g.button().rgb());
1601- if(!pix){ 1601- if(!pix){
1602- int h, s, v; 1602- int h, s, v;
1603- g.button().hsv(&h, &s, &v); 1603- g.button().hsv(&h, &s, &v);
1604- pix = new QPixmap(*bevelFillPix); 1604- pix = new QPixmap(*bevelFillPix);
1605- adjustHSV(*pix, h, s, v); 1605- adjustHSV(*pix, h, s, v);
1606- bevelFillDict.insert(g.button().rgb(), pix); 1606- bevelFillDict.insert(g.button().rgb(), pix);
1607- } 1607- }
1608- 1608-
1609- p->drawTiledPixmap(x+1, y+1, w-2, h-2, *pix); 1609- p->drawTiledPixmap(x+1, y+1, w-2, h-2, *pix);
1610-} 1610-}
1611- 1611-
1612-void LiquidStyle::drawKMenuBar(QPainter *p, int x, int y, int w, int h, 1612-void LiquidStyle::drawKMenuBar(QPainter *p, int x, int y, int w, int h,
1613- const QColorGroup &g, bool mac, QBrush *) 1613- const QColorGroup &g, bool mac, QBrush *)
1614-{ 1614-{
1615- if(p->device() && p->device()->devType() == QInternal::Widget && 1615- if(p->device() && p->device()->devType() == QInternal::Widget &&
1616- ((KMenuBar *)p->device())->isTopLevelMenu()){ 1616- ((KMenuBar *)p->device())->isTopLevelMenu()){
1617- p->setPen(Qt::black); 1617- p->setPen(Qt::black);
1618- p->drawRect(x, y, w, h); 1618- p->drawRect(x, y, w, h);
1619- p->drawTiledPixmap(x+1, y+1, w-2, h-2, *menuPix); 1619- p->drawTiledPixmap(x+1, y+1, w-2, h-2, *menuPix);
1620- // left 1620- // left
1621- p->drawLine(x+1, y+1, x+1, y+5); 1621- p->drawLine(x+1, y+1, x+1, y+5);
1622- p->drawLine(x+2, y+1, x+2, y+3); 1622- p->drawLine(x+2, y+1, x+2, y+3);
1623- p->drawLine(x+3, y+1, x+3, y+2); 1623- p->drawLine(x+3, y+1, x+3, y+2);
1624- p->drawLine(x+4, y+1, x+6, y+1); 1624- p->drawLine(x+4, y+1, x+6, y+1);
1625- // right 1625- // right
1626- int x2 = x+w-1; 1626- int x2 = x+w-1;
1627- p->drawLine(x2-1, y+1, x2-1, y+5); 1627- p->drawLine(x2-1, y+1, x2-1, y+5);
1628- p->drawLine(x2-2, y+1, x2-2, y+3); 1628- p->drawLine(x2-2, y+1, x2-2, y+3);
1629- p->drawLine(x2-3, y+1, x2-3, y+2); 1629- p->drawLine(x2-3, y+1, x2-3, y+2);
1630- p->drawLine(x2-4, y+1, x2-6, y+1); 1630- p->drawLine(x2-4, y+1, x2-6, y+1);
1631- } 1631- }
1632- else{ 1632- else{
1633- qDrawShadePanel(p, x, y, w, h, g, false, 1, 1633- qDrawShadePanel(p, x, y, w, h, g, false, 1,
1634- &g.brush(QColorGroup::Background)); 1634- &g.brush(QColorGroup::Background));
1635- } 1635- }
1636-
1637-}
1638 1636
1637-}
1638-
1639-void LiquidStyle::drawKToolBar(QPainter *p, int x, int y, int w, int h, 1639-void LiquidStyle::drawKToolBar(QPainter *p, int x, int y, int w, int h,
1640- const QColorGroup &g, KToolBarPos, QBrush *) 1640- const QColorGroup &g, KToolBarPos, QBrush *)
1641+void LiquidStyle::drawMenuBarItem(QPainter *p, int x, int y, int w, int h, 1641+void LiquidStyle::drawMenuBarItem(QPainter *p, int x, int y, int w, int h,
1642+ QMenuItem *mi, QColorGroup &g, bool /*enabled*/, bool active ) 1642+ QMenuItem *mi, QColorGroup &g, bool /*enabled*/, bool active )
1643 { 1643 {
1644- //p->fillRect(x, y, w, h, g.brush(QColorGroup::Background)); 1644- //p->fillRect(x, y, w, h, g.brush(QColorGroup::Background));
1645-} 1645-}
1646- 1646-
1647-void LiquidStyle::drawKToolBarButton(QPainter *p, int x, int y, int w, int h, 1647-void LiquidStyle::drawKToolBarButton(QPainter *p, int x, int y, int w, int h,
1648- const QColorGroup &g, bool sunken, 1648- const QColorGroup &g, bool sunken,
1649- bool raised, bool enabled, bool popup, 1649- bool raised, bool enabled, bool popup,
1650- KToolButtonType icontext, 1650- KToolButtonType icontext,
1651- const QString& btext, const QPixmap *pixmap, 1651- const QString& btext, const QPixmap *pixmap,
1652- QFont *font, QWidget *btn) 1652- QFont *font, QWidget *btn)
1653-{ 1653-{
1654- int dx, dy; 1654- int dx, dy;
1655- 1655-
1656- QFontMetrics fm(*font); 1656- QFontMetrics fm(*font);
1657- 1657-
1658- QToolBar* toolbar = 0; 1658- QToolBar* toolbar = 0;
1659- if(btn->parent() && btn->parent()->isWidgetType() && btn->parent()->inherits("QToolBar")) 1659- if(btn->parent() && btn->parent()->isWidgetType() && btn->parent()->inherits("QToolBar"))
1660- toolbar = static_cast<QToolBar*>(btn->parent()); 1660- toolbar = static_cast<QToolBar*>(btn->parent());
1661- 1661-
1662- --w, --h; 1662- --w, --h;
1663- if(sunken) 1663- if(sunken)
1664- ++x, ++y; 1664- ++x, ++y;
1665- 1665-
1666- QColor btnColor(sunken ? g.button() : raised ? g.button().light(110) : 1666- QColor btnColor(sunken ? g.button() : raised ? g.button().light(110) :
1667- g.background()); 1667- g.background());
1668- drawClearBevel(p, x, y, w, h, btnColor, g.background()); 1668- drawClearBevel(p, x, y, w, h, btnColor, g.background());
1669- 1669-
1670- p->setPen(g.text()); 1670- p->setPen(g.text());
1671- 1671-
1672- if (icontext == Icon){ // icon only 1672- if (icontext == Icon){ // icon only
1673- if (pixmap){ 1673- if (pixmap){
1674- dx = ( w - pixmap->width() ) / 2; 1674- dx = ( w - pixmap->width() ) / 2;
1675- dy = ( h - pixmap->height() ) / 2; 1675- dy = ( h - pixmap->height() ) / 2;
1676- if ( sunken ) 1676- if ( sunken )
1677- { 1677- {
1678- ++dx; 1678- ++dx;
1679- ++dy; 1679- ++dy;
1680- } 1680- }
1681- p->drawPixmap( x+dx, y+dy, *pixmap ); 1681- p->drawPixmap( x+dx, y+dy, *pixmap );
1682- } 1682- }
1683- } 1683- }
1684- else if (icontext == IconTextRight){ // icon and text (if any) 1684- else if (icontext == IconTextRight){ // icon and text (if any)
1685- if (pixmap){ 1685- if (pixmap){
1686- dx = 4; 1686- dx = 4;
1687- dy = ( h - pixmap->height() ) / 2; 1687- dy = ( h - pixmap->height() ) / 2;
1688- if ( sunken ){ 1688- if ( sunken ){
1689- ++dx; 1689- ++dx;
1690- ++dy; 1690- ++dy;
1691- } 1691- }
1692- p->drawPixmap( x+dx, y+dy, *pixmap ); 1692- p->drawPixmap( x+dx, y+dy, *pixmap );
1693- } 1693- }
1694- if (!btext.isNull()){ 1694- if (!btext.isNull()){
1695- int tf = AlignVCenter|AlignLeft; 1695- int tf = AlignVCenter|AlignLeft;
1696- if (pixmap) 1696- if (pixmap)
1697- dx= 4 + pixmap->width() + 2; 1697- dx= 4 + pixmap->width() + 2;
1698- else 1698- else
1699- dx= 4; 1699- dx= 4;
1700- dy = 0; 1700- dy = 0;
1701- if ( sunken ){ 1701- if ( sunken ){
1702- ++dx; 1702- ++dx;
1703- ++dy; 1703- ++dy;
1704- } 1704- }
1705- if (font) 1705- if (font)
1706- p->setFont(*font); 1706- p->setFont(*font);
1707- if(raised) 1707- if(raised)
1708- p->setPen(KGlobalSettings::toolBarHighlightColor()); 1708- p->setPen(KGlobalSettings::toolBarHighlightColor());
1709- p->drawText(x+dx, y+dy, w-dx, h, tf, btext); 1709- p->drawText(x+dx, y+dy, w-dx, h, tf, btext);
1710- } 1710- }
1711- } 1711- }
1712- else if (icontext == Text){ // only text, even if there is a icon 1712- else if (icontext == Text){ // only text, even if there is a icon
1713- if (!btext.isNull()){ 1713- if (!btext.isNull()){
1714- int tf = AlignVCenter|AlignLeft; 1714- int tf = AlignVCenter|AlignLeft;
1715- if (!enabled) 1715- if (!enabled)
1716- p->setPen(g.dark()); 1716- p->setPen(g.dark());
1717- dx= (w - fm.width(btext)) / 2; 1717- dx= (w - fm.width(btext)) / 2;
1718- dy= (h - fm.lineSpacing()) / 2; 1718- dy= (h - fm.lineSpacing()) / 2;
1719- if ( sunken ){ 1719- if ( sunken ){
1720- ++dx; 1720- ++dx;
1721- ++dy; 1721- ++dy;
1722- } 1722- }
1723- if (font) 1723- if (font)
1724- p->setFont(*font); 1724- p->setFont(*font);
1725- if(raised) 1725- if(raised)
1726- p->setPen(KGlobalSettings::toolBarHighlightColor()); 1726- p->setPen(KGlobalSettings::toolBarHighlightColor());
1727- p->drawText(x+dx, y+dy, fm.width(btext), fm.lineSpacing(), tf, btext); 1727- p->drawText(x+dx, y+dy, fm.width(btext), fm.lineSpacing(), tf, btext);
1728- } 1728- }
1729- } 1729- }
1730- else if (icontext == IconTextBottom){ 1730- else if (icontext == IconTextBottom){
1731- if (pixmap){ 1731- if (pixmap){
1732- dx = (w - pixmap->width()) / 2; 1732- dx = (w - pixmap->width()) / 2;
1733- dy = (h - fm.lineSpacing() - pixmap->height()) / 2; 1733- dy = (h - fm.lineSpacing() - pixmap->height()) / 2;
1734- if ( sunken ){ 1734- if ( sunken ){
1735- ++dx; 1735- ++dx;
1736- ++dy; 1736- ++dy;
1737- } 1737- }
1738- p->drawPixmap( x+dx, y+dy, *pixmap ); 1738- p->drawPixmap( x+dx, y+dy, *pixmap );
1739- } 1739- }
1740- if (!btext.isNull()){ 1740- if (!btext.isNull()){
1741- int tf = AlignBottom|AlignHCenter; 1741- int tf = AlignBottom|AlignHCenter;
1742- dy= pixmap->height(); 1742- dy= pixmap->height();
1743- dx = 2; 1743- dx = 2;
1744- if ( sunken ){ 1744- if ( sunken ){
1745- ++dx; 1745- ++dx;
1746- ++dy; 1746- ++dy;
1747- } 1747- }
1748- if (font) 1748- if (font)
1749- p->setFont(*font); 1749- p->setFont(*font);
1750- if(raised) 1750- if(raised)
1751- p->setPen(KGlobalSettings::toolBarHighlightColor()); 1751- p->setPen(KGlobalSettings::toolBarHighlightColor());
1752- p->drawText(x, y, w, h-3, tf, btext); 1752- p->drawText(x, y, w, h-3, tf, btext);
1753- } 1753- }
1754- } 1754- }
1755- if (popup){ 1755- if (popup){
1756- if (enabled) 1756- if (enabled)
1757- qDrawArrow (p, Qt::DownArrow, Qt::WindowsStyle, false, w-5, h-5, 0, 0, 1757- qDrawArrow (p, Qt::DownArrow, Qt::WindowsStyle, false, w-5, h-5, 0, 0,
1758- g, true); 1758- g, true);
1759- else 1759- else
1760- qDrawArrow (p, Qt::DownArrow, Qt::WindowsStyle, false, w-5, h-5, 1760- qDrawArrow (p, Qt::DownArrow, Qt::WindowsStyle, false, w-5, h-5,
1761- 0, 0, g, false); 1761- 0, 0, g, false);
1762+ if(active){ 1762+ if(active){
1763+ x -= 2; // Bug in Qt/E 1763+ x -= 2; // Bug in Qt/E
1764+ y -= 2; 1764+ y -= 2;
1765+ w += 2; 1765+ w += 2;
1766+ h += 2; 1766+ h += 2;
1767 } 1767 }
1768-} 1768-}
1769- 1769-
1770 1770
1771-void LiquidStyle::drawKMenuItem(QPainter *p, int x, int y, int w, int h, 1771-void LiquidStyle::drawKMenuItem(QPainter *p, int x, int y, int w, int h,
1772- const QColorGroup &g, bool active, QMenuItem *mi, 1772- const QColorGroup &g, bool active, QMenuItem *mi,
1773- QBrush *) 1773- QBrush *)
1774-{ 1774-{
1775- if ( p->font() == KGlobalSettings::generalFont() ) 1775- if ( p->font() == KGlobalSettings::generalFont() )
1776- p->setFont( KGlobalSettings::menuFont() ); 1776- p->setFont( KGlobalSettings::menuFont() );
1777+ QWidget *parent = (QWidget *)p->device(); 1777+ QWidget *parent = (QWidget *)p->device();
1778+ p->setBrushOrigin(parent->pos()); 1778+ p->setBrushOrigin(parent->pos());
1779+ parent->erase(x, y, w, h); 1779+ parent->erase(x, y, w, h);
1780 1780
1781 if(menuHandler->useShadowText()){ 1781 if(menuHandler->useShadowText()){
1782 QColor shadow; 1782 QColor shadow;
1783 if(p->device() && p->device()->devType() == QInternal::Widget && 1783 if(p->device() && p->device()->devType() == QInternal::Widget &&
1784- ((QWidget *)p->device())->inherits("KMenuBar")){ 1784- ((QWidget *)p->device())->inherits("KMenuBar")){
1785- shadow = ((KMenuBar*)p->device())->isTopLevel() ? g.button().dark(130) : 1785- shadow = ((KMenuBar*)p->device())->isTopLevel() ? g.button().dark(130) :
1786+ ((QWidget *)p->device())->inherits("QMenuBar")){ 1786+ ((QWidget *)p->device())->inherits("QMenuBar")){
1787+ shadow = ((QMenuBar*)p->device())->isTopLevel() ? g.button().dark(130) : 1787+ shadow = ((QMenuBar*)p->device())->isTopLevel() ? g.button().dark(130) :
1788 g.background().dark(130); 1788 g.background().dark(130);
1789 } 1789 }
1790 else 1790 else
1791@@ -2300,8 +2038,8 @@ 1791 shadow = g.background().dark(130);
1792
1793 + QPixmap *dummy = 0;
1794 +
1795 + if ( mi-> pixmap ( ) && !mi-> pixmap ( )-> isNull ( )) {
1796 + dummy = new QPixmap ( mi-> pixmap ( )-> size ( ));
1797 + QBitmap dummy_mask ( dummy-> size ( ));
1798 + dummy_mask. fill ( color1 );
1799 + dummy-> setMask ( dummy_mask );
1800 + }
1801+
1802 if(active){
1803 drawClearBevel(p, x+1, y+1, w-1, h-1, g.button(), g.background());
1804 QApplication::style().drawItem(p, x+1, y+1, w, h,
1805 AlignCenter|ShowPrefix|DontClip|SingleLine,
1806- g, mi->isEnabled(), NULL, mi->text(),
1807+ g, mi->isEnabled(), dummy, mi->text(),
1808 -1, &shadow);
1809 QApplication::style().drawItem(p, x, y, w, h,
1810 AlignCenter|ShowPrefix|DontClip|SingleLine,
1811- g, mi->isEnabled(), NULL, mi->text(),
1812+ g, mi->isEnabled(), mi-> pixmap ( ), mi->text(),
1813 -1, &g.text());
1814 }
1815 else{
1816 QApplication::style().drawItem(p, x+1, y+1, w, h,
1817 AlignCenter|ShowPrefix|DontClip|SingleLine,
1818- g, mi->isEnabled(), NULL, mi->text(),
1819+ g, mi->isEnabled(), dummy, mi->text(),
1820 -1, &shadow);
1821 QApplication::style().drawItem(p, x, y, w, h,
1822 AlignCenter|ShowPrefix|DontClip|SingleLine,
1823- g, mi->isEnabled(), NULL, mi->text(),
1824+ g, mi->isEnabled(), mi-> pixmap ( ), mi->text(),
1825 -1, &g.text());
1826 }
1827+ delete dummy;
1828 }
1829 else{
1830 if(active)
1831 drawClearBevel(p, x+1, y+1, w-1, h-1, g.button(), g.background());
1832 QApplication::style().drawItem(p, x, y, w, h,
1833 AlignCenter|ShowPrefix|DontClip|SingleLine,
1834- g, mi->isEnabled(), NULL, mi->text(),
1835+ g, mi->isEnabled(), mi-> pixmap ( ), mi->text(),
1836 -1, &g.text());
1837 }
1792 } 1838 }
1793 1839
1794 void LiquidStyle::drawPopupPanel(QPainter *p, int x, int y, int w, int h, 1840 void LiquidStyle::drawPopupPanel(QPainter *p, int x, int y, int w, int h,
1795- const QColorGroup &g, int lineWidth, 1841- const QColorGroup &g, int lineWidth,
1796- const QBrush * fill) 1842- const QBrush * fill)
1797+ const QColorGroup &g, int /*lineWidth*/, 1843+ const QColorGroup &g, int /*lineWidth*/,
1798+ const QBrush * /*fill*/) 1844+ const QBrush * /*fill*/)
1799 { 1845 {
1800 QColor c; 1846 QColor c;
1801 switch(menuHandler->transType()){ 1847 switch(menuHandler->transType()){
1802@@ -2336,8 +2074,6 @@ 1848@@ -2336,8 +2084,6 @@
1803 1849
1804 maxpmw = QMAX( maxpmw, 20 ); 1850 maxpmw = QMAX( maxpmw, 20 );
1805 1851
1806- if ( p->font() == KGlobalSettings::generalFont() ) 1852- if ( p->font() == KGlobalSettings::generalFont() )
1807- p->setFont( KGlobalSettings::menuFont() ); 1853- p->setFont( KGlobalSettings::menuFont() );
1808 1854
1809 bool dis = !enabled; 1855 bool dis = !enabled;
1810 QColorGroup itemg = dis ? pal.disabled() : pal.active(); 1856 QColorGroup itemg = dis ? pal.disabled() : pal.active();
1811@@ -2363,7 +2099,7 @@ 1857@@ -2363,7 +2109,7 @@
1812 p->fillRect(x, y, w, h, menuBrush); 1858 p->fillRect(x, y, w, h, menuBrush);
1813 } 1859 }
1814 else{ 1860 else{
1815- KPixmap *pix = menuHandler->pixmap(((QWidget*)p->device())->winId()); 1861- KPixmap *pix = menuHandler->pixmap(((QWidget*)p->device())->winId());
1816+ QPixmap *pix = menuHandler->pixmap(((QWidget*)p->device())->winId()); 1862+ QPixmap *pix = menuHandler->pixmap(((QWidget*)p->device())->winId());
1817 if(pix) 1863 if(pix)
1818 p->drawPixmap(x, y, *pix, x, y, w, h); 1864 p->drawPixmap(x, y, *pix, x, y, w, h);
1819 } 1865 }
1820@@ -2508,25 +2244,6 @@ 1866@@ -2508,25 +2254,6 @@
1821 return h; 1867 return h;
1822 } 1868 }
1823 1869
1824-void LiquidStyle::drawKProgressBlock(QPainter *p, int x, int y, int w, int h, 1870-void LiquidStyle::drawKProgressBlock(QPainter *p, int x, int y, int w, int h,
1825- const QColorGroup &g, QBrush *fill) 1871- const QColorGroup &g, QBrush *fill)
1826-{ 1872-{
1827- p->setPen(g.button().dark(130)); 1873- p->setPen(g.button().dark(130));
1828- p->drawRect(x, y, w, h); 1874- p->drawRect(x, y, w, h);
1829- p->setPen(g.button().light(120)); 1875- p->setPen(g.button().light(120));
1830- p->drawRect(x+1, y+1, w-2, h-2); 1876- p->drawRect(x+1, y+1, w-2, h-2);
1831- if(w >= 4 && h >= 4){ 1877- if(w >= 4 && h >= 4){
1832- QPixmap *pix = bevelFillDict.find(g.button().dark(120).rgb()); 1878- QPixmap *pix = bevelFillDict.find(g.button().dark(120).rgb());
1833- if(!pix){ 1879- if(!pix){
1834- int h, s, v; 1880- int h, s, v;
1835- g.button().dark(120).hsv(&h, &s, &v); 1881- g.button().dark(120).hsv(&h, &s, &v);
1836- pix = new QPixmap(*bevelFillPix); 1882- pix = new QPixmap(*bevelFillPix);
1837- adjustHSV(*pix, h, s, v); 1883- adjustHSV(*pix, h, s, v);
1838- bevelFillDict.insert(g.button().dark(120).rgb(), pix); 1884- bevelFillDict.insert(g.button().dark(120).rgb(), pix);
1839- } 1885- }
1840- p->drawTiledPixmap(x+2, y+2, w-4, h-4, *pix); 1886- p->drawTiledPixmap(x+2, y+2, w-4, h-4, *pix);
1841- } 1887- }
1842-} 1888-}
1843 1889
1844 void LiquidStyle::drawFocusRect(QPainter *p, const QRect &r, 1890 void LiquidStyle::drawFocusRect(QPainter *p, const QRect &r,
1845 const QColorGroup &g, const QColor *c, 1891 const QColorGroup &g, const QColor *c,
1846@@ -2536,29 +2253,29 @@ 1892@@ -2536,29 +2263,29 @@
1847 if(p->device()->devType() == QInternal::Widget){ 1893 if(p->device()->devType() == QInternal::Widget){
1848 // if so does it use a special focus rectangle? 1894 // if so does it use a special focus rectangle?
1849 QWidget *w = (QWidget *)p->device(); 1895 QWidget *w = (QWidget *)p->device();
1850- if(w->inherits("QPushButton") || w->inherits("QSlider")){ 1896- if(w->inherits("QPushButton") || w->inherits("QSlider")){
1851+ if(w->inherits("QPushButton") || w->inherits("QSlider") || w->inherits("QComboBox") || w->inherits("QToolButton" )){ 1897+ if(w->inherits("QPushButton") || w->inherits("QSlider") || w->inherits("QComboBox") || w->inherits("QToolButton" )){
1852 return; 1898 return;
1853 } 1899 }
1854 else{ 1900 else{
1855- KStyle::drawFocusRect(p, r, g, c, atBorder); 1901- KStyle::drawFocusRect(p, r, g, c, atBorder);
1856+ QWindowsStyle::drawFocusRect(p, r, g, c, atBorder); 1902+ QWindowsStyle::drawFocusRect(p, r, g, c, atBorder);
1857 } 1903 }
1858 } 1904 }
1859 else 1905 else
1860- KStyle::drawFocusRect(p, r, g, c, atBorder); 1906- KStyle::drawFocusRect(p, r, g, c, atBorder);
1861+ QWindowsStyle::drawFocusRect(p, r, g, c, atBorder); 1907+ QWindowsStyle::drawFocusRect(p, r, g, c, atBorder);
1862 1908
1863 } 1909 }
1864 1910
1865 void LiquidStyle::polishPopupMenu(QPopupMenu *mnu) 1911 void LiquidStyle::polishPopupMenu(QPopupMenu *mnu)
1866 { 1912 {
1867 mnu->installEventFilter(menuHandler); 1913 mnu->installEventFilter(menuHandler);
1868- KStyle::polishPopupMenu(mnu); 1914- KStyle::polishPopupMenu(mnu);
1869+ QWindowsStyle::polishPopupMenu(mnu); 1915+ QWindowsStyle::polishPopupMenu(mnu);
1870 } 1916 }
1871 1917
1872 void LiquidStyle::drawTab(QPainter *p, const QTabBar *tabBar, QTab *tab, 1918 void LiquidStyle::drawTab(QPainter *p, const QTabBar *tabBar, QTab *tab,
1873 bool selected) 1919 bool selected)
1874 { 1920 {
1875 if(tabBar->shape() != QTabBar::RoundedAbove){ 1921 if(tabBar->shape() != QTabBar::RoundedAbove){
1876- KStyle::drawTab(p, tabBar, tab, selected); 1922- KStyle::drawTab(p, tabBar, tab, selected);
1877+ QWindowsStyle::drawTab(p, tabBar, tab, selected); 1923+ QWindowsStyle::drawTab(p, tabBar, tab, selected);
1878 return; 1924 return;
1879 } 1925 }
1880 QPixmap tilePix; 1926 QPixmap tilePix;
1881@@ -2671,7 +2388,7 @@ 1927@@ -2671,7 +2398,7 @@
1882 vFrame = 8; // was 10 1928 vFrame = 8; // was 10
1883 } 1929 }
1884 else 1930 else
1885- KStyle::tabbarMetrics(t, hFrame, vFrame, overlap); 1931- KStyle::tabbarMetrics(t, hFrame, vFrame, overlap);
1886+ QWindowsStyle::tabbarMetrics(t, hFrame, vFrame, overlap); 1932+ QWindowsStyle::tabbarMetrics(t, hFrame, vFrame, overlap);
1887 } 1933 }
1888 1934
1889 1935
1890@@ -2699,7 +2416,7 @@ 1936@@ -2699,7 +2426,7 @@
1891 p->drawLine(x+1, y+1, x+1, y2-1); 1937 p->drawLine(x+1, y+1, x+1, y2-1);
1892 } 1938 }
1893 else if(lineWidth != 2 || !sunken) 1939 else if(lineWidth != 2 || !sunken)
1894- KStyle::drawPanel(p, x, y, w, h, g, sunken, lineWidth, fill); 1940- KStyle::drawPanel(p, x, y, w, h, g, sunken, lineWidth, fill);
1895+ QWindowsStyle::drawPanel(p, x, y, w, h, g, sunken, lineWidth, fill); 1941+ QWindowsStyle::drawPanel(p, x, y, w, h, g, sunken, lineWidth, fill);
1896 else{ 1942 else{
1897 QPen oldPen = p->pen(); 1943 QPen oldPen = p->pen();
1898 int x2 = x+w-1; 1944 int x2 = x+w-1;
1899@@ -2726,105 +2443,6 @@ 1945@@ -2726,105 +2453,6 @@
1900 } 1946 }
1901 } 1947 }
1902 1948
1903-void LiquidStyle::drawKickerAppletHandle(QPainter *p, int x, int y, int w, int h, 1949-void LiquidStyle::drawKickerAppletHandle(QPainter *p, int x, int y, int w, int h,
1904- const QColorGroup &g, QBrush *) 1950- const QColorGroup &g, QBrush *)
1905-{ 1951-{
1906- p->fillRect(x, y, w, h, g.brush(QColorGroup::Background)); 1952- p->fillRect(x, y, w, h, g.brush(QColorGroup::Background));
1907- drawClearBevel(p, x, y, w, h, highlightWidget == p->device() ? 1953- drawClearBevel(p, x, y, w, h, highlightWidget == p->device() ?
1908- g.button().light(120) : g.button(), g.button()); 1954- g.button().light(120) : g.button(), g.button());
1909- /* 1955- /*
1910- if(h > w){ 1956- if(h > w){
1911- int y2 = y+h-1; 1957- int y2 = y+h-1;
1912- 1958-
1913- p->setPen(g.light()); 1959- p->setPen(g.light());
1914- 1960-
1915- p->drawLine(x+1, y+2, x+1, y2-2); 1961- p->drawLine(x+1, y+2, x+1, y2-2);
1916- p->drawLine(x+4, y+2, x+4, y2-2); 1962- p->drawLine(x+4, y+2, x+4, y2-2);
1917- 1963-
1918- p->setPen(g.dark()); 1964- p->setPen(g.dark());
1919- p->drawLine(x+2, y+2, x+2, y2-2); 1965- p->drawLine(x+2, y+2, x+2, y2-2);
1920- p->drawLine(x+5, y+2, x+5, y2-2); 1966- p->drawLine(x+5, y+2, x+5, y2-2);
1921- 1967-
1922- } 1968- }
1923- else{ 1969- else{
1924- int x2 = x+w-1; 1970- int x2 = x+w-1;
1925- 1971-
1926- p->setPen(g.light()); 1972- p->setPen(g.light());
1927- 1973-
1928- p->drawLine(x+2, y+1, x2-2, y+1); 1974- p->drawLine(x+2, y+1, x2-2, y+1);
1929- p->drawLine(x+2, y+4, x2-2, y+4); 1975- p->drawLine(x+2, y+4, x2-2, y+4);
1930- 1976-
1931- p->setPen(g.dark()); 1977- p->setPen(g.dark());
1932- p->drawLine(x+2, y+2, x2-2, y+2); 1978- p->drawLine(x+2, y+2, x2-2, y+2);
1933- p->drawLine(x+2, y+5, x2-2, y+5); 1979- p->drawLine(x+2, y+5, x2-2, y+5);
1934- }*/ 1980- }*/
1935- 1981-
1936-} 1982-}
1937- 1983-
1938-void LiquidStyle::drawKickerTaskButton(QPainter *p, int x, int y, int w, int h, 1984-void LiquidStyle::drawKickerTaskButton(QPainter *p, int x, int y, int w, int h,
1939- const QColorGroup &g, 1985- const QColorGroup &g,
1940- const QString &text, bool sunken, 1986- const QString &text, bool sunken,
1941- QPixmap *pixmap, QBrush *) 1987- QPixmap *pixmap, QBrush *)
1942-{ 1988-{
1943- p->fillRect(x, y, w, h, g.brush(QColorGroup::Button)); 1989- p->fillRect(x, y, w, h, g.brush(QColorGroup::Button));
1944- drawClearBevel(p, x, y, w, h, sunken ? g.button() : g.background(), g.button()); 1990- drawClearBevel(p, x, y, w, h, sunken ? g.button() : g.background(), g.button());
1945- p->setPen(g.buttonText()); // Kicker doesn't set this ;-) 1991- p->setPen(g.buttonText()); // Kicker doesn't set this ;-)
1946- 1992-
1947- if(text.isNull() && !pixmap) 1993- if(text.isNull() && !pixmap)
1948- return; 1994- return;
1949- 1995-
1950- const int pxWidth = 20; 1996- const int pxWidth = 20;
1951- int textPos = pxWidth; 1997- int textPos = pxWidth;
1952- QRect br(buttonRect(x, y, w, h)); 1998- QRect br(buttonRect(x, y, w, h));
1953- 1999-
1954- if (sunken) 2000- if (sunken)
1955- p->translate(1,1); 2001- p->translate(1,1);
1956- 2002-
1957- if ( pixmap && !pixmap->isNull() ) { 2003- if ( pixmap && !pixmap->isNull() ) {
1958- int dx = ( pxWidth - pixmap->width() ) / 2; 2004- int dx = ( pxWidth - pixmap->width() ) / 2;
1959- int dy = ( h - pixmap->height() ) / 2; 2005- int dy = ( h - pixmap->height() ) / 2;
1960- p->drawPixmap( br.x()+dx, dy, *pixmap ); 2006- p->drawPixmap( br.x()+dx, dy, *pixmap );
1961- } 2007- }
1962- 2008-
1963- QString s = text; 2009- QString s = text;
1964- static const QString &modStr = KGlobal::staticQString( 2010- static const QString &modStr = KGlobal::staticQString(
1965- QString::fromUtf8("[") + i18n("modified") + QString::fromUtf8("]")); 2011- QString::fromUtf8("[") + i18n("modified") + QString::fromUtf8("]"));
1966- 2012-
1967- int modStrPos = s.find(modStr); 2013- int modStrPos = s.find(modStr);
1968- 2014-
1969- if (-1 != modStrPos) { 2015- if (-1 != modStrPos) {
1970- 2016-
1971- // +1 because we include a space after the closing brace. 2017- // +1 because we include a space after the closing brace.
1972- s.remove(modStrPos, modStr.length()+1); 2018- s.remove(modStrPos, modStr.length()+1);
1973- 2019-
1974- QPixmap modPixmap = SmallIcon("modified"); 2020- QPixmap modPixmap = SmallIcon("modified");
1975- 2021-
1976- int dx = (pxWidth - modPixmap.width()) / 2; 2022- int dx = (pxWidth - modPixmap.width()) / 2;
1977- int dy = (h - modPixmap.height()) / 2; 2023- int dy = (h - modPixmap.height()) / 2;
1978- 2024-
1979- p->drawPixmap(br.x() + textPos + dx, dy, modPixmap); 2025- p->drawPixmap(br.x() + textPos + dx, dy, modPixmap);
1980- 2026-
1981- textPos += pxWidth; 2027- textPos += pxWidth;
1982- } 2028- }
1983- 2029-
1984- if (!s.isEmpty()){ 2030- if (!s.isEmpty()){
1985- if (p->fontMetrics().width(s) > br.width() - textPos) { 2031- if (p->fontMetrics().width(s) > br.width() - textPos) {
1986- 2032-
1987- int maxLen = br.width() - textPos - p->fontMetrics().width("..."); 2033- int maxLen = br.width() - textPos - p->fontMetrics().width("...");
1988- 2034-
1989- while ((!s.isEmpty()) && (p->fontMetrics().width(s) > maxLen)) 2035- while ((!s.isEmpty()) && (p->fontMetrics().width(s) > maxLen))
1990- s.truncate(s.length() - 1); 2036- s.truncate(s.length() - 1);
1991- 2037-
1992- s.append("..."); 2038- s.append("...");
1993- } 2039- }
1994- 2040-
1995- p->setPen(g.buttonText()); 2041- p->setPen(g.buttonText());
1996- 2042-
1997- p->drawText(br.x()+ textPos, -1, w-textPos, h, 2043- p->drawText(br.x()+ textPos, -1, w-textPos, h,
1998- AlignLeft|AlignVCenter, s); 2044- AlignLeft|AlignVCenter, s);
1999- } 2045- }
2000- 2046-
2001-} 2047-}
2002 2048
2003 void LiquidStyle::adjustHSV(QPixmap &pix, int h, int s, int v) 2049 void LiquidStyle::adjustHSV(QPixmap &pix, int h, int s, int v)
2004 { 2050 {
2005@@ -2988,110 +2606,5 @@ 2051@@ -2988,110 +2616,5 @@
2006 } 2052 }
2007 } 2053 }
2008 2054
2009-// I'm debating if to use QValueList or QList here. I like QValueList better, 2055-// I'm debating if to use QValueList or QList here. I like QValueList better,
2010-// but QList handles pointers which is good for a lot of empty icons... 2056-// but QList handles pointers which is good for a lot of empty icons...
2011- 2057-
2012-void LiquidStyle::loadCustomButtons() 2058-void LiquidStyle::loadCustomButtons()
2013-{ 2059-{
2014- return; // TODO 2060- return; // TODO
2015- customBtnColorList.clear(); 2061- customBtnColorList.clear();
2016- customBtnIconList.clear(); 2062- customBtnIconList.clear();
2017- customBtnLabelList.clear(); 2063- customBtnLabelList.clear();
2018- 2064-
2019- KConfig *config = KGlobal::config(); 2065- KConfig *config = KGlobal::config();
2020- QString oldGrp = config->group(); 2066- QString oldGrp = config->group();
2021- config->setGroup("MosfetButtons"); 2067- config->setGroup("MosfetButtons");
2022- 2068-
2023- QStrList iconList, colorList; //temp, we store QPixmaps and QColors 2069- QStrList iconList, colorList; //temp, we store QPixmaps and QColors
2024- iconList.setAutoDelete(true); 2070- iconList.setAutoDelete(true);
2025- colorList.setAutoDelete(true); 2071- colorList.setAutoDelete(true);
2026- config->readListEntry("Labels", customBtnLabelList); 2072- config->readListEntry("Labels", customBtnLabelList);
2027- config->readListEntry("Icons", iconList); 2073- config->readListEntry("Icons", iconList);
2028- config->readListEntry("Colors", colorList); 2074- config->readListEntry("Colors", colorList);
2029- 2075-
2030- const char *labelStr = customBtnLabelList.first(); 2076- const char *labelStr = customBtnLabelList.first();
2031- const char *colorStr = colorList.first(); 2077- const char *colorStr = colorList.first();
2032- const char *iconStr = iconList.first(); 2078- const char *iconStr = iconList.first();
2033- 2079-
2034- KIconLoader *ldr = KGlobal::iconLoader(); 2080- KIconLoader *ldr = KGlobal::iconLoader();
2035- while(labelStr != NULL){ 2081- while(labelStr != NULL){
2036- QColor *c = new QColor; 2082- QColor *c = new QColor;
2037- c->setNamedColor(QString(colorStr)); 2083- c->setNamedColor(QString(colorStr));
2038- customBtnColorList.append(c); 2084- customBtnColorList.append(c);
2039- 2085-
2040- QString tmpStr(iconStr); 2086- QString tmpStr(iconStr);
2041- if(!tmpStr.isEmpty()){ 2087- if(!tmpStr.isEmpty()){
2042- QPixmap *pixmap = 2088- QPixmap *pixmap =
2043- new QPixmap(ldr->loadIcon(tmpStr, KIcon::Small)); 2089- new QPixmap(ldr->loadIcon(tmpStr, KIcon::Small));
2044- if(pixmap->isNull()){ 2090- if(pixmap->isNull()){
2045- delete pixmap; 2091- delete pixmap;
2046- customBtnIconList.append(NULL); 2092- customBtnIconList.append(NULL);
2047- } 2093- }
2048- else 2094- else
2049- customBtnIconList.append(pixmap); 2095- customBtnIconList.append(pixmap);
2050- } 2096- }
2051- else 2097- else
2052- customBtnIconList.append(NULL); 2098- customBtnIconList.append(NULL);
2053- 2099-
2054- labelStr = customBtnLabelList.next(); 2100- labelStr = customBtnLabelList.next();
2055- colorStr = colorList.next(); 2101- colorStr = colorList.next();
2056- iconStr = iconList.next(); 2102- iconStr = iconList.next();
2057- } 2103- }
2058- config->setGroup(oldGrp); 2104- config->setGroup(oldGrp);
2059-} 2105-}
2060- 2106-
2061-void LiquidStyle::applyCustomAttributes(QPushButton *btn) 2107-void LiquidStyle::applyCustomAttributes(QPushButton *btn)
2062-{ 2108-{
2063- return; // TODO 2109- return; // TODO
2064- QString str = btn->text(); 2110- QString str = btn->text();
2065- if(str.isEmpty()) 2111- if(str.isEmpty())
2066- return; 2112- return;
2067- while(str.contains('&') != 0) 2113- while(str.contains('&') != 0)
2068- str = str.remove(str.find('&'), 1); 2114- str = str.remove(str.find('&'), 1);
2069- 2115-
2070- const char *s; 2116- const char *s;
2071- int idx = 0; 2117- int idx = 0;
2072- for(s = customBtnLabelList.first(); s != NULL; 2118- for(s = customBtnLabelList.first(); s != NULL;
2073- ++idx, s = customBtnLabelList.next()){ 2119- ++idx, s = customBtnLabelList.next()){
2074- if(qstricmp(s, str.latin1()) == 0){ 2120- if(qstricmp(s, str.latin1()) == 0){
2075- QPalette pal = btn->palette(); 2121- QPalette pal = btn->palette();
2076- pal.setColor(QColorGroup::Button, 2122- pal.setColor(QColorGroup::Button,
2077- *customBtnColorList.at(idx)); 2123- *customBtnColorList.at(idx));
2078- btn->setPalette(pal); 2124- btn->setPalette(pal);
2079- /* 2125- /*
2080- if(customBtnIconList.at(idx) != NULL){ 2126- if(customBtnIconList.at(idx) != NULL){
2081- QPixmap *pix = customBtnIconList.at(idx); 2127- QPixmap *pix = customBtnIconList.at(idx);
2082- btn->setIconSet(QIconSet(*pix)); 2128- btn->setIconSet(QIconSet(*pix));
2083- }*/ 2129- }*/
2084- break; 2130- break;
2085- } 2131- }
2086- } 2132- }
2087-} 2133-}
2088- 2134-
2089-void LiquidStyle::unapplyCustomAttributes(QPushButton *btn) 2135-void LiquidStyle::unapplyCustomAttributes(QPushButton *btn)
2090-{ 2136-{
2091- return; // TODO 2137- return; // TODO
2092- QString str = btn->text(); 2138- QString str = btn->text();
2093- if(str.isEmpty()) 2139- if(str.isEmpty())
2094- return; 2140- return;
2095- while(str.contains('&') != 0) 2141- while(str.contains('&') != 0)
2096- str = str.remove(str.find('&'), 1); 2142- str = str.remove(str.find('&'), 1);
2097- 2143-
2098- const char *s; 2144- const char *s;
2099- for(s = customBtnLabelList.first(); s != NULL; s = customBtnLabelList.next()){ 2145- for(s = customBtnLabelList.first(); s != NULL; s = customBtnLabelList.next()){
2100- if(qstricmp(s, str.latin1()) == 0){ 2146- if(qstricmp(s, str.latin1()) == 0){
2101- btn->setPalette(QApplication::palette()); 2147- btn->setPalette(QApplication::palette());
2102- btn->setIconSet(QIconSet()); 2148- btn->setIconSet(QIconSet());
2103- break; 2149- break;
2104- } 2150- }
2105- } 2151- }
2106-} 2152-}
2107- 2153-
2108-#include "liquid.moc" 2154-#include "liquid.moc"
2109- 2155-
2110- 2156-
2111- 2157-
2112- 2158-
2113- 2159-
2114 2160
2115 /* vim: set noet sw=8 ts=8: */ 2161 /* vim: set noet sw=8 ts=8: */
2116 --- -2002-11-18 04:47:41.000000000 +0100 2162 --- -2002-11-21 20:45:47.000000000 +0100
2117 +++ plugin.cpp2002-11-18 03:54:56.000000000 +0100 2163 +++ plugin.cpp2002-11-18 18:11:41.000000000 +0100
2118@@ -1,29 +1,79 @@ 2164@@ -1,29 +1,84 @@
2119+#include <qapplication.h> 2165+#include <qapplication.h>
2120+ 2166+
2121 #include "liquid.h" 2167 #include "liquid.h"
2122-#include <klocale.h> 2168-#include <klocale.h>
2123+#include "liquidset.h" 2169+#include "liquidset.h"
2124+#include "plugin.h" 2170+#include "plugin.h"
2125+ 2171+
2126+ 2172+
2127+ 2173+
2128+LiquidInterface::LiquidInterface ( ) : ref ( 0 ) 2174+LiquidInterface::LiquidInterface ( ) : ref ( 0 )
2129+{ 2175+{
2130 +m_widget = 0; 2176 +m_widget = 0;
2131+} 2177+}
2178+
2179+LiquidInterface::~LiquidInterface ( )
2180+{
2181+}
2182+
2183+QStyle *LiquidInterface::style ( )
2184+{
2185 +return new LiquidStyle ( );
2186+}
2132 2187
2133-extern "C" { 2188-extern "C" {
2134- KStyle* allocate(); 2189- KStyle* allocate();
2135- int minor_version(); 2190- int minor_version();
2136- int major_version(); 2191- int major_version();
2137- const char *description(); 2192- const char *description();
2138+LiquidInterface::~LiquidInterface ( ) 2193+QString LiquidInterface::name ( ) const
2139+{ 2194+{
2195 +return qApp-> translate ( "Styles", "Liquid" );
2140 } 2196 }
2141 2197
2142-KStyle* allocate() 2198-KStyle* allocate()
2143+QStyle *LiquidInterface::style ( ) 2199+QString LiquidInterface::description ( ) const
2144 { 2200 {
2145- return(new LiquidStyle); 2201- return(new LiquidStyle);
2146 +return new LiquidStyle ( ); 2202 +return qApp-> translate ( "Styles", "High Performance Liquid style by Mosfet" );
2147 } 2203 }
2148 2204
2149-int minor_version() 2205-int minor_version()
2150+QString LiquidInterface::name ( ) const 2206+bool LiquidInterface::hasSettings ( ) const
2151 { 2207 {
2152- return(0); 2208- return(0);
2153 +return qApp-> translate ( "Styles", "Liquid" ); 2209 +return true;
2154 } 2210 }
2155 2211
2156-int major_version() 2212-int major_version()
2157+QString LiquidInterface::description ( ) const 2213+QWidget *LiquidInterface::create ( QWidget *parent, const char *name )
2158 { 2214 {
2159- return(1); 2215- return(1);
2160 +return qApp-> translate ( "Styles", "High Performance Liquid style by Mosfet" ); 2216 +m_widget = new LiquidSettings ( parent, name ? name : "LIQUID-SETTINGS" );
2217 +
2218 +return m_widget;
2161 } 2219 }
2162 2220
2163-const char *description() 2221-const char *description()
2164+bool LiquidInterface::hasSettings ( ) const 2222+bool LiquidInterface::accept ( )
2165 { 2223 {
2166- return(i18n("High performance liquid plugin").utf8()); 2224- return(i18n("High performance liquid plugin").utf8());
2167 +return true;
2168+}
2169+
2170+QWidget *LiquidInterface::create ( QWidget *parent, const char *name )
2171+{
2172 +m_widget = new LiquidSettings ( parent, name ? name : "LIQUID-SETTINGS" );
2173 +
2174 +return m_widget;
2175+}
2176+
2177+bool LiquidInterface::accept ( )
2178+{
2179 +if ( !m_widget ) 2225 +if ( !m_widget )
2180 + return false; 2226 + return false;
2181+ 2227+
2182 +return m_widget-> writeConfig ( ); 2228 +return m_widget-> writeConfig ( );
2183 } 2229 }
2184+ 2230+
2185+void LiquidInterface::reject ( ) 2231+void LiquidInterface::reject ( )
2186+{ 2232+{
2187+} 2233+}
2188+ 2234+
2189+ 2235+
2190+QRESULT LiquidInterface::queryInterface ( const QUuid &uuid, QUnknownInterface **iface ) 2236+QRESULT LiquidInterface::queryInterface ( const QUuid &uuid, QUnknownInterface **iface )
2191+{ 2237+{
2192 +*iface = 0; 2238 +*iface = 0;
2193 + 2239 +
2194 +if ( uuid == IID_QUnknown ) 2240 +if ( uuid == IID_QUnknown )
2195 + *iface = this; 2241 + *iface = this;
2196 +else if ( uuid == IID_Style ) 2242 +else if ( uuid == IID_Style )
2197 + *iface = this; 2243 + *iface = this;
2198 +else if ( uuid == IID_StyleExtended ) 2244 +else if ( uuid == IID_StyleExtended )
2199 + *iface = this; 2245 + *iface = this;
2200 + 2246 +
2201 +if ( *iface ) 2247 +if ( *iface )
2202 + (*iface)-> addRef ( ); 2248 + (*iface)-> addRef ( );
2203 + 2249 +
2204 +return QS_OK; 2250 +return QS_OK;
2205+} 2251+}
2206+ 2252+
2207+Q_EXPORT_INTERFACE() 2253+Q_EXPORT_INTERFACE()
2208+{ 2254+{
2209 +Q_CREATE_INSTANCE( LiquidInterface ) 2255 +Q_CREATE_INSTANCE( LiquidInterface )
2210+} 2256+}
2211+ 2257+
2258+
2259+// For Sharp ROM
2260+
2261+extern "C" { QStyle *allocate ( ) { return new LiquidStyle ( ); } }
2262+extern "C" { void drawmenubaritem ( QStyle *sty, QPainter *p, int x, int y, int w, int h, QMenuItem *mi, QColorGroup &g, bool enabled, bool active ) { return ((LiquidStyle *) sty )-> drawMenuBarItem ( p, x, y, w, h, mi, g, enabled, active ); } }