summaryrefslogtreecommitdiff
path: root/content/handlers/css/utils.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-05-06 21:21:44 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2019-05-06 21:21:44 +0100
commit7567f6407512acb44199a11b6496a614ca659fe2 (patch)
treeb1a1fbb8db51b3e8af3cccbc726180760378a192 /content/handlers/css/utils.h
parente02020198da093a4856b149c926668c32cfcc7a4 (diff)
downloadnetsurf-7567f6407512acb44199a11b6496a614ca659fe2.tar.gz
netsurf-7567f6407512acb44199a11b6496a614ca659fe2.tar.bz2
CSS: Extern the nscss_baseline_pixel_density value.
Front ends should be able to set this, or it should be a config option.
Diffstat (limited to 'content/handlers/css/utils.h')
-rw-r--r--content/handlers/css/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/handlers/css/utils.h b/content/handlers/css/utils.h
index c8f4c82f4..0e723f7f1 100644
--- a/content/handlers/css/utils.h
+++ b/content/handlers/css/utils.h
@@ -26,6 +26,9 @@
/** DPI of the screen, in fixed point units */
extern css_fixed nscss_screen_dpi;
+/** Medium screen density for device viewing distance. */
+extern css_fixed nscss_baseline_pixel_density;
+
/**
* Length conversion context data.
*/