#ifndef ADD_TILESET_DIALOG_H__ #define ADD_TILESET_DIALOG_H__ /* Battle Tanks Game * Copyright (C) 2006-2009 Battle Tanks team * * 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. */ /* * Additional rights can be granted beyond the GNU General Public License * on the terms provided in the Exception. If you modify this file, * you may extend this exception to your version of the file, * but you are not obligated to do so. If you do not wish to provide this * exception without modification, you must delete this exception statement * from your version and license this file solely under the GPL without exception. */ #include "menu/scroll_list.h" #include #include class TilesetList; class AddTilesetDialog : public ScrollList { public: AddTilesetDialog(const int w, const int h); const bool init(const std::string &map_fname, TilesetList &tilesets, const std::vector &all_tilesets); virtual bool onKey(const SDL_keysym sym); const std::string getTileset(); private: std::string _tileset; std::vector _tilesets; }; #endif