]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/activezone.cpp
- Se agrega el método HTTPRequest::method_str() para obtener el método como un
[z.facultad/75.42/plaqui.git] / Constructor / activezone.cpp
index 014439e4db945167a670a6d7106bc1e1bf7486a5..ee426b099e2f7119a561625b98d0c6b2a0014b3e 100644 (file)
@@ -8,8 +8,15 @@ ActiveZone::~ActiveZone()
 {
 }
 
-bool ActiveZone::on_button_press_event(GdkEventButton *e)
+bool ActiveZone::on_button_press_event(GdkEventButton *event)
+{
+       if ( (event->type == GDK_BUTTON_PRESS) && (event->button == 1) ) {
+               get_pointer(temp.x,temp.y);
+       }
+       return true;
+}
+                                                                                                                                            
+bool ActiveZone::on_button_release_event(GdkEventButton *event)
 {
-       std::cout<< "hola vieja"<<std::endl;
        return true;
 }