mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-10-22 07:21:21 +00:00
GUI: info: hex dump: adjust color for frame flags
This commit is contained in:
parent
8ceffc7b00
commit
b2e2b6f744
@ -186,7 +186,7 @@ highlightBlockOrSimpleBlock(mtx::bits::reader_c &r,
|
||||
lines << Q("<span class=\"monospace\"> .....%1%2.</span> %3").arg(flags & 0x04 ? 1 : 0).arg(flags & 0x02 ? 1 : 0).arg(lacingName.toHtmlEscaped());
|
||||
lines << Q("<span class=\"monospace\"> .......%1</span> %2") .arg(flags & 0x01 ? 1 : 0) .arg(flags & 0x01 ? QY("Discardable").toHtmlEscaped() : QY("Not discardable").toHtmlEscaped());
|
||||
|
||||
highlights << ElementHighlighter::Highlight{ r.get_bit_position() / 8u - 1u, 1, "#000000", "#ecd1ec", lines.join(Q("<br>")) };
|
||||
highlights << ElementHighlighter::Highlight{ r.get_bit_position() / 8u - 1u, 1, "#000000", "#00cc00", lines.join(Q("<br>")) };
|
||||
|
||||
if (lacingValue == 0x00) {
|
||||
highlights << ElementHighlighter::Highlight{ r.get_bit_position() / 8u, r.get_remaining_bits() / 8u, "#000000", frameColor(0), QY("Frame").toHtmlEscaped() };
|
||||
|
Loading…
Reference in New Issue
Block a user