From 566b50776533b46fccabcf9d197021ad20268d11 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 26 Jan 2009 00:14:31 +0100 Subject: Tweaked the green color to be more readable --- src/gui/browserbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/browserbox.h b/src/gui/browserbox.h index 226be37b..4dc41e3d 100644 --- a/src/gui/browserbox.h +++ b/src/gui/browserbox.h @@ -124,7 +124,7 @@ class BrowserBox : public gcn::Widget, public gcn::MouseListener enum { BLACK = 0x000000, /**< Color 0 */ RED = 0xff0000, /**< Color 1 */ - GREEN = 0x1fa052, /**< Color 2 */ + GREEN = 0x009000, /**< Color 2 */ BLUE = 0x0000ff, /**< Color 3 */ ORANGE = 0xe0980e, /**< Color 4 */ YELLOW = 0xf1dc27, /**< Color 5 */ -- cgit v1.2.3-70-g09d2 From e9c93aaaa463f288ef589589265bfffd90ecc96d Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 27 Jan 2009 10:02:51 +0100 Subject: Made font size configurable in config file Just change the value of 'fontSize'. This should be made configurable in the GUI though, and the GUI should then automatically adapt to the new font size. --- src/gui/gui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 22d94791..2da451a3 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -106,7 +106,8 @@ Gui::Gui(Graphics *graphics): // Set global font std::string path = resman->getPath("fonts/dejavusans.ttf"); try { - mGuiFont = new TrueTypeFont(path, 11); + const int fontSize = config.getValue("fontSize", 11); + mGuiFont = new TrueTypeFont(path, fontSize); } catch (gcn::Exception e) { -- cgit v1.2.3-70-g09d2