diff options
Diffstat (limited to 'src/gui/EdgeView.cpp')
-rw-r--r-- | src/gui/EdgeView.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/EdgeView.cpp b/src/gui/EdgeView.cpp index 725d685..9feb514 100644 --- a/src/gui/EdgeView.cpp +++ b/src/gui/EdgeView.cpp @@ -60,7 +60,6 @@ inline static uint32_t edge_color(float prob) /* end probability colour stuff */ - using namespace FlowCanvas; EdgeView::EdgeView(SharedPtr<Canvas> canvas, @@ -78,14 +77,12 @@ EdgeView::EdgeView(SharedPtr<Canvas> canvas, sigc::mem_fun(this, &EdgeView::on_property)); } - float EdgeView::probability() const { return _edge->get(URIs::instance().machina_probability).get_float(); } - double EdgeView::length_hint() const { @@ -93,7 +90,6 @@ EdgeView::length_hint() const return tail->node()->get(URIs::instance().machina_duration).get_float() * 10.0; } - void EdgeView::show_label(bool show) { @@ -101,7 +97,6 @@ EdgeView::show_label(bool show) set_color(edge_color(probability())); } - bool EdgeView::on_event(GdkEvent* ev) { @@ -126,7 +121,6 @@ EdgeView::on_event(GdkEvent* ev) return false; } - void EdgeView::on_property(Machina::URIInt key, const Raul::Atom& value) { |