summaryrefslogtreecommitdiff
path: root/ui/gtk/graph_analysis.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2013-08-05 11:16:12 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2013-08-05 11:16:12 +0000
commitd4c0d96f1b9d4dea270b9513902a3b3aa370ded2 (patch)
tree90b30014e0188e7589ace35c31024c3a20c73ea1 /ui/gtk/graph_analysis.h
parent81f3faf1e8cc1f520f488897771e003109c2a71d (diff)
downloadwireshark-d4c0d96f1b9d4dea270b9513902a3b3aa370ded2.tar.gz
From Øyvin Richardsen:
- Added up/down scrolling in Flow Graph window. - Avoid segfault when mouse clicking below the last packet in the graph. - Fixed the Comment heading. svn path=/trunk/; revision=51145
Diffstat (limited to 'ui/gtk/graph_analysis.h')
-rw-r--r--ui/gtk/graph_analysis.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/gtk/graph_analysis.h b/ui/gtk/graph_analysis.h
index 7ae458874e..a34c5fa5c4 100644
--- a/ui/gtk/graph_analysis.h
+++ b/ui/gtk/graph_analysis.h
@@ -98,6 +98,8 @@ typedef struct _graph_analysis_dialog_data_t {
GdkPixmap *pixmap_tile_select;
#endif
GtkWidget *scroll_window;
+ GtkWidget *scroll_window_time; /**< to enable mouse scroll from this area */
+ GtkWidget *scroll_window_comments; /**< to enable mouse scroll from this area */
GtkWidget *v_scrollbar;
GtkAdjustment *v_scrollbar_adjustment;
GtkWidget *hpane;
@@ -105,6 +107,7 @@ typedef struct _graph_analysis_dialog_data_t {
int surface_height;
guint16 first_node; /**< the first node on the left to show in the screen */
guint32 first_item; /**< the first item (row) to show from the top */
+ guint32 last_item; /**< the last item displayed (for correct mouse scroll handling) */
guint32 selected_item; /**< the selected item */
display_items_t items[NUM_DISPLAY_ITEMS];
guint32 left_x_border;