X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/60478d9e7985b9df7436c232301e124074948935..ffc9f02ea0544d4b1aa86e29afe12a2b4bace953:/Client/src/item_tank.cpp diff --git a/Client/src/item_tank.cpp b/Client/src/item_tank.cpp index b22b337..28cd576 100644 --- a/Client/src/item_tank.cpp +++ b/Client/src/item_tank.cpp @@ -7,9 +7,25 @@ ViewTank::ViewTank(Glib::ustring _name, int orientacion):ViewItem(_name) switch (orientacion) { case 0: image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/tanque_e.png"); + in_x = 5; + in_y = 16; + out_x = 64-16; + out_y = 64; + offset_x = 0; + offset_y = 0; + item_offset_x = 0; + item_offset_y = 0; break; case 1: image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/tanque_o.png"); + in_x = 64-5; + in_y = 16; + out_x = 16; + out_y = 64; + offset_x = 0; + offset_y = 0; + item_offset_x = 0; + item_offset_y = 0; } image.show(); set_size_request();