]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - Constructor/activezone.cpp
el conexionado se verifica pero hay casos en que falla, estaria bueno que hagan algun...
[z.facultad/75.42/plaqui.git] / Constructor / activezone.cpp
1 #include "activezone.h"
2
3 ActiveZone::ActiveZone(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade):Gtk::Viewport(cobject)
4 {
5 }
6
7 ActiveZone::~ActiveZone()
8 {
9 }
10
11 bool ActiveZone::on_button_press_event(GdkEventButton *event)
12 {
13         if ( (event->type == GDK_BUTTON_PRESS) && (event->button == 1) ) {
14                 get_pointer(temp.x,temp.y);
15         }
16         return true;
17 }
18                                                                                                                                             
19 bool ActiveZone::on_button_release_event(GdkEventButton *event)
20 {
21         return true;
22 }