blob: a19cc0ca44545ce692c1c353ae0711f1bb27b3f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#pragma once
#include <the_Foundation/string.h>
#include "gmdocument.h"
#include "ui/color.h"
#include "ui/text.h"
/* User preferences */
iDeclareType(Prefs)
struct Impl_Prefs {
int dialogTab;
iBool retainWindowSize;
float uiScale;
int zoomPercent;
iBool useSystemTheme;
enum iColorTheme theme;
iString gopherProxy;
iString httpProxy;
iString downloadDir;
/* Content */
enum iTextFont font;
enum iTextFont headingFont;
int lineWidth;
iBool bigFirstParagraph;
iBool forceLineWrap;
iBool sideIcon;
iBool hoverOutline;
enum iGmDocumentTheme docThemeDark;
enum iGmDocumentTheme docThemeLight;
float saturation;
};
iDeclareTypeConstruction(Prefs)
|