#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();
{
}
+std::string ViewTank::get_extra()
+{
+ std::stringstream ss;
+ std::string s;
+ ss << extra;
+ ss >> s;
+ return s;
+}
+