]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/union.cpp
Nuevo preview de los caños para el constructor!! ... esperen que ya llegan los
[z.facultad/75.42/plaqui.git] / Constructor / union.cpp
index 427c672b1764df8452f1ad39552d981b1dd5b69f..f1bee2f521ec06555e6a635de0e8c981ff623d5b 100644 (file)
@@ -37,8 +37,7 @@ bool Union::on_button_press_event(GdkEventButton *event)
                                imgActual = 0;
                                image = imageN;                 
                }
-               get_size_request(w, h);
-               set_size_request(h, w);         
+               set_size_request(image->get_width(), image->get_height());              
                image->render_to_drawable(get_window(),get_style()->get_black_gc(),0,0,0,0,image->get_width(),image->get_height(),Gdk::RGB_DITHER_NONE,0,0);
        }
        if ((event->type == GDK_BUTTON_PRESS) && ( event->button == 3)){
@@ -55,7 +54,3 @@ void Union::on_menu_popup_rotar()
                event.button = 2;
        Union::on_button_press_event(&event);
 }
-
-void Union::on_menu_popup_eliminar()
-{
-}