--- gigedit/trunk/src/gigedit/dimregionchooser.h 2014/05/16 23:08:42 2555 +++ gigedit/trunk/src/gigedit/dimregionchooser.h 2014/05/16 23:19:23 2556 @@ -1,5 +1,5 @@ /* -*- c++ -*- - * Copyright (C) 2006-2011 Andreas Persson + * Copyright (C) 2006-2014 Andreas Persson * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -21,6 +21,8 @@ #define GIGEDIT_DIMREGIONCHOOSER_H #include +#include +#include #include #include "compat.h" @@ -54,6 +56,9 @@ virtual bool on_button_release_event(GdkEventButton* event); virtual bool on_motion_notify_event(GdkEventMotion* event); virtual bool on_focus(Gtk::DirectionType direction); + void refresh_all(); + void split_dimension_zone(); + void delete_dimension_zone(); Gdk::RGBA red, black, white; @@ -71,6 +76,9 @@ bool labels_changed; int nbDimensions; + int dimtype; + int dimzone; + // information needed during a resize struct { bool active; @@ -91,6 +99,11 @@ void update_after_resize(); int h; + + Glib::RefPtr actionGroup; + Glib::RefPtr uiManager; + Gtk::Menu* popup_menu_inside_dimregion; + Gtk::Menu* popup_menu_outside_dimregion; }; #endif