aboutsummaryrefslogtreecommitdiffstats
path: root/epan/prefs.h
diff options
context:
space:
mode:
authorsake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>2007-11-24 11:38:16 +0000
committersake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>2007-11-24 11:38:16 +0000
commit794d037da5577645c296b216508d12f59e1da89c (patch)
tree0944b3a1a037c65b5da06485b6aeb5312073d56e /epan/prefs.h
parent14d5bf70ef9ae1dd3893ddb50718292eaea63708 (diff)
This patch adds (ten) temporary coloring rules which will only live until Wireshark is
quit. Temporary coloring filters can be set by: - pressing <ctrl>-<digit> will create a conversation coloring filter based on the addresses of the currently selected packet (order TCP/UDP/IP/Ethernet) This can also be achieved from the "View|Colorize Conversation" menu. - Rightclicking on a packet in the packet-list will give the option to "Colorize Conversation" just as "Conversation Filter" does. - Rightclicking on an item in the packet-detail-list will give the option to "Colorize with filter" which works similar to "Apply as filter" Temporary filters can be cleared from the same menus or by pressing <ctrl>-<space>. This patch also adds an item to the above mentioned menu's to add a permanent color filter in the same way. The colors for the temporary coloring rules are now hardcoded as I do not know how to change the color of menu-items and therefore I chose to use icons to show the actual color of each of the ten temporary coloring rules. Is it at all possible to have different menu items in different colors? One other way of solving this is to recreate the icons on the fly after changing the colors. I will have a look into that once it is clear whether I can use different colors within the menu structure. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23560 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/prefs.h')
-rw-r--r--epan/prefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index 230361eea1..fe3f2e1a35 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -124,6 +124,8 @@ typedef struct _e_prefs {
gchar *gui_font_name2;
color_t gui_marked_fg;
color_t gui_marked_bg;
+ gchar *gui_colorized_fg;
+ gchar *gui_colorized_bg;
gboolean gui_geometry_save_position;
gboolean gui_geometry_save_size;
gboolean gui_geometry_save_maximized;