Implementation of the limbo area in Mixing view, to change update mode

of source (active or not) and suspend mediaplayer (enabled or not).
This commit is contained in:
brunoherbelin
2020-06-21 00:52:59 +02:00
parent 10d0a8c04b
commit 8684d6f2c2
15 changed files with 1055 additions and 495 deletions

2
View.h
View File

@@ -89,9 +89,11 @@ public:
Cursor grab (Source *s, glm::vec2 from, glm::vec2 to, std::pair<Node *, glm::vec2>) override;
void setAlpha (Source *s);
inline float limboScale() { return limbo_scale_; }
private:
uint textureMixingQuadratic();
float limbo_scale_;
};
class RenderView : public View