//$Id: bitmapfamily-win-helpers.h,v 1.3 2006/10/06 22:35:39 cactus Exp $ -*- c++ -*- /* Guikachu Copyright (C) 2001-2006 ÉRDI Gergõ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. * * 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 */ #ifndef GUIKACHU_BITMAPFAMILY_WIN_HELPERS_H #define GUIKACHU_BITMAPFAMILY_WIN_HELPERS_H #include "bitmap-res.h" #include "bitmapfamily-res.h" #include #include namespace Guikachu { namespace GUI { namespace BitmapFamilyWindow_Helpers { class DepthList: public Gtk::TreeView { Resources::BitmapFamily *res; Gtk::TreeModelColumn col_label; Gtk::TreeModelColumn col_type; Glib::RefPtr liststore; public: DepthList (Resources::BitmapFamily *res); sigc::signal1 type_changed; private: bool update_block; void update (); void selection_changed_cb (); }; } } } #endif /* !GUIKACHU_BITMAPFAMILY_WIN_HELPERS_H */