22 #ifndef TETRAEDGE_TE_TE_LAYOUT_H 23 #define TETRAEDGE_TE_TE_LAYOUT_H 25 #include "tetraedge/te/te_3d_object2.h" 26 #include "tetraedge/te/te_i_layout.h" 27 #include "tetraedge/te/te_i_3d_object2.h" 28 #include "tetraedge/te/te_matrix4x4.h" 29 #include "tetraedge/te/te_quaternion.h" 30 #include "tetraedge/te/te_vector2s32.h" 31 #include "tetraedge/te/te_vector3f32.h" 46 bool isAutoZEnabled();
54 bool onChildSizeChanged();
55 bool onParentSizeChanged();
56 bool onParentWorldTransformationMatrixChanged();
59 CoordinatesType positionType()
const;
61 RatioMode ratioMode()
const;
63 float safeAreaRatio()
const;
65 virtual void setEditionColor(
TeColor col) {};
66 void setMode(DrawMode mode);
69 void setPositionType(CoordinatesType newtype);
70 void setRatio(
float val);
71 void setRatioMode(RatioMode mode);
73 void setSafeAreaRatio(
float ratio);
76 void setSizeType(CoordinatesType coordtype);
77 void setZPosition(
float zpos)
override;
80 CoordinatesType sizeType()
const;
83 virtual void updateMesh() {};
84 void updatePosition();
85 virtual void updateSize();
86 void updateWorldMatrix();
87 void updateZ()
override;
94 bool worldVisible()
override;
95 float xSize()
override;
96 float ySize()
override;
97 float zSize()
override;
104 CoordinatesType _positionType;
106 CoordinatesType _sizeType;
112 bool _positionChanged;
113 bool _worldMatrixChanged;
114 bool _needZSizeUpdate;
119 bool _updatingPosition;
120 bool _updatingWorldMatrix;
122 RatioMode _ratioMode;
123 float _safeAreaRatio;
133 #endif // TETRAEDGE_TE_TE_LAYOUT_H Definition: detection.h:27
Definition: te_quaternion.h:32
Definition: te_color.h:30
Definition: te_i_layout.h:29
Definition: te_matrix4x4.h:37
Definition: te_3d_object2.h:36
Definition: te_layout.h:35
Definition: te_vector2s32.h:31
Definition: te_vector3f32.h:33