]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Client/src/item_tank.cpp
Se agrega docs de instalaciĆ³n.
[z.facultad/75.42/plaqui.git] / Client / src / item_tank.cpp
index 88b8eda25f16d1bd593f9d1f3ed145d74d385067..b22b337bb21d993eb7d4b21fa61bf9c7b69df132 100644 (file)
@@ -1,14 +1,15 @@
 
 #include "item_tank.h"
+#include <sstream>
 
 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");
                break;
                case 1:
-                       image.set("tanque_o.png");
+                       image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/tanque_o.png");
        }
        image.show();
        set_size_request();
@@ -18,3 +19,12 @@ ViewTank::~ViewTank()
 {
 }
 
+std::string ViewTank::get_extra()
+{
+       std::stringstream ss;
+       std::string s;
+       ss << extra;
+       ss >> s;
+       return s;
+}
+