--- gigedit/trunk/src/regionchooser.h 2007/03/18 07:13:06 1102 +++ gigedit/trunk/src/regionchooser.h 2007/03/18 07:26:43 1103 @@ -22,8 +22,11 @@ #include #include +#include #include +#include + #include class RegionChooser : public Gtk::DrawingArea @@ -47,7 +50,7 @@ virtual bool on_button_release_event(GdkEventButton* event); virtual bool on_motion_notify_event(GdkEventMotion* event); -// virtual void on_size_allocate(Gtk::Allocation& allocation); + gig::Region* get_region(int key); Glib::RefPtr gc; Gdk::Color blue, red, black, white, green, grey1; @@ -79,6 +82,16 @@ int h1; int width; + + Gtk::Menu* popup_menu_inside_region; + Gtk::Menu* popup_menu_outside_region; + void show_region_properties(); + void add_region(); + void delete_region(); + int new_region_pos; + + Glib::RefPtr actionGroup; + Glib::RefPtr uiManager; }; #endif