#include "item.h"
-
+#include <sstream>
+#include <string>
ViewItem::ViewItem(Glib::ustring _name):Gtk::EventBox(),image()
{
name = _name;
set_events(Gdk::BUTTON_PRESS_MASK);
+ actual_flow = -1;
add(image);
}
return name;
}
+std::string ViewItem::get_actual_flow()
+{
+ std::stringstream ss;
+ std::string s;
+
+ ss << actual_flow;
+ ss >> s;
+ return s;
+}
+