X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/43fc1b3f57852f2af098fa7411e83220015aaa6f..bed1e8f7b596cf1aa73c25b8b39dcffe145fa018:/Client/src/item_pump.cpp diff --git a/Client/src/item_pump.cpp b/Client/src/item_pump.cpp index 201ce2d..abb1b0c 100644 --- a/Client/src/item_pump.cpp +++ b/Client/src/item_pump.cpp @@ -5,10 +5,26 @@ ViewPump::ViewPump(Glib::ustring _name, int orientacion):ViewItem(_name) { switch (orientacion) { case 0: - image.set("bomba_e.png"); + 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("bomba_o.png"); + 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();