summaryrefslogtreecommitdiff
path: root/src/gmdocument.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-08-05 16:30:34 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-08-05 16:30:34 +0300
commitf38a940d722064e4b3fb2df6a6c0bcc025383ca0 (patch)
treef3df6097a60b04ff324cf9105f9cb1a4dbd825c9 /src/gmdocument.h
parent2b1de0641335ab1a88aeafcc8911056f155e94c9 (diff)
Color palette theming
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r--src/gmdocument.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h
index b0a7df22..42639357 100644
--- a/src/gmdocument.h
+++ b/src/gmdocument.h
@@ -80,13 +80,21 @@ iInt2 sizeWithoutBanner_GmDocument (const iGmDocument *);
80iRangecc findText_GmDocument (const iGmDocument *, const iString *text, const char *start); 80iRangecc findText_GmDocument (const iGmDocument *, const iString *text, const char *start);
81iRangecc findTextBefore_GmDocument (const iGmDocument *, const iString *text, const char *before); 81iRangecc findTextBefore_GmDocument (const iGmDocument *, const iString *text, const char *before);
82 82
83enum iGmLinkPart {
84 icon_GmLinkPart,
85 text_GmLinkPart,
86 textHover_GmLinkPart,
87 domain_GmLinkPart,
88 visited_GmLinkPart,
89};
90
83const iGmRun * findRun_GmDocument (const iGmDocument *, iInt2 pos); 91const iGmRun * findRun_GmDocument (const iGmDocument *, iInt2 pos);
84const char * findLoc_GmDocument (const iGmDocument *, iInt2 pos); 92const char * findLoc_GmDocument (const iGmDocument *, iInt2 pos);
85const iGmRun * findRunAtLoc_GmDocument (const iGmDocument *, const char *loc); 93const iGmRun * findRunAtLoc_GmDocument (const iGmDocument *, const char *loc);
86const iString * linkUrl_GmDocument (const iGmDocument *, iGmLinkId linkId); 94const iString * linkUrl_GmDocument (const iGmDocument *, iGmLinkId linkId);
87uint16_t linkImage_GmDocument (const iGmDocument *, iGmLinkId linkId); 95uint16_t linkImage_GmDocument (const iGmDocument *, iGmLinkId linkId);
88int linkFlags_GmDocument (const iGmDocument *, iGmLinkId linkId); 96int linkFlags_GmDocument (const iGmDocument *, iGmLinkId linkId);
89enum iColorId linkColor_GmDocument (const iGmDocument *, iGmLinkId linkId); 97enum iColorId linkColor_GmDocument (const iGmDocument *, iGmLinkId linkId, enum iGmLinkPart part);
90const iTime * linkTime_GmDocument (const iGmDocument *, iGmLinkId linkId); 98const iTime * linkTime_GmDocument (const iGmDocument *, iGmLinkId linkId);
91iBool isMediaLink_GmDocument (const iGmDocument *, iGmLinkId linkId); 99iBool isMediaLink_GmDocument (const iGmDocument *, iGmLinkId linkId);
92const iString * title_GmDocument (const iGmDocument *); 100const iString * title_GmDocument (const iGmDocument *);