mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Session transition robust to user manipulation. New pannel to configure
parameters of transition.
This commit is contained in:
6
View.h
6
View.h
@@ -6,6 +6,7 @@
|
||||
#include "Scene.h"
|
||||
#include "FrameBuffer.h"
|
||||
class Source;
|
||||
class SessionSource;
|
||||
|
||||
class View
|
||||
{
|
||||
@@ -148,6 +149,10 @@ class TransitionView : public View
|
||||
public:
|
||||
TransitionView();
|
||||
|
||||
void attach(SessionSource *ts);
|
||||
class Session *detach();
|
||||
inline SessionSource * attached() { return transition_source_; }
|
||||
|
||||
void centerSource(Source *) override;
|
||||
void update (float dt) override;
|
||||
void zoom (float factor) override;
|
||||
@@ -156,6 +161,7 @@ public:
|
||||
private:
|
||||
float duration_;
|
||||
class Surface *output_surface_;
|
||||
SessionSource *transition_source_;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user