]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Client/src/item_tank.cpp
despues de estar como un pelotudo buscando el error, lo encontre, era un == ( yo...
[z.facultad/75.42/plaqui.git] / Client / src / item_tank.cpp
index c3fcdaaa305e4fa80cc52f26b9b959fdfddf5182..28cd57644c5900dde19819e74e1bbf0860b04621 100644 (file)
@@ -6,10 +6,26 @@ ViewTank::ViewTank(Glib::ustring _name, int orientacion):ViewItem(_name)
 {
        switch (orientacion) {
                case 0:
-                       image.set("tanque_e.png");
+                       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("tanque_o.png");
+                       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();