diff options
Diffstat (limited to 'src/gui/NodeView.cpp')
-rw-r--r-- | src/gui/NodeView.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/NodeView.cpp b/src/gui/NodeView.cpp index 09ec6a8..f87b74a 100644 --- a/src/gui/NodeView.cpp +++ b/src/gui/NodeView.cpp @@ -74,9 +74,9 @@ NodeView::on_double_click(GdkEventButton*) } bool -NodeView::is(Raul::Forge& forge, machina::URIInt key) +NodeView::is(Forge& forge, machina::URIInt key) { - const Raul::Atom& value = _node->get(key); + const Atom& value = _node->get(key); return value.type() == forge.Bool && value.get<int32_t>(); } @@ -84,7 +84,7 @@ bool NodeView::on_event(GdkEvent* event) { MachinaCanvas* canvas = dynamic_cast<MachinaCanvas*>(this->canvas()); - Raul::Forge& forge = canvas->app()->forge(); + Forge& forge = canvas->app()->forge(); if (event->type == GDK_BUTTON_PRESS) { if (event->button.state & GDK_CONTROL_MASK) { if (event->button.button == 1) { @@ -131,7 +131,7 @@ void NodeView::show_label(bool show) { if (show && _enter_action) { - Raul::Atom note_number = _enter_action->get( + Atom note_number = _enter_action->get( URIs::instance().machina_note_number); if (note_number.is_valid()) { uint8_t buf[8]; @@ -145,7 +145,7 @@ NodeView::show_label(bool show) } void -NodeView::on_property(machina::URIInt key, const Raul::Atom& value) +NodeView::on_property(machina::URIInt key, const Atom& value) { static const uint32_t active_color = 0x408040FF; static const uint32_t active_border_color = 0x00FF00FF; @@ -183,7 +183,7 @@ NodeView::on_property(machina::URIInt key, const Raul::Atom& value) } void -NodeView::on_action_property(machina::URIInt key, const Raul::Atom& value) +NodeView::on_action_property(machina::URIInt key, const Atom& value) { if (key == URIs::instance().machina_note_number) { show_label(true); |