Implement public API for high-DPI (#319)
* Implement public API for high-DPI #105 * Recover get_inner_size_points and get_inner_size_pixels and change their implementation assuming get_inner_size() returns size in pixels * Update changelog for high-DPI changes
This commit is contained in:
parent
eff3440482
commit
48902297b7
12 changed files with 78 additions and 15 deletions
|
|
@ -94,6 +94,11 @@ impl MonitorId {
|
|||
&MonitorId::Wayland(ref m) => m.get_position(),
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn get_hidpi_factor(&self) -> f32 {
|
||||
1.0
|
||||
}
|
||||
}
|
||||
|
||||
impl Window {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue