summaryrefslogtreecommitdiffstats
path: root/src/settings.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.rs')
-rw-r--r--src/settings.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/settings.rs b/src/settings.rs
index 62a1a614..e20edc97 100644
--- a/src/settings.rs
+++ b/src/settings.rs
@@ -9,6 +9,12 @@ pub struct Settings {
///
/// [`Window`]: struct.Window.html
pub window: Window,
+
+ /// The bytes of the font that will be used by default.
+ ///
+ /// If `None` is provided, a default system font will be chosen.
+ // TODO: Add `name` for web compatibility
+ pub default_font: Option<&'static [u8]>,
}
/// The window settings of an application.