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

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

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

revision 1261 by persson, Thu Jul 5 17:12:20 2007 UTC revision 1262 by persson, Sun Jul 22 15:07:08 2007 UTC
# Line 54  protected: Line 54  protected:
54      gig::Region* get_region(int key);      gig::Region* get_region(int key);
55    
56      Glib::RefPtr<Gdk::GC> gc;      Glib::RefPtr<Gdk::GC> gc;
57      Gdk::Color blue, red, black, white, green, grey1;      Gdk::Color blue, red, grey1;
58    
59      void draw_region(int from, int to, const Gdk::Color& color);      void draw_region(int from, int to, const Gdk::Color& color);
60    
# Line 64  protected: Line 64  protected:
64      gig::Instrument* instrument;      gig::Instrument* instrument;
65      gig::Region* region;      gig::Region* region;
66    
67        void motion_resize_region(int x, int y);
68        void motion_move_region(int x, int y);
69    
70      // information needed during a resize      // information needed during a resize
71      struct {      struct {
72          bool active;          bool active;
# Line 79  protected: Line 82  protected:
82          gig::Region* prev_region;          gig::Region* prev_region;
83      } resize;      } resize;
84    
85        // information needed during a region move
86        struct {
87            bool active;
88            double from_x;
89            int pos;
90            bool touch_left;
91            bool touch_right;
92        } move;
93    
94      bool cursor_is_resize;      bool cursor_is_resize;
95      bool is_in_resize_zone(double x, double y);      bool is_in_resize_zone(double x, double y);
96    

Legend:
Removed from v.1261  
changed lines
  Added in v.1262

  ViewVC Help
Powered by ViewVC