synfig-studio  1.0.3
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
studio::KeyframeTreeStore Class Reference

#include <keyframetreestore.h>

Classes

class  Model

Public Member Functions

 KeyframeTreeStore (etl::loose_handle< synfigapp::CanvasInterface > canvas_interface_)
 ~KeyframeTreeStore ()
etl::loose_handle
< synfigapp::CanvasInterface
canvas_interface ()
etl::loose_handle< const
synfigapp::CanvasInterface
canvas_interface () const
synfig::Canvas::Handle get_canvas ()
synfig::Canvas::Handle get_canvas () const
Gtk::TreeModel::Row find_row (const synfig::Keyframe &keyframe)
bool find_keyframe_path (const synfig::Keyframe &keyframe, Gtk::TreeModel::Path &path)

Static Public Member Functions

static Glib::RefPtr
< KeyframeTreeStore
create (etl::loose_handle< synfigapp::CanvasInterface > canvas_interface_)
static int time_sorter (const Gtk::TreeModel::iterator &rhs, const Gtk::TreeModel::iterator &lhs)
static int description_sorter (const Gtk::TreeModel::iterator &rhs, const Gtk::TreeModel::iterator &lhs)

Public Attributes

const Model model

Protected Member Functions

virtual void set_value_impl (const Gtk::TreeModel::iterator &row, int column, const Glib::ValueBase &value)
virtual Gtk::TreeModelFlags get_flags_vfunc ()
virtual int get_n_columns_vfunc ()
virtual GType get_column_type_vfunc (int index)
virtual bool iter_next_vfunc (const iterator &iter, iterator &iter_next) const
virtual bool get_iter_vfunc (const Gtk::TreeModel::Path &path, iterator &iter_next) const
virtual bool iter_nth_root_child_vfunc (int n, iterator &iter) const
virtual Gtk::TreeModel::Path get_path_vfunc (const iterator &iter) const
virtual void ref_node_vfunc (iterator &iter) const
virtual void unref_node_vfunc (iterator &iter) const
virtual void get_value_vfunc (const Gtk::TreeModel::iterator &iter, int column, Glib::ValueBase &value) const
virtual bool iter_is_valid (const iterator &iter) const
virtual int iter_n_root_children_vfunc () const

Constructor & Destructor Documentation

KeyframeTreeStore::KeyframeTreeStore ( etl::loose_handle< synfigapp::CanvasInterface canvas_interface_)

References canvas_interface().

Referenced by create().

KeyframeTreeStore::~KeyframeTreeStore ( )

Member Function Documentation

void KeyframeTreeStore::set_value_impl ( const Gtk::TreeModel::iterator &  row,
int  column,
const Glib::ValueBase &  value 
)
protectedvirtual
Gtk::TreeModelFlags KeyframeTreeStore::get_flags_vfunc ( )
protectedvirtual
int KeyframeTreeStore::get_n_columns_vfunc ( )
protectedvirtual

References model.

Referenced by set_value_impl().

GType KeyframeTreeStore::get_column_type_vfunc ( int  index)
protectedvirtual

References model.

Referenced by set_value_impl().

bool KeyframeTreeStore::iter_next_vfunc ( const iterator &  iter,
iterator &  iter_next 
) const
protectedvirtual

References canvas_interface(), and get_canvas().

bool KeyframeTreeStore::get_iter_vfunc ( const Gtk::TreeModel::Path &  path,
iterator &  iter_next 
) const
protectedvirtual
bool KeyframeTreeStore::iter_nth_root_child_vfunc ( int  n,
iterator &  iter 
) const
protectedvirtual

References canvas_interface(), and get_canvas().

Referenced by get_iter_vfunc().

Gtk::TreeModel::Path KeyframeTreeStore::get_path_vfunc ( const iterator &  iter) const
protectedvirtual
void KeyframeTreeStore::ref_node_vfunc ( iterator &  iter) const
protectedvirtual
void KeyframeTreeStore::unref_node_vfunc ( iterator &  iter) const
protectedvirtual
void KeyframeTreeStore::get_value_vfunc ( const Gtk::TreeModel::iterator &  iter,
int  column,
Glib::ValueBase &  value 
) const
protectedvirtual

References get_canvas().

bool KeyframeTreeStore::iter_is_valid ( const iterator &  iter) const
protectedvirtual
int KeyframeTreeStore::iter_n_root_children_vfunc ( ) const
protectedvirtual

References canvas_interface().

etl::loose_handle<synfigapp::CanvasInterface> studio::KeyframeTreeStore::canvas_interface ( )
inline
etl::loose_handle<const synfigapp::CanvasInterface> studio::KeyframeTreeStore::canvas_interface ( ) const
inline
synfig::Canvas::Handle studio::KeyframeTreeStore::get_canvas ( )
inline
synfig::Canvas::Handle studio::KeyframeTreeStore::get_canvas ( ) const
inline

References canvas_interface().

Gtk::TreeModel::Row KeyframeTreeStore::find_row ( const synfig::Keyframe &  keyframe)

References _, canvas_interface(), and get_canvas().

Referenced by find_keyframe_path().

bool KeyframeTreeStore::find_keyframe_path ( const synfig::Keyframe &  keyframe,
Gtk::TreeModel::Path &  path 
)

References find_row().

Glib::RefPtr< KeyframeTreeStore > KeyframeTreeStore::create ( etl::loose_handle< synfigapp::CanvasInterface canvas_interface_)
static

References KeyframeTreeStore().

int KeyframeTreeStore::time_sorter ( const Gtk::TreeModel::iterator &  rhs,
const Gtk::TreeModel::iterator &  lhs 
)
static

References model.

Referenced by studio::KeyframeTree::set_model().

int KeyframeTreeStore::description_sorter ( const Gtk::TreeModel::iterator &  rhs,
const Gtk::TreeModel::iterator &  lhs 
)
static

References model.

Referenced by studio::KeyframeTree::set_model().

Member Data Documentation

const Model studio::KeyframeTreeStore::model

The documentation for this class was generated from the following files: