]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/src/drain.cpp
* Se modifica la estructura de directorios : src include dialogs y pixmaps
[z.facultad/75.42/plaqui.git] / Constructor / src / drain.cpp
similarity index 88%
rename from Constructor/drain.cpp
rename to Constructor/src/drain.cpp
index 3625677a1638db537e082d23fce42d4e6f703366..1fe84eb305b424a8e4f7a9806863efadb315d084 100644 (file)
@@ -2,11 +2,11 @@
 
 Drain::Drain()
 {
-       imageE = Gdk::Pixbuf::create_from_file("drain_e.png");
-       imageO = Gdk::Pixbuf::create_from_file("drain_o.png");
-       imageN = Gdk::Pixbuf::create_from_file("drain_n.png");
-       imageS = Gdk::Pixbuf::create_from_file("drain_s.png");
-       null = Gdk::Pixbuf::create_from_file("null.png");
+       imageE = Gdk::Pixbuf::create_from_file(PACKAGE_DATA_DIR"/plaqui-constructor/pixmaps/drain_e.png");
+       imageO = Gdk::Pixbuf::create_from_file(PACKAGE_DATA_DIR"/plaqui-constructor/pixmaps/drain_o.png");
+       imageN = Gdk::Pixbuf::create_from_file(PACKAGE_DATA_DIR"/plaqui-constructor/pixmaps/drain_n.png");
+       imageS = Gdk::Pixbuf::create_from_file(PACKAGE_DATA_DIR"/plaqui-constructor/pixmaps/drain_s.png");
+       null = Gdk::Pixbuf::create_from_file(PACKAGE_DATA_DIR"/plaqui-constructor/pixmaps/null.png");
        imgActual = 0;
        image = imageN;
        set_size_request(image->get_width(), image->get_height());