summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-10-04 17:27:27 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-10-04 17:27:27 +0000
commit6b5c2775d35623f70fe1218710b6613d38395659 (patch)
tree4ee5036b7f304d33cb39cc4f83c0b35476643e81 /src/gui/setup.cpp
parent623fa32c10d7fda1240c256eefd05a7157662198 (diff)
downloadmana-client-6b5c2775d35623f70fe1218710b6613d38395659.tar.gz
mana-client-6b5c2775d35623f70fe1218710b6613d38395659.tar.bz2
mana-client-6b5c2775d35623f70fe1218710b6613d38395659.tar.xz
mana-client-6b5c2775d35623f70fe1218710b6613d38395659.zip
Set the white font in the ministatus window only in sdl mode until we have found a solution in openGL Mode. Disable the openGL Box when compiled without opengl support.
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index 582670a5..1938231a 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -103,6 +103,9 @@ Setup::Setup():
scrollArea = new ScrollArea(modeList);
fsCheckBox = new CheckBox("Full screen", false);
openGLCheckBox = new CheckBox("OpenGL", false);
+#ifndef USE_OPENGL
+ openGLCheckBox->setEnabled(false);
+#endif
customCursorCheckBox = new CheckBox("Custom cursor");
alphaLabel = new gcn::Label("Gui opacity");
alphaSlider = new Slider(0.2, 1.0);