mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Initial implementation of the TransitionView with manual smooth
transition interface.
This commit is contained in:
3
View.h
3
View.h
@@ -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_;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user