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

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

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

revision 1089 by persson, Sat Mar 10 08:58:30 2007 UTC revision 1092 by persson, Sun Mar 11 15:21:58 2007 UTC
# Line 47  protected: Line 47  protected:
47      virtual bool on_expose_event(GdkEventExpose* e);      virtual bool on_expose_event(GdkEventExpose* e);
48      virtual void on_size_request(GtkRequisition* requisition);      virtual void on_size_request(GtkRequisition* requisition);
49      virtual bool on_button_press_event(GdkEventButton* event);      virtual bool on_button_press_event(GdkEventButton* event);
50  //    virtual bool on_key_press_event(GdkEventKey* event);      virtual bool on_button_release_event(GdkEventButton* event);
51  //    virtual bool on_focus_in_event(GdkEventFocus* event);      virtual bool on_motion_notify_event(GdkEventMotion* event);
52      virtual bool on_focus(Gtk::DirectionType direction);      virtual bool on_focus(Gtk::DirectionType direction);
53    
 //    virtual void on_size_allocate(Gtk::Allocation& allocation);  
   
54      Glib::RefPtr<Gdk::GC> gc;      Glib::RefPtr<Gdk::GC> gc;
55      Gdk::Color blue, red, black, white, green;      Gdk::Color blue, red, black, white, green;
56    
# Line 68  protected: Line 66  protected:
66      int dimvalue_to[256];      int dimvalue_to[256];
67      int label_width;      int label_width;
68      int nbDimensions;      int nbDimensions;
69    
70        // information needed during a resize
71        struct {
72            bool active;
73            enum {
74                none,
75                left,
76                right
77            } selected;
78            int pos;
79            int min;
80            int max;
81            int dimension;
82            int offset;
83        } resize;
84    
85        bool cursor_is_resize;
86        bool is_in_resize_zone(double x, double y);
87    
88        int h;
89        int w;
90  };  };
91    
92  #endif  #endif

Legend:
Removed from v.1089  
changed lines
  Added in v.1092

  ViewVC Help
Powered by ViewVC