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