00001 /* Bitmap file generation graphics environment. 00002 * Copyright (C) 2010 Francois Galea <fgalea@free.fr> 00003 * 00004 * This file is part of Freezer. 00005 * 00006 * Freezer is free software: you can redistribute it and/or modify it under 00007 * the terms of the GNU Lesser General Public License as published by the 00008 * Free Software Foundation, either version 3 of the License, or (at your 00009 * option) any later version. 00010 * 00011 * Freezer is distributed in the hope that it will be useful, but WITHOUT 00012 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00013 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 00014 * License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public License 00017 * along with Freezer. If not, see <http://www.gnu.org/licenses/>. 00018 */ 00019 00020 #ifndef _FRZ_BMP_HPP_ 00021 #define _FRZ_BMP_HPP_ 00022 00023 #include "frz_system.hpp" 00024 00025 namespace Frz { 00026 00037 class BMPSystem : public System { 00038 int _min, _max, _step; 00039 bool _gen; 00040 00041 public: 00052 BMPSystem(Script &s, int width, int height, int min, int max, int step, 00053 bool gen); 00054 virtual ~BMPSystem(); 00055 00071 static int parseCmd(int argc, char **argv, int &width, int &height, 00072 int &min, int &max, int &step, bool &gen); 00073 00075 virtual int operator()(); 00076 }; 00077 00078 00079 }; // namespace Frz 00080 00081 00082 00083 #endif 00084
1.6.3