aboutsummaryrefslogtreecommitdiffstats
path: root/src/os/windows.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2016-02-10 18:33:13 +0100
committertomaka <pierre.krieger1708@gmail.com>2016-02-10 18:33:13 +0100
commitc6c9ef4fca1e235572e34a6976df2482a14aae87 (patch)
tree6a16b4f7559cfb4504b7993df1a0d55632499c5e /src/os/windows.rs
parent86dd75f7e9b6078919387c356bca7dd1738d5777 (diff)
parentec76d991adc3522512f07935f78569dc4a9d089b (diff)
downloadglutin-c6c9ef4fca1e235572e34a6976df2482a14aae87.tar.gz
glutin-c6c9ef4fca1e235572e34a6976df2482a14aae87.zip
Merge pull request #702 from tomaka/platform-specific
Unlocks platform-specific attributes
Diffstat (limited to 'src/os/windows.rs')
-rw-r--r--src/os/windows.rs11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/os/windows.rs b/src/os/windows.rs
index e9ab056..02a76e2 100644
--- a/src/os/windows.rs
+++ b/src/os/windows.rs
@@ -2,8 +2,9 @@
use libc;
use Window;
+use WindowBuilder;
-/// Additional methods on `Window` that are specific to unix.
+/// Additional methods on `Window` that are specific to Windows.
pub trait WindowExt {
/// Returns a pointer to the `Window` object of xlib that is used by this window.
///
@@ -19,3 +20,11 @@ impl WindowExt for Window {
self.window.platform_window()
}
}
+
+/// Additional methods on `WindowBuilder` that are specific to Windows.
+pub trait WindowBuilderExt {
+
+}
+
+impl<'a> WindowBuilderExt for WindowBuilder<'a> {
+}