📄 options.h
字号:
#ifndef OPTIONS_H#define OPTIONS_H//$Id: Options.h,v 1.11 2006/01/03 22:48:23 markus Rel $// This program is free software; you can redistribute it and/or modify// it under the terms of the GNU General Public License as published by// the Free Software Foundation; either version 2 of the License, or// (at your option) any later version.// This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the// GNU General Public License for more details.// You should have received a copy of the GNU General Public License// along with this program; if not, write to the Free Software// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.#include <string>#include <vector>#include <cardgames-cfg.h>#include "CardCol.h"#include <YGP/Entity.h>class Options : public YGP::Entity { friend class Settings; friend class CardgameAppl; friend class CardgameCollection; public: Options (); virtual ~Options (); private: Options (const Options& other); const Options& operator= (const Options& other); std::string strType; // %attrib%; Type; "Rovhult" unsigned int type; std::string browser; // %attrib%; Helpbrowser; "galeon" std::string helpPath; // %attrib%; Helpdir; DOCUDIR std::string decks; // %attrib%; CardFront; CARDDECKS_DIR "cards-default/" std::string back; // %attrib%; CardBack; CARDDECKS_DIR "decks/deck1.png" std::string target; std::string port;#ifdef SAVE_GAME bool load; std::string gameFile;#endif std::vector<Glib::ustring> names; const char* pNameINIFile;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -