]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - Client/src/item_drain.cpp
despues de estar como un pelotudo buscando el error, lo encontre, era un == ( yo...
[z.facultad/75.42/plaqui.git] / Client / src / item_drain.cpp
1
2 #include "item_drain.h"
3 #include <iostream>
4
5 ViewDrain::ViewDrain(Glib::ustring _name, int orientacion):ViewItem(_name)
6 {
7         switch (orientacion) {
8                 case 0:
9                         image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/drain_n.png");
10                 break;
11                 case 1:
12                         image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/drain_e.png");
13                 break;
14                 case 2:
15                         image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/drain_s.png");
16                 break;
17                 case 3:
18                         image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/drain_o.png");
19         }
20         image.show();
21         set_size_request();
22 }
23
24 ViewDrain::~ViewDrain()
25 {
26 }
27