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

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

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

revision 1061 by persson, Sat Mar 3 12:20:08 2007 UTC revision 1090 by persson, Sat Mar 10 17:08:15 2007 UTC
# Line 44  protected: Line 44  protected:
44      virtual bool on_expose_event(GdkEventExpose* e);      virtual bool on_expose_event(GdkEventExpose* e);
45      virtual void on_size_request(GtkRequisition* requisition);      virtual void on_size_request(GtkRequisition* requisition);
46      virtual bool on_button_press_event(GdkEventButton* event);      virtual bool on_button_press_event(GdkEventButton* event);
47        virtual bool on_button_release_event(GdkEventButton* event);
48      virtual bool on_motion_notify_event(GdkEventMotion* event);      virtual bool on_motion_notify_event(GdkEventMotion* event);
49    
50  //    virtual void on_size_allocate(Gtk::Allocation& allocation);  //    virtual void on_size_allocate(Gtk::Allocation& allocation);
# Line 57  protected: Line 58  protected:
58    
59      gig::Instrument* instrument;      gig::Instrument* instrument;
60      gig::Region* region;      gig::Region* region;
61    
62        // information needed during a resize
63        struct {
64            bool active;
65            enum {
66                undecided,
67                moving_high_limit,
68                moving_low_limit
69            } mode;
70            int pos;
71            int min;
72            int max;
73            gig::Region* region;
74            gig::Region* prev_region;
75        } resize;
76    
77        bool cursor_is_resize;
78        bool is_in_resize_zone(double x, double y);
79    
80        int h1;
81        int width;
82  };  };
83    
84  #endif  #endif

Legend:
Removed from v.1061  
changed lines
  Added in v.1090

  ViewVC Help
Powered by ViewVC