]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - Client/src/item_codo.cpp
76aefe1461b6a02587e56ea44d433db6c516a978
[z.facultad/75.42/plaqui.git] / Client / src / item_codo.cpp
1
2 #include "item_codo.h"
3
4 Codo::Codo(Glib::ustring _name, int orientacion):Item(_name)
5 {
6         switch (orientacion) {
7                 case 0:
8                         image = Gdk::Pixbuf::create_from_file("codo_o.png");
9                 break;
10                 case 1:
11                         image = Gdk::Pixbuf::create_from_file("codo_n.png");
12                 break;
13                 case 2:
14                         image = Gdk::Pixbuf::create_from_file("codo_e.png");
15                 break;
16                 case 3:
17                         image = Gdk::Pixbuf::create_from_file("codo_s.png");
18         }
19         set_size_request(image->get_width(), image->get_height());
20 }
21
22 Codo::~Codo()
23 {
24 }
25