summaryrefslogtreecommitdiff
path: root/src/prefs.h
blob: 324fb6fd0718280e474f1021095d272edd698c7f (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
#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 {
    iBool retainWindowSize;
    float uiScale;    
    int zoomPercent;
    iBool useSystemTheme;
    enum iColorTheme theme;
    iString gopherProxy;
    iString httpProxy;
    iString downloadDir;
    /* Content */
    enum iTextFont font;
    int lineWidth;
    iBool bigFirstParagraph;
    iBool forceLineWrap;
    iBool sideIcon;
    iBool hoverOutline;
    enum iGmDocumentTheme docThemeDark;
    enum iGmDocumentTheme docThemeLight;
    float saturation;
};

iDeclareTypeConstruction(Prefs)