47 |
protected: |
protected: |
48 |
#if (GTKMM_MAJOR_VERSION == 2 && GTKMM_MINOR_VERSION < 90) || GTKMM_MAJOR_VERSION < 2 |
#if (GTKMM_MAJOR_VERSION == 2 && GTKMM_MINOR_VERSION < 90) || GTKMM_MAJOR_VERSION < 2 |
49 |
virtual bool on_expose_event(GdkEventExpose* e); |
virtual bool on_expose_event(GdkEventExpose* e); |
50 |
#endif |
#else |
51 |
virtual bool on_draw(const Cairo::RefPtr<Cairo::Context>& cr); |
virtual bool on_draw(const Cairo::RefPtr<Cairo::Context>& cr); |
52 |
|
#endif |
53 |
virtual bool on_button_press_event(GdkEventButton* event); |
virtual bool on_button_press_event(GdkEventButton* event); |
54 |
virtual bool on_button_release_event(GdkEventButton* event); |
virtual bool on_button_release_event(GdkEventButton* event); |
55 |
virtual bool on_motion_notify_event(GdkEventMotion* event); |
virtual bool on_motion_notify_event(GdkEventMotion* event); |
68 |
int focus_line; |
int focus_line; |
69 |
int dimvalue[256]; |
int dimvalue[256]; |
70 |
int label_width; |
int label_width; |
71 |
|
bool labels_changed; |
72 |
int nbDimensions; |
int nbDimensions; |
73 |
|
|
74 |
// information needed during a resize |
// information needed during a resize |
88 |
|
|
89 |
bool cursor_is_resize; |
bool cursor_is_resize; |
90 |
bool is_in_resize_zone(double x, double y); |
bool is_in_resize_zone(double x, double y); |
91 |
|
void update_after_resize(); |
92 |
|
|
93 |
int h; |
int h; |
94 |
}; |
}; |