summaryrefslogtreecommitdiffstats
path: root/games/einstein/patches/09_colors.diff
blob: 5f1ddcebc36c6adcc24d82b0f62788adec744963 (plain)
--- ../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;