From 28c9cec5d39c9a1b98694eba9a28281cf111e34a Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 13 Feb 2010 20:42:54 +0100 Subject: Changed FPS display from a text field to a label Not really useful to be able to edit it by hand. --- src/gui/setup_video.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/gui/setup_video.h') diff --git a/src/gui/setup_video.h b/src/gui/setup_video.h index e3bd62b1..08b029b7 100644 --- a/src/gui/setup_video.h +++ b/src/gui/setup_video.h @@ -45,9 +45,6 @@ class Setup_Video : public SetupTab, public gcn::ActionListener, void action(const gcn::ActionEvent &event); - /** Called when key is pressed */ - void keyPressed(gcn::KeyEvent &event); - static const char *overlayDetailToString(int detail = -1); static const char *particleDetailToString(int detail = -1); @@ -95,7 +92,7 @@ class Setup_Video : public SetupTab, public gcn::ActionListener, gcn::Slider *mAlphaSlider; gcn::CheckBox *mFpsCheckBox; gcn::Slider *mFpsSlider; - gcn::TextField *mFpsField; + gcn::Label *mFpsLabel; int mOverlayDetail; gcn::Slider *mOverlayDetailSlider; -- cgit v1.2.3-70-g09d2