mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
C++ Api to run a functor from a thread
This commit is contained in:
parent
7293129fe1
commit
aabd320e83
5 changed files with 111 additions and 14 deletions
|
@ -72,11 +72,3 @@ TEST_CASE("Property Tracker")
|
|||
REQUIRE(!tracker1.is_dirty());
|
||||
}
|
||||
|
||||
TEST_CASE("C++ Timers")
|
||||
{
|
||||
using namespace sixtyfps;
|
||||
|
||||
Timer testTimer(std::chrono::milliseconds(16), []() { sixtyfps::quit_event_loop(); });
|
||||
|
||||
sixtyfps::run_event_loop();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue