00001 00002 /* 00003 ** TP 4ETI CPE Lyon 00004 ** Copyright (C) 2012 Damien Rohmer 00005 ** 00006 ** This program is free software: you can redistribute it and/or modify 00007 ** it under the terms of the GNU General Public License as published by 00008 ** the Free Software Foundation, either version 3 of the License, or 00009 ** (at your option) any later version. 00010 ** 00011 ** This program is distributed in the hope that it will be useful, 00012 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 ** GNU General Public License for more details. 00015 ** 00016 ** You should have received a copy of the GNU General Public License 00017 ** along with this program. If not, see <http://www.gnu.org/licenses/>. 00018 */ 00019 00020 00021 00022 #ifndef _GUI_INTERFACE_HPP_ 00023 #define _GUI_INTERFACE_HPP_ 00024 00025 namespace cpe 00026 { 00027 class gui_interface 00028 { 00029 public: 00030 00031 void set_grid_visible(const bool& is_visible); 00032 void set_gridposition_visible(const bool& is_visible); 00033 void set_colorpatch_visible(const bool& is_visible); 00034 void set_curves_visible(const bool& is_visible); 00035 void set_surface_visible(const bool& is_visible); 00036 00037 const bool& get_grid_visible() const; 00038 const bool& get_gridposition_visible() const; 00039 const bool& get_colorpatch_visible() const; 00040 const bool& get_curves_visible() const; 00041 const bool& get_surface_visible() const; 00042 00043 private: 00044 00045 bool is_grid_visible; 00046 bool is_grid_position_visible; 00047 bool is_colorpatch_visible; 00048 bool is_curve_visible; 00049 bool is_surface_visible; 00050 00051 }; 00052 } 00053 00054 00055 #endif