Large commit for implementation of load&save of MixingGroups

This commit is contained in:
Bruno
2021-03-07 19:27:00 +01:00
parent 56f0165d75
commit 7656113dcc
22 changed files with 525 additions and 132 deletions

View File

@@ -131,12 +131,17 @@ public:
void setMask (FrameBufferImage *img);
void storeMask (FrameBufferImage *img = nullptr);
// operations on depth
float depth () const;
void setDepth (float d);
// operations on alpha
float alpha () const;
void setAlpha (float a);
// groups for mixing
MixingGroup *mixingGroup() const { return mixinggroup_; }
struct hasNode: public std::unary_function<Source*, bool>
{
bool operator()(const Source* elem) const;
@@ -179,6 +184,7 @@ public:
float _to;
};
// class-dependent icon
virtual glm::ivec2 icon () const { return glm::ivec2(12, 11); }
// get the xml description text of a source