summaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs.h')
-rw-r--r--src/prefs.h50
1 files changed, 28 insertions, 22 deletions
diff --git a/src/prefs.h b/src/prefs.h
index 33ce8b41..a3993629 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -33,31 +33,37 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
33iDeclareType(Prefs) 33iDeclareType(Prefs)
34 34
35struct Impl_Prefs { 35struct Impl_Prefs {
36 int dialogTab; 36 /* UI state */
37 iBool retainWindowSize; 37 int dialogTab;
38 float uiScale; 38 /* Window */
39 int zoomPercent; 39 iBool useSystemTheme;
40 iBool smoothScrolling;
41 iBool useSystemTheme;
42 enum iColorTheme theme; 40 enum iColorTheme theme;
43 iString geminiProxy; 41 iBool retainWindowSize;
44 iString gopherProxy; 42 float uiScale;
45 iString httpProxy; 43 int zoomPercent;
46 iString downloadDir; 44 iBool sideIcon;
47 /* Content */ 45 /* Behavior */
48 enum iTextFont font; 46 iString downloadDir;
49 enum iTextFont headingFont; 47 iBool hoverOutline;
50 iBool monospaceGemini; 48 iBool smoothScrolling;
51 iBool monospaceGopher; 49 iBool loadImageInsteadOfScrolling;
52 int lineWidth; 50 /* Network */
53 iBool bigFirstParagraph; 51 iString geminiProxy;
54 iBool forceLineWrap; 52 iString gopherProxy;
55 iBool quoteIcon; 53 iString httpProxy;
56 iBool sideIcon; 54 /* Style */
57 iBool hoverOutline; 55 enum iTextFont font;
56 enum iTextFont headingFont;
57 iBool monospaceGemini;
58 iBool monospaceGopher;
59 int lineWidth;
60 iBool bigFirstParagraph;
61 iBool forceLineWrap;
62 iBool quoteIcon;
63 /* Colors */
58 enum iGmDocumentTheme docThemeDark; 64 enum iGmDocumentTheme docThemeDark;
59 enum iGmDocumentTheme docThemeLight; 65 enum iGmDocumentTheme docThemeLight;
60 float saturation; 66 float saturation;
61}; 67};
62 68
63iDeclareTypeConstruction(Prefs) 69iDeclareTypeConstruction(Prefs)