mirror of
https://github.com/storytold/winit.git
synced 2026-11-24 05:10:57 +01:00
Make WindowAttributes private (#2134)
* Make `WindowAttributes` private, and move its documentation * Reorder WindowAttributes title and fullscreen to match method order
This commit is contained in:
1 parent
eec84ade86
commit
44288f6280
14 files changed
+74
-98
No files matched your search
@@ -85,7 +85,7 @@ pub struct Window {
|
||||
}
|
||||
|
||||
impl Window {
|
||||
pub fn new<T: 'static>(
|
||||
pub(crate) fn new<T: 'static>(
|
||||
event_loop: &EventLoopWindowTarget<T>,
|
||||
w_attr: WindowAttributes,
|
||||
pl_attr: PlatformSpecificWindowBuilderAttributes,
|
||||
|
||||
@@ -112,7 +112,7 @@ pub enum ImeState {
|
||||
}
|
||||
|
||||
impl WindowState {
|
||||
pub fn new(
|
||||
pub(crate) fn new(
|
||||
attributes: &WindowAttributes,
|
||||
taskbar_icon: Option<Icon>,
|
||||
scale_factor: f64,
|
||||
|
||||
Reference in new issue
Block a user