summaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-11-21 11:48:07 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-11-21 11:48:07 +0200
commit0b2b40a233c014e684f6efed0298efda02e7abf4 (patch)
treea1bc3a095b57279cd27b5ef65498b7c9a0fcf457 /src/prefs.h
parentc651680715f7549a0cdbdbb10d535cba2272d9d0 (diff)
Added option to load image instead of scrolling
One can now read through a page and load all inline images simply by repeatedly pressing Space or cursor down. Key repeat events do not trigger image loads.
Diffstat (limited to 'src/prefs.h')
-rw-r--r--src/prefs.h50
1 files changed, 28 insertions, 22 deletions
diff --git a/src/prefs.h b/src/prefs.h
index 33ce8b41..a3993629 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -33,31 +33,37 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
33iDeclareType(Prefs) 33iDeclareType(Prefs)
34 34
35struct Impl_Prefs { 35struct Impl_Prefs {
36 int dialogTab; 36 /* UI state */
37 iBool retainWindowSize; 37 int dialogTab;
38 float uiScale; 38 /* Window */
39 int zoomPercent; 39 iBool useSystemTheme;
40 iBool smoothScrolling;
41 iBool useSystemTheme;
42 enum iColorTheme theme; 40 enum iColorTheme theme;
43 iString geminiProxy; 41 iBool retainWindowSize;
44 iString gopherProxy; 42 float uiScale;
45 iString httpProxy; 43 int zoomPercent;
46 iString downloadDir; 44 iBool sideIcon;
47 /* Content */ 45 /* Behavior */
48 enum iTextFont font; 46 iString downloadDir;
49 enum iTextFont headingFont; 47 iBool hoverOutline;
50 iBool monospaceGemini; 48 iBool smoothScrolling;
51 iBool monospaceGopher; 49 iBool loadImageInsteadOfScrolling;
52 int lineWidth; 50 /* Network */
53 iBool bigFirstParagraph; 51 iString geminiProxy;
54 iBool forceLineWrap; 52 iString gopherProxy;
55 iBool quoteIcon; 53 iString httpProxy;
56 iBool sideIcon; 54 /* Style */
57 iBool hoverOutline; 55 enum iTextFont font;
56 enum iTextFont headingFont;
57 iBool monospaceGemini;
58 iBool monospaceGopher;
59 int lineWidth;
60 iBool bigFirstParagraph;
61 iBool forceLineWrap;
62 iBool quoteIcon;
63 /* Colors */
58 enum iGmDocumentTheme docThemeDark; 64 enum iGmDocumentTheme docThemeDark;
59 enum iGmDocumentTheme docThemeLight; 65 enum iGmDocumentTheme docThemeLight;
60 float saturation; 66 float saturation;
61}; 67};
62 68
63iDeclareTypeConstruction(Prefs) 69iDeclareTypeConstruction(Prefs)