Files
hot-step-cpp-ROCm/engine/vendor/vst3sdk/vstgui4/vstgui/lib/animation/itimingfunction.h
T
2026-08-16 18:24:52 +07:00

27 lines
738 B
C++

// This file is part of VSTGUI. It is subject to the license terms
// in the LICENSE file found in the top-level directory of this
// distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
#pragma once
#include "../vstguibase.h"
namespace VSTGUI {
namespace Animation {
//-----------------------------------------------------------------------------
/// @brief Animation timing function interface
/// @ingroup new_in_4_0
//-----------------------------------------------------------------------------
class ITimingFunction
{
public:
virtual ~ITimingFunction () noexcept = default;
virtual float getPosition (uint32_t milliseconds) = 0;
virtual bool isDone (uint32_t milliseconds) = 0;
};
} // Animation
} // VSTGUI