Olivier Goffart
b9c2dec922
API: seal the WindowAdaptor trait
...
And hide most of its functions in the sealed trait.
2022-08-30 22:21:24 +02:00
Tobias Hunger
3430a13bf8
API cleanup: Remove quit behavior parameter from run_event_loop
2022-08-30 08:34:45 +02:00
Olivier Goffart
cb8a59683f
Fix formating
2022-08-29 19:45:29 +02:00
Olivier Goffart
3ed8ca6fc8
Introduce MinimalSoftwareWindow
...
This simplifies the implementation of the pico and STM, as they both
have the same PlatformWindow implementation, and is likely to be the
same for every MCU
2022-08-29 19:45:29 +02:00
Tobias Hunger
10c3c9d16d
Api cleanup: Rename some remaining platform abstractions to platform
2022-08-29 16:53:47 +02:00
Tobias Hunger
88cf874d03
API cleanup: Rename create_window to create_window_adapter
2022-08-29 16:53:47 +02:00
Tobias Hunger
1e6ffeaa0f
API cleanup: Rename PlatformWindow to WindowAdapter
2022-08-29 16:53:47 +02:00
Tobias Hunger
53053683a1
API cleanup: Rename PlatformAbstraction to Platform
2022-08-29 13:26:36 +02:00
Tobias Hunger
3557e92a84
API cleanup: Fix typos in comments/documentation
2022-08-29 13:26:36 +02:00
Tobias Hunger
259457eff8
API cleanup: Fix typo in variable name
2022-08-29 13:26:36 +02:00
Tobias Hunger
13701b4b3f
API cleanup: Rename set_paltrom_abstraction to set_platform
2022-08-29 13:26:36 +02:00
Olivier Goffart
8fba65a282
Rename and expose the unsafe-single-threaded feature
2022-08-25 16:47:53 +02:00
Olivier Goffart
13c9c3bbab
Re-export the platform module as public api in slint::platform
...
Tweek some documentation
2022-08-24 14:28:51 +02:00
Olivier Goffart
c14e2d41d8
Rename PlatformAbstraction::event_loop_proxy to new_event_loop_proxy
2022-08-24 11:32:21 +02:00
Olivier Goffart
7417422e3c
Make the PlatformAbstraction not Send using a EventLoopProxy trait
...
This changes the way the platform abstraction is initialized
2022-08-24 11:32:21 +02:00
Olivier Goffart
2e5ab86bea
Rename backend module to platform
...
and the Backend trait into PlatfromAbstraction trait
2022-08-23 19:39:49 +02:00