diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-05-31 12:11:11 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-06-01 04:27:13 +0000 |
commit | 16c91568bb4daf63e536c5b1101f3530c177f21f (patch) | |
tree | 1f67f784befe8af5dfc8e4c4d6cde8413c0862fd /ui/tap-sequence-analysis.h | |
parent | 20a41839ab33f24a83b68c900b59421e03c658b8 (diff) | |
download | wireshark-16c91568bb4daf63e536c5b1101f3530c177f21f.tar.gz |
Qt: Color _ANY and _TCP sequence analysis items.
For SEQ_ANALYSIS_ANY, color each sequence diagram item according to its
associated packet. For SEQ_ANALYSIS_TCP, color each item according to
its stream.
Bug: 12065
Change-Id: Ib43490fe55039fbcfa793223b5850233a2694a26
Reviewed-on: https://code.wireshark.org/review/15651
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/tap-sequence-analysis.h')
-rw-r--r-- | ui/tap-sequence-analysis.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/tap-sequence-analysis.h b/ui/tap-sequence-analysis.h index fbebd2acbb..e505940720 100644 --- a/ui/tap-sequence-analysis.h +++ b/ui/tap-sequence-analysis.h @@ -58,7 +58,9 @@ typedef struct _seq_analysis_item { gchar *frame_label; /**< the label on top of the arrow */ gchar *time_str; /**< timestamp */ gchar *comment; /**< a comment that appears at the right of the graph */ - guint16 conv_num; /**< the conversation number, each conversation will be colored */ + guint16 conv_num; /**< The conversation number. Used for coloring VoIP calls. */ + unsigned fg_color; /**< Foreground color, 0xRRGGBB. Qt only. */ + unsigned bg_color; /**< Background color, 0xRRGGBB. Qt only. */ gboolean display; /**< indicate if the packet is displayed or not in the graph */ guint src_node; /**< this is used by graph_analysis.c to identify the node */ guint dst_node; /**< a node is an IP address that will be displayed in columns */ |