]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - Client/src/item_codo.cpp
definitivamente tengo que aprender a documentar en alguna de esas cosas raras que...
[z.facultad/75.42/plaqui.git] / Client / src / item_codo.cpp
1
2 #include "item_codo.h"
3
4 ViewCodo::ViewCodo(Glib::ustring _name, int orientacion):ViewItem(_name)
5 {
6         switch (orientacion) {
7                 case 0:
8                         image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/codo_o.png");
9                 break;
10                 case 1:
11                         image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/codo_n.png");
12                 break;
13                 case 2:
14                         image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/codo_e.png");
15                 break;
16                 case 3:
17                         image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/codo_s.png");
18         }
19         image.show();
20         set_size_request();
21 }
22
23 ViewCodo::~ViewCodo()
24 {
25 }
26