mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
C++: Api changes in the WindowAdapter
- s/physical_size/size/ (consistant with the slint::Window API) - remove const of virtual function (they don't need to be const and make implementation potentially easier) - Move the WindowProperties in it
This commit is contained in:
parent
465fe20478
commit
c47e6cd029
5 changed files with 83 additions and 87 deletions
|
@ -749,8 +749,7 @@ fn gen_platform(
|
|||
.with_include("slint_internal.h")
|
||||
.with_after_include(
|
||||
r"
|
||||
namespace slint::platform { struct WindowProperties; }
|
||||
namespace slint::cbindgen_private { using platform::WindowProperties; }
|
||||
namespace slint::cbindgen_private { struct WindowProperties; }
|
||||
",
|
||||
)
|
||||
.generate()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue