Base class for a node that can be drawn on screen. More...
#include <SimpleDrawable.hpp>
Public Member Functions | |
SimpleDrawable (const Tag &tag) | |
virtual void | draw () const =0 |
virtual bool | isSelectable () const |
virtual bool | isSelected () const |
virtual bool | isVisible () const |
virtual void | setSelected (bool selected) |
virtual void | setVisible (bool visible) |
virtual void | toggleSelected () |
virtual void | toggleVisible () |
virtual string | toString () const |
Protected Attributes | |
bool | selectable |
bool | selected |
bool | visible |
Base class for a node that can be drawn on screen.
SimpleDrawable | ( | const Tag & | tag | ) |
Initializes the selected, visible, and selectable attributes.
string toString | ( | ) | const [virtual] |
Implements Identifiable.
Reimplemented in Boolean, BooleanXor, and Shape.