]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Client/src/item_pump.cpp
Hago que se desconecte el cliente antes de salir y agrego handler para el evento
[z.facultad/75.42/plaqui.git] / Client / src / item_pump.cpp
index 1c25011e9ed609d8abf48738368433368e7daa3d..abb1b0c5c55ce50216363775091005c79e07955e 100644 (file)
@@ -6,9 +6,25 @@ ViewPump::ViewPump(Glib::ustring _name, int orientacion):ViewItem(_name)
        switch (orientacion) {
                case 0:
                        image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/bomba_e.png");
        switch (orientacion) {
                case 0:
                        image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/bomba_e.png");
+                       in_x = 96-16;
+                       in_y = 0;
+                       out_x = in_x;
+                       out_y = 32;
+                       offset_x = 0;
+                       offset_y = 0;
+                       item_offset_x = 0;
+                       item_offset_y = -15;
                break;
                case 1:
                        image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/bomba_o.png");
                break;
                case 1:
                        image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/bomba_o.png");
+                       in_x = 16;
+                       in_y = 0;                       
+                       out_x = 16;
+                       out_y = 32;
+                       offset_x = 0;
+                       offset_y = 0;
+                       item_offset_x = 0;
+                       item_offset_y = -15;
        }
        image.show();
        set_size_request();
        }
        image.show();
        set_size_request();