add comments to size
This commit is contained in:
parent
2096c37495
commit
b2146908cc
1 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,10 @@ pub enum WindowScalePolicy {
|
||||||
pub struct WindowOpenOptions {
|
pub struct WindowOpenOptions {
|
||||||
pub title: String,
|
pub title: String,
|
||||||
|
|
||||||
/// The logical size of the window
|
/// The logical size of the window.
|
||||||
|
///
|
||||||
|
/// These dimensions will be scaled by the scaling policy specified in `scale`. Mouse
|
||||||
|
/// coordinates will be translated back into logical coordinates.
|
||||||
pub size: Size,
|
pub size: Size,
|
||||||
|
|
||||||
/// The dpi scaling policy
|
/// The dpi scaling policy
|
||||||
|
|
Loading…
Add table
Reference in a new issue