From: <tz...@us...> - 2007-07-20 15:30:02
|
Revision: 2177 http://svn.sourceforge.net/freeorion/revision/?rev=2177&view=rev Author: tzlaine Date: 2007-07-20 08:30:02 -0700 (Fri, 20 Jul 2007) Log Message: ----------- Added show-fps button to the OptionsWnd that was somehow left out of the recent trunk-merge. Modified Paths: -------------- branches/networking-reimplementation/FreeOrion/UI/OptionsWnd.cpp Modified: branches/networking-reimplementation/FreeOrion/UI/OptionsWnd.cpp =================================================================== --- branches/networking-reimplementation/FreeOrion/UI/OptionsWnd.cpp 2007-07-20 02:24:13 UTC (rev 2176) +++ branches/networking-reimplementation/FreeOrion/UI/OptionsWnd.cpp 2007-07-20 15:30:02 UTC (rev 2177) @@ -614,6 +614,7 @@ CUISpin<int>* width_spin = IntOption("app-width", UserString("OPTIONS_APP_WIDTH")); CUISpin<int>* height_spin = IntOption("app-height", UserString("OPTIONS_APP_HEIGHT")); CUISpin<int>* color_depth_spin = IntOption("color-depth", UserString("OPTIONS_COLOR_DEPTH")); + CUIStateButton* show_FPS_button = BoolOption("show-fps", UserString("OPTIONS_SHOW_FPS")); CUIStateButton* fullscreen_button = BoolOption("fullscreen", UserString("OPTIONS_FULLSCREEN")); CUIStateButton* limit_FPS_button = BoolOption("limit-fps", UserString("OPTIONS_LIMIT_FPS")); CUISpin<double>* max_fps_spin = DoubleOption("max-fps", UserString("OPTIONS_MAX_FPS")); |