synfig-studio
1.0.3
|
#include <layergrouptreestore.h>
Classes | |
class | Model |
Public Types | |
typedef std::list < synfig::Layer::Handle > | LayerList |
Public Member Functions | |
LayerGroupTreeStore (etl::loose_handle< synfigapp::CanvasInterface > canvas_interface_) | |
~LayerGroupTreeStore () | |
Gtk::TreeRow | on_group_added (synfig::String group) |
etl::loose_handle < synfigapp::CanvasInterface > | canvas_interface () |
etl::loose_handle< const synfigapp::CanvasInterface > | canvas_interface () const |
etl::loose_handle < synfigapp::CanvasInterface > | get_canvas_interface () const |
bool | find_layer_row (const synfig::Layer::Handle &handle, Gtk::TreeModel::Children::iterator &iter) |
bool | find_group_row (const synfig::String &group, Gtk::TreeModel::Children::iterator &iter) |
bool | find_prev_layer_row (const synfig::Layer::Handle &handle, Gtk::TreeModel::Children::iterator &iter) |
void | rebuild () |
void | refresh () |
void | refresh_row (Gtk::TreeModel::Row &row) |
void | set_row_layer (Gtk::TreeRow &row, synfig::Layer::Handle &handle) |
Static Public Member Functions | |
static bool | search_func (const Glib::RefPtr< TreeModel > &, int, const Glib::ustring &, const TreeModel::iterator &) |
static Glib::RefPtr < LayerGroupTreeStore > | create (etl::loose_handle< synfigapp::CanvasInterface > canvas_interface_) |
Public Attributes | |
const Model | model |
TreeModel for the layers. | |
bool | rebuilding |
typedef std::list<synfig::Layer::Handle> studio::LayerGroupTreeStore::LayerList |
LayerGroupTreeStore::LayerGroupTreeStore | ( | etl::loose_handle< synfigapp::CanvasInterface > | canvas_interface_ | ) |
References canvas_interface(), on_group_added(), and rebuild().
Referenced by create().
LayerGroupTreeStore::~LayerGroupTreeStore | ( | ) |
Gtk::TreeRow LayerGroupTreeStore::on_group_added | ( | synfig::String | group | ) |
|
inline |
Referenced by find_layer_row(), find_prev_layer_row(), LayerGroupTreeStore(), and rebuild().
|
inline |
|
inline |
bool LayerGroupTreeStore::find_layer_row | ( | const synfig::Layer::Handle & | handle, |
Gtk::TreeModel::Children::iterator & | iter | ||
) |
References canvas_interface().
bool LayerGroupTreeStore::find_group_row | ( | const synfig::String & | group, |
Gtk::TreeModel::Children::iterator & | iter | ||
) |
Referenced by on_group_added().
bool LayerGroupTreeStore::find_prev_layer_row | ( | const synfig::Layer::Handle & | handle, |
Gtk::TreeModel::Children::iterator & | iter | ||
) |
References canvas_interface().
void LayerGroupTreeStore::rebuild | ( | ) |
References canvas_interface(), on_group_added(), rebuilding, and set_row_layer().
Referenced by LayerGroupTreeStore(), and refresh().
void LayerGroupTreeStore::refresh | ( | ) |
References rebuild().
void LayerGroupTreeStore::refresh_row | ( | Gtk::TreeModel::Row & | row | ) |
void LayerGroupTreeStore::set_row_layer | ( | Gtk::TreeRow & | row, |
synfig::Layer::Handle & | handle | ||
) |
References studio::LayerGroupTreeStore::Model::is_group, studio::LayerGroupTreeStore::Model::is_layer, studio::LayerGroupTreeStore::Model::layer, and model.
Referenced by rebuild().
|
static |
References studio::LayerGroupTreeStore::Model::label, and model.
Referenced by studio::LayerGroupTree::LayerGroupTree().
|
static |
References LayerGroupTreeStore().
const Model studio::LayerGroupTreeStore::model |
TreeModel for the layers.
Referenced by on_group_added(), refresh_row(), search_func(), and set_row_layer().
bool studio::LayerGroupTreeStore::rebuilding |
Referenced by rebuild().