From d4c0d96f1b9d4dea270b9513902a3b3aa370ded2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Mon, 5 Aug 2013 11:16:12 +0000 Subject: =?UTF-8?q?From=20=C3=98yvin=20Richardsen:=20-=20Added=20up/down?= =?UTF-8?q?=20scrolling=20in=20Flow=20Graph=20window.=20-=20Avoid=20segfau?= =?UTF-8?q?lt=20when=20mouse=20clicking=20below=20the=20last=20packet=20in?= =?UTF-8?q?=20the=20graph.=20-=20Fixed=20the=20Comment=20heading.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=51145 --- ui/gtk/graph_analysis.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/gtk/graph_analysis.h') 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; -- cgit v1.2.1