slint/api/node/native
Tobias Hunger 53a3c72b57
api: Change logical/physical position and size on window (#1620)
* Add `RequestedSize` and `RequestedPosition` enum to enable asking for
  logical or physical size/position.
* Rename `Window::size()` to `Window::physical_size()`
* Make `Window::set_size(...)` take an `Into<RequestedSize>`
* Rename `Window::position()` to `Window::physical_position()`
* Make `Window::set_position(...)` take an `Into<RequestedPosition>`
* Change `WindowAdapter` and related classes to be able to handle
  requests being made in the either physical or logical units.

Implement this for C++, Rust and node.
2022-09-13 08:55:31 +02:00
..
build.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
Cargo.toml Bump version number to 0.3.0 2022-09-06 13:00:22 +02:00
js_model.rs Add a reset function to the model notifier 2022-04-14 14:06:34 +02:00
lib.rs api: Change logical/physical position and size on window (#1620) 2022-09-13 08:55:31 +02:00
persistent_context.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00