www.pudn.com > cad3d.zip > IDrawable.h
/***************************************************************************
IDrawable.h - description
-------------------
begin : Tue Mar 26 2002
copyright : (C) 2002 by Martin Marinov
email : martin_marinov@hotmail.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef __IDrawable_h__
#define __IDrawable_h__
#include "Drawing/Drawing.h"
class DRAWING_API IDrawable
{
public:
virtual ~IDrawable() {};
//return true if the object changed in BeginDraw()
virtual bool ChangeBeforeDraw();
//arg is true if a draw cache is created during the draw process
virtual void ChangeAfterDraw(bool bCacheCreated);
};
#endif//__IDrawable_h__