DrawableController combines the event handling interface from Controller with the drawable list management of DrawableSet. More...
#include <drawablecontroller.h>
Public Types | |
typedef PapyrusPointer < DrawableController > | pointer |
Public Member Functions | |
virtual | ~DrawableController () |
Static Public Member Functions | |
static pointer | create (const Glib::ustring &id=Glib::ustring(), DrawableSet::pointer drawables=DrawableSet::pointer()) |
static pointer | create (DrawableSet::pointer drawables) |
Protected Member Functions | |
DrawableController (const Glib::ustring &id, DrawableSet::pointer drawables) | |
virtual void | on_drawable_added (Drawable::pointer d) |
virtual void | on_drawable_removed (Drawable::pointer d) |
virtual void | on_drawables_cleared () |
Private Member Functions | |
void | on_drawable_added_proxy (Drawable::pointer d) |
void | on_drawable_removed_proxy (Drawable::pointer d) |
void | on_drawables_cleared_proxy () |
DrawableController combines the event handling interface from Controller with the drawable list management of DrawableSet.
typedef PapyrusPointer<DrawableController> Papyrus::DrawableController::pointer |
Reimplemented from Papyrus::Controller.
Reimplemented in Papyrus::AffineController, Papyrus::Rotator, Papyrus::Scaler, Papyrus::Selector, Papyrus::Translator, and Papyrus::Zoomer.
Papyrus::DrawableController::DrawableController | ( | const Glib::ustring & | id, | |
DrawableSet::pointer | drawables | |||
) | [protected] |
Papyrus::DrawableController::~DrawableController | ( | ) | [virtual] |
DrawableController::pointer Papyrus::DrawableController::create | ( | DrawableSet::pointer | drawables | ) | [static] |
References DrawableController(), and PAPYRUS_CREATE.
DrawableController::pointer Papyrus::DrawableController::create | ( | const Glib::ustring & | id = Glib::ustring() , |
|
DrawableSet::pointer | drawables = DrawableSet::pointer() | |||
) | [static] |
References DrawableController(), and PAPYRUS_CREATE.
void Papyrus::DrawableController::on_drawable_added | ( | Drawable::pointer | d | ) | [protected, virtual] |
Reimplemented in Papyrus::AffineController.
Referenced by on_drawable_added_proxy().
void Papyrus::DrawableController::on_drawable_added_proxy | ( | Drawable::pointer | d | ) | [private] |
References on_drawable_added().
Referenced by DrawableController().
void Papyrus::DrawableController::on_drawable_removed | ( | Drawable::pointer | d | ) | [protected, virtual] |
Reimplemented in Papyrus::AffineController.
Referenced by on_drawable_removed_proxy().
void Papyrus::DrawableController::on_drawable_removed_proxy | ( | Drawable::pointer | d | ) | [private] |
References on_drawable_removed().
Referenced by DrawableController().
void Papyrus::DrawableController::on_drawables_cleared | ( | ) | [protected, virtual] |
Referenced by on_drawables_cleared_proxy().
void Papyrus::DrawableController::on_drawables_cleared_proxy | ( | ) | [private] |
References on_drawables_cleared().
Referenced by DrawableController().