X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=padding_effect.h;h=797db7e990eedf867ba17f3377e1a518c6c1de4d;hb=ac4fc36aa70ffefb6b9632dc0abea5cbbce5387b;hp=9e206ce89233f34fe43b6de6703a2cf4b4a83ae5;hpb=2322070a3dbeb6b46b39cca07a0fbf20e95f5468;p=movit diff --git a/padding_effect.h b/padding_effect.h index 9e206ce..797db7e 100644 --- a/padding_effect.h +++ b/padding_effect.h @@ -1,5 +1,5 @@ -#ifndef _PADDING_EFFECT_H -#define _PADDING_EFFECT_H 1 +#ifndef _MOVIT_PADDING_EFFECT_H +#define _MOVIT_PADDING_EFFECT_H 1 // Takes an image and pads it to fit a larger image, or crops it to fit a smaller one // (although the latter is implemented slightly less efficiently, and you cannot both @@ -12,6 +12,9 @@ // You may not change it after calling finalize(), since that could change the // graph (need_linear_light() etc. depend on the border color you choose). +#include +#include + #include "effect.h" class PaddingEffect : public Effect { @@ -36,4 +39,4 @@ private: float top, left; }; -#endif // !defined(_PADDING_EFFECT_H) +#endif // !defined(_MOVIT_PADDING_EFFECT_H)