22 #ifndef TETRAEDGE_TE_TE_TILED_SURFACE_H 23 #define TETRAEDGE_TE_TE_TILED_SURFACE_H 25 #include "common/ptr.h" 26 #include "common/path.h" 28 #include "tetraedge/te/te_model.h" 29 #include "tetraedge/te/te_frame_anim.h" 30 #include "tetraedge/te/te_image.h" 31 #include "tetraedge/te/te_3d_texture.h" 32 #include "tetraedge/te/te_tiled_texture.h" 33 #include "tetraedge/te/te_i_codec.h" 34 #include "tetraedge/te/te_intrusive_ptr.h" 43 virtual int bufferSize() {
return 1; }
46 virtual void entry() {};
49 bool load(
const TeImage &image);
52 bool onFrameAnimCurrentFrameChanged();
56 void setBottomCropping(
float val) {
60 void setLeftCropping(
float val) {
64 void setRightCropping(
float val) {
68 void setTopCropping(
float val) {
73 virtual void setBufferSize(
long bufSz) {};
75 void setColorKey(
const TeColor &col);
76 void setColorKeyActivated(
bool val);
77 void setColorKeyTolerence(
float val);
82 void update(
const TeImage &image);
84 void updateVideoProperties();
86 const Common::Path &loadedPath()
const {
return _loadedPath; }
87 void setLoadedPath(
const Common::Path &p) { _loadedPath = p; }
102 bool _colorKeyActive;
103 float _colorKeyTolerence;
107 TeImage::Format _imgFormat;
115 #endif // TETRAEDGE_TE_TE_TILED_SURFACE_H Definition: te_image.h:40
Definition: detection.h:27
Definition: te_color.h:30
Definition: te_model.h:44
Definition: te_frame_anim.h:30
Definition: te_intrusive_ptr.h:31
Definition: te_i_codec.h:34
Definition: te_tiled_surface.h:38