Skip to content

Commit 8102d67

Browse files
authored
Merge pull request #309 from scratchcpp/graphics_effect_block
Implement graphics effect blocks
2 parents b2f15f7 + f5f4fba commit 8102d67

File tree

9 files changed

+1052
-3
lines changed

9 files changed

+1052
-3
lines changed

include/scratchcpp/costume.h

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ class LIBSCRATCHCPP_EXPORT Costume : public Asset
4444
double graphicsEffectValue(IGraphicsEffect *effect) const;
4545
void setGraphicsEffectValue(IGraphicsEffect *effect, double value);
4646

47+
void clearGraphicsEffects();
48+
4749
Broadcast *broadcast();
4850

4951
protected:

include/scratchcpp/sprite.h

+2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ class LIBSCRATCHCPP_EXPORT Sprite : public Target
6969
double graphicsEffectValue(IGraphicsEffect *effect) const;
7070
void setGraphicsEffectValue(IGraphicsEffect *effect, double value);
7171

72+
void clearGraphicsEffects();
73+
7274
private:
7375
Target *dataSource() const override;
7476
void setXY(double x, double y);

0 commit comments

Comments
 (0)