#include <papyrus/boxed.h>
Inheritance diagram for Papyrus::Boxed:
Public Types | |
typedef PapyrusSmartPointer< Boxed > | pointer |
Public Member Functions | |
Rectangle::pointer | get_box () |
virtual bool | add (Drawable::pointer item, int layer=0, bool drawing_only=true) |
PAPYRUS_CLASS_NAME ("Boxed Group") | |
PAPYRUS_CLONE_METHOD (Boxed) | |
Static Public Member Functions | |
static Boxed::pointer | create () |
Protected Member Functions | |
virtual void | rebuild_extents () |
Reimplements Group's behavior when extents need to be updated. | |
virtual void | on_child_added (Drawable::pointer child) |
virtual void | on_child_removed (Drawable::pointer child) |
Protected Attributes | |
Rectangle::pointer | m_box |
void Papyrus::Boxed::rebuild_extents | ( | ) | [protected, virtual] |
Reimplements Group's behavior when extents need to be updated.
Performs same behavior, but also adjusts rectangle x, y, w, h.
Reimplemented from Papyrus::Group.
Reimplemented in Papyrus::Handlebox.