00001 /*! \file 00002 \author victorien ferry & www.m4nkind.com 00003 \brief This file applies the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 , read file COPYING. 00004 */ 00005 #ifndef COM_M4NKIND_RenderTargetRectangle_H 00006 #define COM_M4NKIND_RenderTargetRectangle_H 00007 00008 #include "RenderTargetVirtual.h" 00009 #include "PackObjectReference.h" 00010 00011 /*! 00012 \class RenderTargetRectangle 00013 \ingroup BaseObjectInherited_VedaLib3DEngine 00014 \brief Define a screen rectangle to draw on, as the 00015 son of another drawing rectangle, in a hierarchy 00016 of rectangles. 00017 */ 00018 class RenderTargetRectangle : public RenderTargetVirtual 00019 { 00020 /*================================================================== 00021 PUBLIC 00022 ==================================================================*/ 00023 public: 00024 /*! 00025 \brief Constructor. There should only be members initialisation there. 00026 */ 00027 RenderTargetRectangle(void); 00028 00029 /*! 00030 \brief Class Inheritance Descriptors. Also forces a destructor. See BASEOBJECT_DECLARE_... in .cpp 00031 */ 00032 BASEOBJECT_DEFINE_CLASS(RenderTargetRectangle); 00033 /*================================================================== 00034 PROTECTED 00035 ==================================================================*/ 00036 protected: 00037 //! the RenderTargetRectangle that define the origin of the position. 00038 PackObjectReference mSer_PositionFather; 00039 //! the RenderTargetRectangle that define the clipping position of the clipping. 00040 //PackObjectReference mSer_ClippingFather; 00041 00042 /*! 00043 \brief Method that really build the object using the serializable parameters. 00044 Close() should close everything opened by Create(). 00045 \returnfalse if creation failed. 00046 */ 00047 virtual bool CreateInternal(void); 00048 #ifdef _ENGINE_EDITABLE_ 00049 /*! 00050 \brief that closes everything. Still, the object exist and can be rebuild the same using Create() 00051 */ 00052 //virtual void CloseInternal(void); 00053 #endif 00054 00055 }; 00056 #endif
/\/\ 4 N k ! N D _______ _ __ ___ _____ ___ _ _ ____ ___________ __//___ /________ |/ / ___________\_______/ \ / _ _ \/ _ / _ / _/_/____/ _ __ / / / / / / / \ \/ / / \ \ / \\___/___/___/ ¯ _____/_____/ ______\___/_____/\________\\ \________/_ ___ __ l____\ /elD! http://www.m4nkind.com \____/