diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-11-25 12:50:46 -0600 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2017-12-07 19:00:35 +0000 |
commit | be8a40005328d74815491b3536b85fe9e532243e (patch) | |
tree | c74b76c0f462d6772be046cb6f07d669acbb045a /ui/tap-rtp-common.c | |
parent | f8b19c6eecbf241ecede5b85811a772469cea0df (diff) |
Qt: Use QTextLayout in ByteViewText.
Use QTextLayout to draw each line in ByteViewText instead of drawing
fragments ourselves. Build our pixel-to-byte-offset map when we draw our
first line, which should hopefully make it more accurate. This should
fix layout and hover issues on some systems.
Start moving common code to DataPrinter.
Mark prefs.gui_hex_dump_highlight_style GTK+ only.
Bug: 11844
Change-Id: Ifda16ae7dc1a5ea22570c0bfd0eb20cee621bfc9
Reviewed-on: https://code.wireshark.org/review/24717
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/tap-rtp-common.c')
0 files changed, 0 insertions, 0 deletions