summaryrefslogtreecommitdiff
path: root/src/prefs.h
blob: bfc0c17422231ef0ee21ec034230e957b2650d30 (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
36
#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 quoteIcon;
    iBool sideIcon;
    iBool hoverOutline;
    enum iGmDocumentTheme docThemeDark;
    enum iGmDocumentTheme docThemeLight;
    float saturation;
};

iDeclareTypeConstruction(Prefs)