Qt: Clean up the byte view hover highlight.
authorGerald Combs <gerald@wireshark.org>
Fri, 25 Nov 2016 17:42:26 +0000 (11:42 -0600)
committerGerald Combs <gerald@wireshark.org>
Sat, 26 Nov 2016 14:41:40 +0000 (14:41 +0000)
commitd0fa82b825c15fbd9f3b6037f3d9ad4fc78d87fd
treeaec265a8904f4c4b7bf73ff79ec639b99bb7eb42
parentff4b272180b4f52432dadb9c93f43d01a001900f
Qt: Clean up the byte view hover highlight.

Rename the text highlight enum "HighlightMode" to make its use and
intent more clear. Add a mode for the offset highlight instead of using
a separate variable. Use our palette to draw the hover highlight colors.
Add a note about colors to the Developer's Guide.

Change-Id: I488b2512a5058e17eb5b49c8ac55616100f32fbc
Reviewed-on: https://code.wireshark.org/review/18953
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
docbook/wsdg_src/WSDG_chapter_userinterface.asciidoc
ui/qt/byte_view_text.cpp
ui/qt/byte_view_text.h
ui/qt/color_utils.cpp
ui/qt/color_utils.h