X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/4511b619c83ef3f3589e7a76fd812561950eef99..0269c999eb78b8687b9aa9962385a178b077b753:/Client/src/item.cpp?ds=sidebyside diff --git a/Client/src/item.cpp b/Client/src/item.cpp index 4ce5846..8fab941 100644 --- a/Client/src/item.cpp +++ b/Client/src/item.cpp @@ -1,3 +1,4 @@ + #include "item.h" #include #include @@ -13,14 +14,7 @@ ViewItem::ViewItem(Glib::ustring _name):Gtk::EventBox(),image() ViewItem::~ViewItem() { } -/* -bool ViewItem::on_expose_event(GdkEventExpose* event) -{ - image->render_to_drawable ( get_window(), get_style()->get_black_gc(), 0, 0, 0, 0, image->get_width() ,image->get_height() , - Gdk::RGB_DITHER_NONE, 0, 0); - return true; -} -*/ + void ViewItem::set_position(int _x, int _y) { x = _x; @@ -32,11 +26,6 @@ void ViewItem::set_name(Glib::ustring _name) name = _name; } -Glib::ustring ViewItem::get_name() -{ - return name; -} - std::string ViewItem::get_actual_flow() { std::stringstream ss;