diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-01 03:03:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-01 03:03:20 +0300 |
commit | 2b99faed52fbe595db858ee9434e479eb352576d (patch) | |
tree | 22a6f042800b53a74fa3b86a2ac27e833664143a /release/datafiles/userdef | |
parent | 1ec1797d35c28bb27e6bbadd0aec37641d7a2475 (diff) |
Cleanup: move defaults into U_default struct
Diffstat (limited to 'release/datafiles/userdef')
-rw-r--r-- | release/datafiles/userdef/userdef_default.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/release/datafiles/userdef/userdef_default.c b/release/datafiles/userdef/userdef_default.c index e539953092b..e41e801c2f2 100644 --- a/release/datafiles/userdef/userdef_default.c +++ b/release/datafiles/userdef/userdef_default.c @@ -64,13 +64,17 @@ const UserDef U_default = { .audiorate = 48000, .audioformat = 0x24, .audiochannels = 2, - .ui_scale = 1, + + .ui_scale = 1.0, .ui_line_width = 0, - .dpi = 75, - .dpi_fac = 0.0, /* run-time. */ + + /** Default so DPI is detected automatically. */ + .dpi = 0, + .dpi_fac = 0.0, .inv_dpi_fac = 0.0, /* run-time. */ .pixelsize = 1, .virtual_pixel = 0, + .scrollback = 256, .node_margin = 80, .transopts = USER_TR_TOOLTIPS, @@ -115,7 +119,10 @@ const UserDef U_default = { .vbocollectrate = 60, .textimeout = 120, .texcollectrate = 60, + + /** Clamped by half the systems memory. */ .memcachelimit = 4096, + .prefetchframes = 0, .pad_rot_angle = 15, .rvisize = 25, |