Initial implementation of the TransitionView with manual smooth

transition interface.
This commit is contained in:
brunoherbelin
2020-07-05 00:16:43 +02:00
parent 84cd772644
commit 2cf804ac2d
10 changed files with 240 additions and 116 deletions

3
View.h
View File

@@ -148,13 +148,14 @@ class TransitionView : public View
public:
TransitionView();
void draw () override;
void centerSource(Source *) override;
void update (float dt) override;
void zoom (float factor) override;
Cursor grab (Source *s, glm::vec2 from, glm::vec2 to, std::pair<Node *, glm::vec2> pick) override;
private:
float duration_;
class Surface *output_surface_;
};