summaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-09-21 08:19:02 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-09-21 08:19:02 +0300
commit9721a5f46bd2e3b1cc564cf615ef716658ef9c1a (patch)
treead5a5197991ef7e7d4a6a44c954f8f946a5e9463 /src/prefs.h
parentfb01da68c401287376699409858d2b0ec507e52b (diff)
Added Prefs; placeholders for new options
Diffstat (limited to 'src/prefs.h')
-rw-r--r--src/prefs.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/prefs.h b/src/prefs.h
new file mode 100644
index 00000000..d4e300ec
--- /dev/null
+++ b/src/prefs.h
@@ -0,0 +1,29 @@
1#pragma once
2#include <the_Foundation/string.h>
3
4#include "ui/color.h"
5#include "gmdocument.h"
6
7/* User preferences */
8
9iDeclareType(Prefs)
10
11struct Impl_Prefs {
12 iBool retainWindowSize;
13 float uiScale;
14 int zoomPercent;
15 iBool useSystemTheme;
16 enum iColorTheme theme;
17 iString gopherProxy;
18 iString httpProxy;
19 iString downloadDir;
20 /* Content */
21 int lineWidth;
22 iBool bigFirstParagraph;
23 iBool forceLineWrap;
24 enum iGmDocumentTheme docThemeDark;
25 enum iGmDocumentTheme docThemeLight;
26 float saturation;
27};
28
29iDeclareTypeConstruction(Prefs)