summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-11 21:19:16 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-11 21:19:16 +0000
commit8f40ab49da011f6d57653afbd10d22c20309f2f6 (patch)
treeb9299d2d1fcd63f3e10dd6c9d40e87c7ccb73748 /src/gui
parentd7a67cd2fcc35e0fe119bf0de304f6fb8da81229 (diff)
downloadmana-client-8f40ab49da011f6d57653afbd10d22c20309f2f6.tar.gz
mana-client-8f40ab49da011f6d57653afbd10d22c20309f2f6.tar.bz2
mana-client-8f40ab49da011f6d57653afbd10d22c20309f2f6.tar.xz
mana-client-8f40ab49da011f6d57653afbd10d22c20309f2f6.zip
Introducing new font, sans serif 8.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index f38bb1b4..0ed123e3 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -82,26 +82,26 @@ Gui::Gui(Graphics *graphics)
// Set global font
try {
guiFont = new gcn::ImageFont(
- TMW_DATADIR "data/graphics/gui/fixedfont.png",
- " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567"
- "89:@!\"$%&/=?^+*#[]{}()<>_;'.,\\|-~`øå"
+ TMW_DATADIR "data/graphics/gui/sansserif8.png",
+ " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ["
+ "\\]^_`abcdefghijklmnopqrstuvwxyz{|}~|"
);
}
catch (gcn::Exception e)
{
- try {
- guiFont = new gcn::ImageFont(
- "data/graphics/gui/fixedfont.png",
- " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567"
- "89:@!\"$%&/=?^+*#[]{}()<>_;'.,\\|-~`øå"
- );
- }
- catch (gcn::Exception e)
- {
- logger->error("Unable to load fixedfont.png!");
- }
+ try {
+ guiFont = new gcn::ImageFont(
+ "data/graphics/gui/sansserif8.png",
+ " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW"
+ "XYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~|"
+ );
+ }
+ catch (gcn::Exception e)
+ {
+ logger->error("Unable to load sansserif8.png!");
+ }
}
-
+
gcn::Widget::setGlobalFont(guiFont);
// Load hits' colourful fonts