Simon Hausmann
a98d4709be
Move printer demo and energy-monitor into new top-level demos/ folder
...
These are showing off use-cases for Slint, but they're not examples showing individual Slint features.
Also removed the old printerdemo while at it.
2024-10-25 12:09:32 +02:00
Simon Hausmann
e44f70c9df
Fix build on Linux where GLESv3 is not present
...
Only build the texture example if GLESv3 headers are found
2023-10-02 13:16:20 +02:00
Olivier Goffart
a34074db11
Move the C++ specific example to the examples/cpp directory
...
The platform ones are not experimental so move out of tests
2023-07-31 12:58:38 +02:00
Olivier Goffart
11dea135f7
Domain: slint-ui.com -> slint.dev
2023-06-16 10:55:08 +02:00
Aurindam Jana
e4338300de
Change license for examples to MIT ( #2887 )
2023-06-15 11:23:17 +02:00
Simon Hausmann
f51ca82f10
Add C++ API and example for borrowing OpenGL textures
2023-06-01 15:56:55 +02:00
Simon Hausmann
dd04e044d0
Fix build of C++ OpenGL underlay example
...
Test for the right feature flag and fix the compatibility feature names.
2023-05-23 17:26:45 +02:00
Simon Hausmann
4d502a9f96
Add a C++ version of the Virtual Keyboard example
2023-04-14 11:39:02 +02:00
Tobias Hunger
6934b7b779
cmake: Fix SLINT_EMBED_RESOURCES
...
* Do not use the initialize_from feature introduced in cmake 3.23
2023-03-27 16:18:05 +02:00
Tobias Hunger
52a70b7d89
cmake: Bump minimal cmake version to 3.23
2023-03-27 09:27:44 +02:00
Florian Blasius
e5bf4c05de
Add example for custom carousel widget ( #1739 )
...
Add a new example that contains a custom carousel widget
2022-10-18 14:01:17 +02:00
Olivier Goffart
8850959a2c
Rename the backend feature flags
2022-09-07 17:11:57 +02:00
Simon Hausmann
a7121a6177
Remove erroneous mention of SLINT_FEATURE_EVENTLOOP_WINIT_ALL
...
We used to have SLINT_FEATURE_BACKEND_GL_ALL, but when we introduced the
renderer and event loop distinction in the features, we removed the "all" suffix from
the event loop that includes x11 and wayland support.
2022-09-01 11:25:49 +02:00
Simon Hausmann
3619989fcc
Rename backend feature flags to accomodate more renderers
...
Split backend-gl-* into eventloop-winit-* and renderer-femtovg.
The old feature names are still available.
For consistency eventloop-qt and renderer-qt are aliases for backend-qt.
2022-07-26 17:43:51 +02:00
Simon Hausmann
df2d6442d4
Make it possible to disable the slint compiler from the CMake build
...
This isn't always needed, for example when using only the interpreter API,
and its dependency to native libraries on Linux (namely fontconfig) makes it difficult to cross-compile with
CMake.
While cargo is invoked correctly for the native binary build, the library search paths
coming from CMake will be target specific, not host specific.
So for now this provides a way of disabling the compiler.
2022-03-22 12:59:52 +01:00
Tobias Hunger
4230ac2572
Update copyright information to reflect name change
...
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00
Olivier Goffart
4115af88bd
Fixup previous merge
2022-02-04 17:43:15 +01:00
Simon Hausmann
125b90a64b
Merge remote-tracking branch 'origin/master' into wip/rename
...
Conflicts:
api/cpp/cbindgen.rs
api/cpp/include/slint.h
examples/CMakeLists.txt
examples/imagefilter/Cargo.toml
examples/plotter/main.rs
internal/backends/mcu/lib.rs
2022-02-04 16:47:20 +01:00
Simon Hausmann
0e6b4080d6
Add a Rust example that demonstrates GL rendering under a scene
2022-02-04 15:41:53 +01:00
Olivier Goffart
3594c20153
Replace SixtyFPS in many locations (Uppercase)
2022-02-02 15:49:18 +01:00
Simon Hausmann
b1a70f9e58
Rename the SixtyFPS CMake interface
2022-02-02 09:58:26 +01:00
Simon Hausmann
3509a18a28
Fix cmake warning in CI package test run
...
Add a project/cmake-minimum command
2022-01-24 19:46:27 +01:00
Simon Hausmann
f04dba363b
Extend the CI to test the cpack generated package on Linux
...
This builds all the examples against the package.
2022-01-18 18:08:28 +01:00