X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Flayergrouptree.cpp;fp=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Flayergrouptree.cpp;h=8ae13b62c8e8e007687b9d28c9a2648e4b5ecbf3;hb=02252941b29de64037116f4d37991a38d9ff0d94;hp=88dc5fe0ec03b70bc3b213037ca5cbaa1513d54e;hpb=34f6fabfcefdc878ba3c08b82358ae4aef439e99;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/layergrouptree.cpp b/synfig-studio/trunk/src/gtkmm/layergrouptree.cpp index 88dc5fe..8ae13b6 100644 --- a/synfig-studio/trunk/src/gtkmm/layergrouptree.cpp +++ b/synfig-studio/trunk/src/gtkmm/layergrouptree.cpp @@ -1,4 +1,4 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file layergrouptree.cpp ** \brief Template File ** @@ -28,7 +28,7 @@ # include #endif -#include +#include #include "layergrouptree.h" #include #include @@ -39,7 +39,7 @@ using namespace std; using namespace etl; -using namespace sinfg; +using namespace synfig; using namespace studio; /* === M A C R O S ========================================================= */ @@ -107,7 +107,7 @@ LayerGroupTree::LayerGroupTree() LayerGroupTree::~LayerGroupTree() { - sinfg::info("LayerGroupTree::~LayerGroupTree(): deleted"); + synfig::info("LayerGroupTree::~LayerGroupTree(): deleted"); } void @@ -150,13 +150,13 @@ LayerGroupTree::set_editable(bool x) } /* void -LayerGroupTree::on_edited_time(const Glib::ustring&path_string,sinfg::Time time) +LayerGroupTree::on_edited_time(const Glib::ustring&path_string,synfig::Time time) { Gtk::TreePath path(path_string); const Gtk::TreeRow row(*(get_model()->get_iter(path))); - sinfg::Keyframe keyframe(row[model.keyframe]); + synfig::Keyframe keyframe(row[model.keyframe]); if(time!=keyframe.get_time()) { row[model.time]=time; @@ -167,7 +167,7 @@ LayerGroupTree::on_edited_time(const Glib::ustring&path_string,sinfg::Time time) } void -LayerGroupTree::on_edited_time_delta(const Glib::ustring&path_string,sinfg::Time time) +LayerGroupTree::on_edited_time_delta(const Glib::ustring&path_string,synfig::Time time) { Gtk::TreePath path(path_string); @@ -183,8 +183,8 @@ LayerGroupTree::on_edited_description(const Glib::ustring&path_string,const Glib const Gtk::TreeRow row = *(get_model()->get_iter(path)); - const sinfg::String description(desc); - sinfg::Keyframe keyframe(row[model.keyframe]); + const synfig::String description(desc); + synfig::Keyframe keyframe(row[model.keyframe]); if(description!=keyframe.get_description()) { row[model.description]=desc; @@ -264,22 +264,22 @@ LayerGroupTree::on_event(GdkEvent *event) //return false; } -static inline void __group_grabber(const Gtk::TreeModel::iterator& iter, std::list* ret) +static inline void __group_grabber(const Gtk::TreeModel::iterator& iter, std::list* ret) { const LayerGroupTreeStore::Model model; if((bool)(*iter)[model.is_group]) ret->push_back((Glib::ustring)(*iter)[model.group_name]); } -std::list +std::list LayerGroupTree::get_selected_groups()const { Glib::RefPtr selection=const_cast(*this).get_selection(); if(!selection) - return std::list(); + return std::list(); - std::list ret; + std::list ret; selection->selected_foreach_iter( sigc::bind(