X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fhistorytreestore.h;h=3674fafc2bf1ccb4c3b18737e6b9c27edddc7759;hb=72dc78092947e9abef71cc98651a11495682bbaf;hp=3633568defb5fa8e41da34b52134d1438e35b880;hpb=ce408de81ca266b1f334ee9bc6c8fb7ba1492ed4;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/historytreestore.h b/synfig-studio/trunk/src/gtkmm/historytreestore.h index 3633568..3674faf 100644 --- a/synfig-studio/trunk/src/gtkmm/historytreestore.h +++ b/synfig-studio/trunk/src/gtkmm/historytreestore.h @@ -2,7 +2,7 @@ /*! \file historytreestore.h ** \brief Template Header ** -** $Id: historytreestore.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -41,7 +41,7 @@ namespace studio { class Instance; - + class HistoryTreeStore : virtual public Gtk::TreeStore { /* @@ -82,7 +82,7 @@ public: */ public: - + const Model model; /* @@ -92,14 +92,14 @@ public: private: etl::loose_handle instance_; - Gtk::TreeIter curr_row; + Gtk::TreeIter curr_row; /* -- ** -- P R I V A T E M E T H O D S --------------------------------------- */ private: - + /* -- ** -- S I G N A L T E R M I N A L S ------------------------------------- */ @@ -107,13 +107,13 @@ private: private: void on_undo(); - + void on_redo(); - + void on_undo_stack_cleared(); - + void on_redo_stack_cleared(); - + void on_new_action(etl::handle action); void on_action_status_changed(etl::handle action); @@ -123,7 +123,7 @@ private: */ public: - + HistoryTreeStore(etl::loose_handle instance_); ~HistoryTreeStore(); @@ -136,6 +136,8 @@ public: void insert_action(Gtk::TreeRow row,etl::handle action, bool is_active=true, bool is_undo=true, bool is_redo=false); + static bool search_func(const Glib::RefPtr&,int,const Glib::ustring&,const TreeModel::iterator&); + /* -- ** -- P R O T E C T E D M E T H O D S ----------------------------------- */ @@ -143,7 +145,7 @@ public: public: static Glib::RefPtr create(etl::loose_handle instance); - + }; // END of class HistoryTreeStore }; // END of namespace studio