summaryrefslogtreecommitdiffstats
path: root/src/messageview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/messageview.h')
-rw-r--r--src/messageview.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/messageview.h b/src/messageview.h
index 63fd6d8..422869a 100644
--- a/src/messageview.h
+++ b/src/messageview.h
@@ -23,6 +23,7 @@
#include <QWidget>
#include "htmlbuilder.h"
+#include "marks.h"
#include "mimeparser.h"
class QLabel;
@@ -175,6 +176,10 @@ protected:
private:
void render();
void updateHeader();
+
+ /// One header mark as an <img> data: URI, sized and coloured to the header
+ /// label's own font and palette. Empty when the mark cannot be rendered.
+ QString headerMark(Marks::Mark mark) const;
void setDocument(const QString &html);
/// Rebuilds the attachment bar from m_items. Called from render(), so a