载入中...
搜索中...
未找到
UiTween.h
浏览该文件的文档.
90 void animateHostPos(UIHostHandle host, float x, float y, float durationMs, const std::string &ease, float delayMs,
103 void animateHostSize(UIHostHandle host, float w, float h, float durationMs, const std::string &ease, float delayMs,
115 void animateHostOverlayAlpha(UIHostHandle host, float alpha, float durationMs, const std::string &ease,
129 [[nodiscard]] eve::Result<void> animateItemOpacity(UIHostHandle host, const std::string &id, float opacity,
146 [[nodiscard]] eve::Result<void> animateItemPos(UIHostHandle host, const std::string &id, float x, float y,
Move-only, checked operation results for the common layer.
Owns pending UI tweens and advances them against an injected clock. @ownership UI owns one driver; ha...
Definition UiTween.h:78
std::size_t hostTweenCount() const noexcept
Number of pending host tweens (tests / diagnostics).
Definition UiTween.h:166
std::size_t itemTweenCount() const noexcept
Number of pending item tweens (tests / diagnostics).
Definition UiTween.h:169
Definition Component.cpp:5
float evaluateUiEase(float t, const char *kind)
Evaluate a UI tween ease curve in [0,1].
Definition UiTween.cpp:35
double uiTweenWallClockMs()
Wall-clock milliseconds from steady_clock (presentation clock).
Definition UiTween.cpp:115