载入中...
搜索中...
未找到
UiTween.h
浏览该文件的文档.
92 void animateHostPos(UIHostHandle host, float x, float y, float durationMs, const std::string &ease, float delayMs,
105 void animateHostSize(UIHostHandle host, float w, float h, float durationMs, const std::string &ease, float delayMs,
117 void animateHostOverlayAlpha(UIHostHandle host, float alpha, float durationMs, const std::string &ease,
131 [[nodiscard]] eve::Result<void> animateItemOpacity(UIHostHandle host, const std::string &id, float opacity,
148 [[nodiscard]] eve::Result<void> animateItemPos(UIHostHandle host, const std::string &id, float x, float y,
157 [[nodiscard]] eve::Result<void> animateItemValue(UIHostHandle host, const std::string &id, float value,
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:80
std::size_t hostTweenCount() const noexcept
Number of pending host tweens (tests / diagnostics).
Definition UiTween.h:177
std::size_t itemTweenCount() const noexcept
Number of pending item tweens (tests / diagnostics).
Definition UiTween.h:180
Definition Component.cpp:7
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
Non-owning node token; valid across property reconciliation, invalid after tree replacement....
Definition UIHost.h:25