diff options
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r-- | src/gmdocument.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h index e280bef8..b0a7df22 100644 --- a/src/gmdocument.h +++ b/src/gmdocument.h | |||
@@ -38,7 +38,7 @@ struct Impl_GmImageInfo { | |||
38 | enum iGmRunFlags { | 38 | enum iGmRunFlags { |
39 | startOfLine_GmRunFlag = iBit(1), | 39 | startOfLine_GmRunFlag = iBit(1), |
40 | endOfLine_GmRunFlag = iBit(2), | 40 | endOfLine_GmRunFlag = iBit(2), |
41 | siteBanner_GmRunlag = iBit(3), /* area reserved for the site banner */ | 41 | siteBanner_GmRunFlag = iBit(3), /* area reserved for the site banner */ |
42 | }; | 42 | }; |
43 | 43 | ||
44 | struct Impl_GmRun { | 44 | struct Impl_GmRun { |
@@ -62,6 +62,7 @@ enum iGmDocumentFormat { | |||
62 | plainText_GmDocumentFormat, | 62 | plainText_GmDocumentFormat, |
63 | }; | 63 | }; |
64 | 64 | ||
65 | void setThemeSeed_GmDocument (iGmDocument *, const iBlock *seed); | ||
65 | void setFormat_GmDocument (iGmDocument *, enum iGmDocumentFormat format); | 66 | void setFormat_GmDocument (iGmDocument *, enum iGmDocumentFormat format); |
66 | void setWidth_GmDocument (iGmDocument *, int width); | 67 | void setWidth_GmDocument (iGmDocument *, int width); |
67 | void setUrl_GmDocument (iGmDocument *, const iString *url); | 68 | void setUrl_GmDocument (iGmDocument *, const iString *url); |
@@ -74,6 +75,7 @@ typedef void (*iGmDocumentRenderFunc)(void *, const iGmRun *); | |||
74 | 75 | ||
75 | void render_GmDocument (const iGmDocument *, iRangei visRangeY, iGmDocumentRenderFunc render, void *); | 76 | void render_GmDocument (const iGmDocument *, iRangei visRangeY, iGmDocumentRenderFunc render, void *); |
76 | iInt2 size_GmDocument (const iGmDocument *); | 77 | iInt2 size_GmDocument (const iGmDocument *); |
78 | iInt2 sizeWithoutBanner_GmDocument (const iGmDocument *); | ||
77 | 79 | ||
78 | iRangecc findText_GmDocument (const iGmDocument *, const iString *text, const char *start); | 80 | iRangecc findText_GmDocument (const iGmDocument *, const iString *text, const char *start); |
79 | iRangecc findTextBefore_GmDocument (const iGmDocument *, const iString *text, const char *before); | 81 | iRangecc findTextBefore_GmDocument (const iGmDocument *, const iString *text, const char *before); |
@@ -88,6 +90,7 @@ enum iColorId linkColor_GmDocument (const iGmDocument *, iGmLinkId linkId); | |||
88 | const iTime * linkTime_GmDocument (const iGmDocument *, iGmLinkId linkId); | 90 | const iTime * linkTime_GmDocument (const iGmDocument *, iGmLinkId linkId); |
89 | iBool isMediaLink_GmDocument (const iGmDocument *, iGmLinkId linkId); | 91 | iBool isMediaLink_GmDocument (const iGmDocument *, iGmLinkId linkId); |
90 | const iString * title_GmDocument (const iGmDocument *); | 92 | const iString * title_GmDocument (const iGmDocument *); |
93 | iChar siteIcon_GmDocument (const iGmDocument *); | ||
91 | 94 | ||
92 | SDL_Texture * imageTexture_GmDocument (const iGmDocument *, uint16_t imageId); | 95 | SDL_Texture * imageTexture_GmDocument (const iGmDocument *, uint16_t imageId); |
93 | void imageInfo_GmDocument (const iGmDocument *, uint16_t imageId, iGmImageInfo *info_out); | 96 | void imageInfo_GmDocument (const iGmDocument *, uint16_t imageId, iGmImageInfo *info_out); |