]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - Client/src/item_conduct.cpp
Se arreglan algunos detalles para modelar bien los circuitos
[z.facultad/75.42/plaqui.git] / Client / src / item_conduct.cpp
1
2 #include "item_conduct.h"
3
4 ViewConduct::ViewConduct(Glib::ustring _name, int orientacion):ViewItem(_name)
5 {
6         switch (orientacion) {
7                 case 0:
8                         image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/canio_n.png");
9                 break;
10                 case 1:
11                         image.set(PACKAGE_DATA_DIR"/plaqui-client/pixmaps/canio_s.png");
12         }
13         std::cout << "Conducto creado" << std::endl;
14         image.show();
15         set_size_request();
16 }
17
18 ViewConduct::~ViewConduct()
19 {
20 }
21