slint/examples/cpp/platform_native
Simon Hausmann 96d7bb132c reuse: remove glob for markdown files
Instead, place the copyright and license right into the source.

To satisfy reuse, this also removes the unnecessary MIT.txt
symlinks.
2023-08-17 08:55:28 +02:00
..
appview.cpp Move the C++ specific example to the examples/cpp directory 2023-07-31 12:58:38 +02:00
appview.h Move the C++ specific example to the examples/cpp directory 2023-07-31 12:58:38 +02:00
appwindow.slint Move the C++ specific example to the examples/cpp directory 2023-07-31 12:58:38 +02:00
CMakeLists.txt Move the C++ specific example to the examples/cpp directory 2023-07-31 12:58:38 +02:00
main.cpp Move the C++ specific example to the examples/cpp directory 2023-07-31 12:58:38 +02:00
README.md reuse: remove glob for markdown files 2023-08-17 08:55:28 +02:00
windowadapter_win.h Move the C++ specific example to the examples/cpp directory 2023-07-31 12:58:38 +02:00

This shows how one can use the Slint C++ platform API to integrate into any Windows application

  • main.cpp is basically a shell of an application written using the native WIN32 api.
  • appview.h is an interface that is used by the application to show a Slint Window. the implementation of this interface could even be in a plugin.
  • appview.cpp is the implementation of this interface and instantiate the UI made with Slint
  • windowadapter_win.h contains the glue code used to implement a Slint platform using native WIN32 API