summaryrefslogtreecommitdiff
path: root/ui/gtk/main.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-06-04 03:15:05 +0000
committerGuy Harris <guy@alum.mit.edu>2012-06-04 03:15:05 +0000
commiteb03bb0290d7facf2baa411e80c7fa34e58437df (patch)
treef84f279cf8f4dbbf2cd298a8f03468be418b2ce6 /ui/gtk/main.h
parent2d4bd31654a2bb5669a2cf01e91b88723540fbbb (diff)
downloadwireshark-eb03bb0290d7facf2baa411e80c7fa34e58437df.tar.gz
Add some more routines to main.c that handle updates to "auto scroll in
live capture" and colorization, so that the ones in main_menubar.c don't have to know about anything other than the main menubar. Move some toolbar routines that should only be used by routines in main.c into a main_toolbar_private.h header. svn path=/trunk/; revision=43053
Diffstat (limited to 'ui/gtk/main.h')
-rw-r--r--ui/gtk/main.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ui/gtk/main.h b/ui/gtk/main.h
index cee1b77099..8028a7f75d 100644
--- a/ui/gtk/main.h
+++ b/ui/gtk/main.h
@@ -314,6 +314,18 @@ extern void dfilter_combo_add_empty(void);
*/
extern void main_update_for_unsaved_changes(capture_file *cf);
+#ifdef HAVE_LIBPCAP
+/** Update various parts of the main window for a change in whether
+ * "auto scroll in live capture" is on or off.
+ *
+ * @param auto_scroll_live_in new state of "auto scroll in live capture"
+ */
+void main_auto_scroll_live_changed(gboolean auto_scroll_live_in);
+#endif
+
+/** Update parts of the main window for a change in colorization. */
+extern void main_colorize_changed(gboolean packet_list_colorize);
+
/** Quit the program.
*
* @return TRUE, if a file read is in progress