X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Flyr_std%2Fxorpattern.h;h=760a6cbda83e9b9e14e81c8a446cac40cf09cb72;hb=73bd9cfa67d62a500d45bee844cf8cd863890109;hp=2408f37953f1c18bcf7a13d1feae5e82e4c97977;hpb=1905325be0aa16501c1a802b70da251fb5657b43;p=synfig.git diff --git a/synfig-core/trunk/src/modules/lyr_std/xorpattern.h b/synfig-core/trunk/src/modules/lyr_std/xorpattern.h index 2408f37..760a6cb 100644 --- a/synfig-core/trunk/src/modules/lyr_std/xorpattern.h +++ b/synfig-core/trunk/src/modules/lyr_std/xorpattern.h @@ -29,7 +29,7 @@ /* === H E A D E R S ======================================================= */ -#include +#include #include #include #include @@ -44,7 +44,7 @@ using namespace synfig; using namespace std; using namespace etl; -class XORPattern : public Layer +class XORPattern : public synfig::Layer_Composite, public synfig::Layer_NoDeform { SYNFIG_LAYER_MODULE_EXT @@ -60,6 +60,7 @@ public: virtual ValueBase get_param(const String ¶m)const; virtual Color get_color(Context context, const Point &pos)const; virtual Vocab get_param_vocab()const; + virtual synfig::Layer::Handle hit_check(synfig::Context context, const synfig::Point &point)const; }; /* === E N D =============================================================== */