diff options
Diffstat (limited to 'src/prefs.h')
-rw-r--r-- | src/prefs.h | 29 |
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 | |||
9 | iDeclareType(Prefs) | ||
10 | |||
11 | struct 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 | |||
29 | iDeclareTypeConstruction(Prefs) | ||