/[svn]/gigedit/trunk/src/gigedit/dimregionchooser.h
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/dimregionchooser.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2246 by persson, Fri Aug 19 10:55:41 2011 UTC revision 2556 by schoenebeck, Fri May 16 23:19:23 2014 UTC
# Line 1  Line 1 
1  /*                                                         -*- c++ -*-  /*                                                         -*- c++ -*-
2   * Copyright (C) 2006-2011 Andreas Persson   * Copyright (C) 2006-2014 Andreas Persson
3   *   *
4   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
5   * modify it under the terms of the GNU General Public License as   * modify it under the terms of the GNU General Public License as
# Line 21  Line 21 
21  #define GIGEDIT_DIMREGIONCHOOSER_H  #define GIGEDIT_DIMREGIONCHOOSER_H
22    
23  #include <gtkmm/drawingarea.h>  #include <gtkmm/drawingarea.h>
24    #include <gtkmm/uimanager.h>
25    #include <gtkmm/menu.h>
26  #include <gdkmm/window.h>  #include <gdkmm/window.h>
27    
28  #include "compat.h"  #include "compat.h"
# Line 54  protected: Line 56  protected:
56      virtual bool on_button_release_event(GdkEventButton* event);      virtual bool on_button_release_event(GdkEventButton* event);
57      virtual bool on_motion_notify_event(GdkEventMotion* event);      virtual bool on_motion_notify_event(GdkEventMotion* event);
58      virtual bool on_focus(Gtk::DirectionType direction);      virtual bool on_focus(Gtk::DirectionType direction);
59        void refresh_all();
60        void split_dimension_zone();
61        void delete_dimension_zone();
62    
63      Gdk::RGBA red, black, white;      Gdk::RGBA red, black, white;
64    
# Line 71  protected: Line 76  protected:
76      bool labels_changed;      bool labels_changed;
77      int nbDimensions;      int nbDimensions;
78    
79        int dimtype;
80        int dimzone;
81    
82      // information needed during a resize      // information needed during a resize
83      struct {      struct {
84          bool active;          bool active;
# Line 91  protected: Line 99  protected:
99      void update_after_resize();      void update_after_resize();
100    
101      int h;      int h;
102    
103        Glib::RefPtr<Gtk::ActionGroup> actionGroup;
104        Glib::RefPtr<Gtk::UIManager> uiManager;
105        Gtk::Menu* popup_menu_inside_dimregion;
106        Gtk::Menu* popup_menu_outside_dimregion;
107  };  };
108    
109  #endif  #endif

Legend:
Removed from v.2246  
changed lines
  Added in v.2556

  ViewVC Help
Powered by ViewVC