Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
StaggerTimer.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 fuddlesworth
2// SPDX-License-Identifier: LGPL-2.1-or-later
3
4#pragma once
5
7#include <PhosphorAnimation/phosphoranimation_export.h>
8
9#include <QObject>
10
11#include <functional>
12
13namespace PhosphorAnimation {
14
61PHOSPHORANIMATION_EXPORT void applyStaggeredOrImmediate(QObject* parent, int count, SequenceMode sequenceMode,
62 int staggerInterval, const std::function<void(int)>& applyFn,
63 const std::function<void()>& onComplete = nullptr);
64
65} // namespace PhosphorAnimation
Definition AnimatedValue.h:31
PHOSPHORANIMATION_EXPORT void applyStaggeredOrImmediate(QObject *parent, int count, SequenceMode sequenceMode, int staggerInterval, const std::function< void(int)> &applyFn, const std::function< void()> &onComplete=nullptr)
Apply a sequence of operations, optionally cascaded with stagger.
SequenceMode
How a batch of animations starts. Numeric values match the historical wire format.
Definition Profile.h:21