]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - Client/src/item_drain.cpp
El Transmitter ya anda bien (se puede escuchar con un nc -p [puerto] -l -u :).
[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("drain_n.png");
10                 break;
11                 case 1:
12                         image.set("drain_e.png");
13                 break;
14                 case 2:
15                         image.set("drain_s.png");
16                 break;
17                 case 3:
18                         image.set("drain_o.png");
19         }
20         image.show();
21         set_size_request();
22 }
23
24 ViewDrain::~ViewDrain()
25 {
26 }
27