X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fcanvastreestore.h;h=faed8b6c1705f18b23d376079aff8a9c8ffb6d28;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=252f3197b31efc1a82c0dc6ed157b4f43fd8eb95;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/canvastreestore.h b/synfig-studio/trunk/src/gtkmm/canvastreestore.h index 252f319..faed8b6 100644 --- a/synfig-studio/trunk/src/gtkmm/canvastreestore.h +++ b/synfig-studio/trunk/src/gtkmm/canvastreestore.h @@ -2,19 +2,20 @@ /*! \file canvastreestore.h ** \brief Template Header ** -** $Id: canvastreestore.h,v 1.1.1.1 2005/01/07 03:34:35 darco Exp $ +** $Id$ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** This package 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. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package 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. ** \endlegal */ /* ========================================================================= */ @@ -49,7 +50,7 @@ class CellRenderer_ValueBase; COLUMNID_VALUE, COLUMNID_TIME_TRACK, COLUMNID_TYPE, - + COLUMNID_END //!< \internal }; #define COLUMNID_NAME COLUMNID_ID @@ -84,9 +85,9 @@ public: Gtk::TreeModelColumn is_shared; Gtk::TreeModelColumn is_exported; - + Gtk::TreeModelColumn value_desc; - + Gtk::TreeModelColumn tooltip; Model() @@ -108,7 +109,7 @@ public: add(value_desc); add(link_count); add(link_id); - + add(tooltip); } }; @@ -118,7 +119,7 @@ public: */ public: - + const Model model; //std::multimap, sigc::connection> connection_map; @@ -151,7 +152,7 @@ private: */ public: - + CanvasTreeStore(etl::loose_handle canvas_interface_); ~CanvasTreeStore(); @@ -169,8 +170,8 @@ public: bool find_first_value_node(const synfig::ValueNode::Handle& value_node, Gtk::TreeIter& iter); bool find_next_value_node(const synfig::ValueNode::Handle& value_node, Gtk::TreeIter& iter); - - + + static CellRenderer_ValueBase* add_cell_renderer_value(Gtk::TreeView::Column* column); static CellRenderer_TimeTrack* add_cell_renderer_value_node(Gtk::TreeView::Column* column); @@ -184,7 +185,7 @@ public: */ public: - + }; // END of class CanvasTreeStore }; // END of namespace studio