aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 1169513..d2aaf46 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -295,6 +295,8 @@ pub struct BuilderAttribs<'a> {
alpha_bits: Option<u8>,
stereoscopy: bool,
srgb: Option<bool>,
+ transparent: bool,
+ decorations: bool,
}
impl BuilderAttribs<'static> {
@@ -318,6 +320,8 @@ impl BuilderAttribs<'static> {
alpha_bits: None,
stereoscopy: false,
srgb: None,
+ transparent: false,
+ decorations: true,
}
}
}
@@ -346,6 +350,8 @@ impl<'a> BuilderAttribs<'a> {
alpha_bits: self.alpha_bits,
stereoscopy: self.stereoscopy,
srgb: self.srgb,
+ transparent: self.transparent,
+ decorations: self.decorations,
};
(new_attribs, sharing)