/[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 3105 by schoenebeck, Fri Feb 10 18:40:26 2017 UTC revision 3123 by schoenebeck, Tue Apr 25 20:45:54 2017 UTC
# Line 36  Line 36 
36  #include <set>  #include <set>
37  #include <map>  #include <map>
38    
39    #include "global.h"
40    
41  class DimRegionChooser : public Gtk::DrawingArea  class DimRegionChooser : public Gtk::DrawingArea
42  {  {
43  public:  public:
# Line 51  public: Line 53  public:
53      void get_dimregions(const gig::Region* region, bool stereo,      void get_dimregions(const gig::Region* region, bool stereo,
54                          std::set<gig::DimensionRegion*>& dimregs) const;                          std::set<gig::DimensionRegion*>& dimregs) const;
55      bool select_dimregion(gig::DimensionRegion* dimrgn);      bool select_dimregion(gig::DimensionRegion* dimrgn);
56        void select_next_dimzone();
57        void select_prev_dimzone();
58        void select_next_dimension();
59        void select_prev_dimension();
60    
61      // those 3 are ATM only relevant when resizing custom dimension region zones      // those 3 are ATM only relevant when resizing custom dimension region zones
62      void setModifyBothChannels(bool b);      void setModifyBothChannels(bool b);
# Line 73  protected: Line 79  protected:
79      void split_dimension_zone();      void split_dimension_zone();
80      void delete_dimension_zone();      void delete_dimension_zone();
81      void resetSelectedZones();      void resetSelectedZones();
82        void select_dimzone_by_dir(int dir);
83    
84      Gdk::RGBA red, black, white;      Gdk::RGBA red, black, white;
85    
# Line 87  protected: Line 94  protected:
94      bool modifyalldimregs;      bool modifyalldimregs;
95      bool modifyallregions;      bool modifyallregions;
96    
     //std::set<gig::DimensionRegion*> dimregs; ///< Reflects which dimension regions are currently selected.  
97      int focus_line;      int focus_line;
98      std::map<gig::dimension_t, std::set<int> > dimzones; ///< Reflects which zone(s) of the individual dimension are currently selected.      std::map<gig::dimension_t, std::set<int> > dimzones; ///< Reflects which zone(s) of the individual dimension are currently selected.
99      int label_width;      int label_width;
# Line 99  protected: Line 105  protected:
105      // i.e. keyboard arrow key navigation)      // i.e. keyboard arrow key navigation)
106      // NOTE: these may *not* necessarily currently be selected !      // NOTE: these may *not* necessarily currently be selected !
107      gig::dimension_t maindimtype;      gig::dimension_t maindimtype;
108      std::map<gig::dimension_t,int> maindimcase;      DimensionCase maindimcase;
109      int maindimregno;      int maindimregno;
110    
111      // information needed during a resize      // information needed during a resize

Legend:
Removed from v.3105  
changed lines
  Added in v.3123

  ViewVC Help
Powered by ViewVC