summaryrefslogtreecommitdiff
path: root/src/prefs.h
blob: d4e300ec60e4504d3abc951c4019e2b03f728b01 (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
#pragma once
#include <the_Foundation/string.h>

#include "ui/color.h"
#include "gmdocument.h"

/* User preferences */

iDeclareType(Prefs)

struct Impl_Prefs {
    iBool retainWindowSize;
    float uiScale;
    int zoomPercent;
    iBool useSystemTheme;
    enum iColorTheme theme;
    iString gopherProxy;
    iString httpProxy;
    iString downloadDir;
    /* Content */
    int lineWidth;
    iBool bigFirstParagraph;
    iBool forceLineWrap;
    enum iGmDocumentTheme docThemeDark;
    enum iGmDocumentTheme docThemeLight;
    float saturation;
};

iDeclareTypeConstruction(Prefs)