|
FlowCanvas 0.7.1
|
A (possibly named) circular Item which is Connectable. More...
#include <Ellipse.hpp>


Public Member Functions | |
| Ellipse (boost::shared_ptr< Canvas > canvas, const std::string &name, double x, double y, double x_radius, double y_radius, bool show_title=true) | |
| virtual | ~Ellipse () |
| Gnome::Art::Point | src_connection_point () |
| virtual Gnome::Art::Point | dst_connection_point (const Gnome::Art::Point &src) |
| virtual Gnome::Art::Point | connection_point_vector (double dx, double dy) |
| void | add_connection (boost::shared_ptr< Connection > c) |
| bool | point_is_within (double x, double y) |
| void | zoom (double z) |
| void | resize () |
| virtual void | move (double dx, double dy) |
| virtual void | move_to (double x, double y) |
| virtual void | load_location () |
| virtual void | store_location () |
| virtual void | set_name (const std::string &n) |
| void | set_width (double w) |
| void | set_height (double h) |
| double | border_width () const |
| void | set_border_width (double w) |
| void | select_tick () |
| void | set_selected (bool b) |
| void | set_highlighted (bool b) |
| void | set_border_color (uint32_t c) |
| void | set_base_color (uint32_t c) |
| void | set_default_base_color () |
Public Member Functions inherited from FlowCanvas::Item | |
| Item (boost::shared_ptr< Canvas > canvas, const std::string &name, double x, double y, uint32_t color) | |
| virtual | ~Item () |
| bool | selected () const |
| virtual void | set_minimum_width (double w) |
| boost::weak_ptr< Canvas > | canvas () const |
| bool | popup_menu (guint button, guint32 activate_time) |
| virtual void | create_menu () |
| Gtk::Menu * | menu () const |
| void | set_menu (Gtk::Menu *m) |
| double | width () const |
| double | height () const |
| bool | is_within (const Gnome::Canvas::Rect &rect) const |
| bool | point_is_within (double x, double y) const |
| Returns whether or not the point x, y (world units) is within the item. | |
| const std::string & | name () const |
| uint32_t | base_color () const |
| void | set_partner (boost::shared_ptr< Item > partner) |
| Set the partner of this node. | |
| boost::weak_ptr< Item > | partner () |
Public Member Functions inherited from FlowCanvas::Connectable | |
| virtual | ~Connectable () |
| virtual void | remove_connection (boost::shared_ptr< Connection > c) |
| virtual void | move_connections () |
| virtual void | raise_connections () |
| bool | is_connected_to (boost::shared_ptr< Connectable > other) |
| Connections & | connections () |
Protected Member Functions | |
| bool | is_within (const Gnome::Canvas::Rect &rect) |
Protected Member Functions inherited from FlowCanvas::Item | |
| virtual void | on_drag (double dx, double dy) |
| virtual void | on_drop () |
| virtual void | on_click (GdkEventButton *ev) |
| virtual void | on_double_click (GdkEventButton *ev) |
| bool | on_event (GdkEvent *event) |
Protected Attributes | |
| double | _border_width |
| bool | _title_visible |
| Gnome::Canvas::Ellipse | _ellipse |
| Gnome::Canvas::Text * | _label |
Protected Attributes inherited from FlowCanvas::Item | |
| const boost::weak_ptr< Canvas > | _canvas |
| boost::weak_ptr< Item > | _partner |
| Gtk::Menu * | _menu |
| std::string | _name |
| double | _minimum_width |
| double | _width |
| double | _height |
| uint32_t | _border_color |
| uint32_t | _color |
| bool | _selected:1 |
Protected Attributes inherited from FlowCanvas::Connectable | |
| Connections | _connections |
| needed for dragging | |
Additional Inherited Members | |
Public Types inherited from FlowCanvas::Connectable | |
| typedef std::list< boost::weak_ptr< Connection > > | Connections |
Public Attributes inherited from FlowCanvas::Item | |
| sigc::signal< void > | signal_pointer_entered |
| sigc::signal< void > | signal_pointer_exited |
| sigc::signal< void > | signal_selected |
| sigc::signal< void > | signal_unselected |
| sigc::signal< void, GdkEventButton * > | signal_clicked |
| sigc::signal< void, GdkEventButton * > | signal_double_clicked |
| sigc::signal< void, double, double > | signal_dragged |
| sigc::signal< void, double, double > | signal_dropped |
A (possibly named) circular Item which is Connectable.
Unlike a Module, this doesn't contain ports, but is directly Connectable itself (think your classic circles 'n' lines diagram, ala FSM).
| FlowCanvas::Ellipse::Ellipse | ( | boost::shared_ptr< Canvas > | canvas, |
| const std::string & | name, | ||
| double | x, | ||
| double | y, | ||
| double | x_radius, | ||
| double | y_radius, | ||
| bool | show_title = true ) |
|
virtual |
|
inlinevirtual |
Implements FlowCanvas::Connectable.
|
virtual |
Implements FlowCanvas::Connectable.
|
virtual |
Implements FlowCanvas::Connectable.
|
virtual |
Reimplemented from FlowCanvas::Connectable.
| bool FlowCanvas::Ellipse::point_is_within | ( | double | x, |
| double | y ) |
|
virtual |
Reimplemented from FlowCanvas::Item.
|
virtual |
Implements FlowCanvas::Item.
|
virtual |
Implements FlowCanvas::Item.
|
virtual |
|
inlinevirtual |
Reimplemented from FlowCanvas::Item.
|
inlinevirtual |
Reimplemented from FlowCanvas::Item.
|
virtual |
Reimplemented from FlowCanvas::Item.
|
virtual |
Implements FlowCanvas::Item.
|
virtual |
Implements FlowCanvas::Item.
|
inline |
References _border_width.
| void FlowCanvas::Ellipse::set_border_width | ( | double | w | ) |
|
virtual |
Implements FlowCanvas::Item.
|
virtual |
Reimplemented from FlowCanvas::Item.
| void FlowCanvas::Ellipse::set_highlighted | ( | bool | b | ) |
|
virtual |
Reimplemented from FlowCanvas::Item.
|
virtual |
Reimplemented from FlowCanvas::Item.
|
virtual |
Implements FlowCanvas::Item.
|
protected |
|
protected |
Referenced by border_width().
|
protected |
|
protected |
|
protected |