aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-07-10 16:15:55 -0700
committerGerald Combs <gerald@wireshark.org>2015-07-11 00:41:01 +0000
commitd564ea9bea6ba07ac601ca555609677b498845dd (patch)
tree1410ba5423017cf45c959e302a30e919475d6c88 /color_filters.h
parent44408ed5d9f39f49e871f302c97a6044c0fe4e7e (diff)
Qt: Add Colorize Conversation menu items.
Add the "View→Colorize Conversation" menu similar to the GTK+ UI. Add the "Reset" item under the "Colorize Conversation" menu instead of the top-level "View" menu. Make sure the "Reset" shortcut is Ctrl+Space even on OS X. Normally Qt would convert it to Cmd+Space, but that's used by Spotlight. Add StockIcon::colorIcon and use it to create filled square icons. Change-Id: I2af9e26d025cdaf97482422bbb9440e28e18d1ac Reviewed-on: https://code.wireshark.org/review/9595 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'color_filters.h')
-rw-r--r--color_filters.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/color_filters.h b/color_filters.h
index 098d1c5833..04aafc87ec 100644
--- a/color_filters.h
+++ b/color_filters.h
@@ -87,6 +87,14 @@ color_filters_enable(gboolean enable);
void
color_filters_set_tmp(guint8 filt_nr, const gchar *filter, gboolean disabled);
+/** Get a temporary color filter.
+ *
+ * @param filter_num A number from 1 to 10 specifying the color to fetch.
+ * @return The corresponding color or NULL.
+ */
+const color_filter_t *
+color_filters_tmp_color(guint8 filter_num);
+
/** Reset the temporary color filters
*
*/