ASPiK SDK
itimingfunction.h
1 // This file is part of VSTGUI. It is subject to the license terms
2 // in the LICENSE file found in the top-level directory of this
3 // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
4 
5 #ifndef __itimingfunction__
6 #define __itimingfunction__
7 
8 #include "../vstguibase.h"
9 
10 namespace VSTGUI {
11 namespace Animation {
12 
13 //-----------------------------------------------------------------------------
16 //-----------------------------------------------------------------------------
18 {
19 public:
20  virtual ~ITimingFunction () noexcept = default;
21 
22  virtual float getPosition (uint32_t milliseconds) = 0;
23  virtual bool isDone (uint32_t milliseconds) = 0;
24 };
25 
26 }} // namespaces
27 
28 #endif // __itimingfunction__
Animation timing function interface.
Definition: itimingfunction.h:17
Definition: customcontrols.cpp:8