1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- ../orig/einstein-2.0.dfsg.2/descr.cpp 2007-08-31 11:02:45.000000000 +0200
+++ descr.cpp 2007-08-31 13:48:19.000000000 +0200
@@ -11,6 +11,7 @@
#include "convert.h"
#include "utils.h"
#include "tokenizer.h"
+#include "storage.h"
#define WIDTH 600
@@ -259,7 +260,10 @@
{
if (0 < line.length()) {
page->add(new Label(&font, offsetX, offsetY + curPosY,
- 255,255,255, line, false));
+ getStorage()->get(L"text_red", 0),
+ getStorage()->get(L"text_green", 0),
+ getStorage()->get(L"text_blue", 100),
+ line, false));
line.clear();
curPosY += 10 + charHeight;
lineWidth = 0;
|