summaryrefslogtreecommitdiff
path: root/src/prefs.c
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.c
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.c')
-rw-r--r--src/prefs.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/prefs.c b/src/prefs.c
index 80b11c30..dc2bd601 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -24,21 +24,23 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
24 24
25void init_Prefs(iPrefs *d) { 25void init_Prefs(iPrefs *d) {
26 d->dialogTab = 0; 26 d->dialogTab = 0;
27 d->theme = dark_ColorTheme;
28 d->useSystemTheme = iTrue; 27 d->useSystemTheme = iTrue;
28 d->theme = dark_ColorTheme;
29 d->retainWindowSize = iTrue; 29 d->retainWindowSize = iTrue;
30 d->uiScale = 1.0f; /* default set elsewhere */
30 d->zoomPercent = 100; 31 d->zoomPercent = 100;
32 d->sideIcon = iTrue;
33 d->hoverOutline = iFalse;
31 d->smoothScrolling = iTrue; 34 d->smoothScrolling = iTrue;
32 d->forceLineWrap = iFalse; 35 d->loadImageInsteadOfScrolling = iFalse;
33 d->quoteIcon = iTrue;
34 d->font = nunito_TextFont; 36 d->font = nunito_TextFont;
35 d->headingFont = nunito_TextFont; 37 d->headingFont = nunito_TextFont;
36 d->monospaceGemini = iFalse; 38 d->monospaceGemini = iFalse;
37 d->monospaceGopher = iFalse; 39 d->monospaceGopher = iFalse;
38 d->lineWidth = 40; 40 d->lineWidth = 40;
39 d->bigFirstParagraph = iTrue; 41 d->bigFirstParagraph = iTrue;
40 d->sideIcon = iTrue; 42 d->forceLineWrap = iFalse;
41 d->hoverOutline = iFalse; 43 d->quoteIcon = iTrue;
42 d->docThemeDark = colorfulDark_GmDocumentTheme; 44 d->docThemeDark = colorfulDark_GmDocumentTheme;
43 d->docThemeLight = white_GmDocumentTheme; 45 d->docThemeLight = white_GmDocumentTheme;
44 d->saturation = 1.0f; 46 d->saturation = 1.0f;