/********************************************************************
*
* Created: 24/6/2015 12:18
*
* File: fsCScaleTransformationComponent.h
*
* Author: Martin P. King
*
* Purpose: Component to scale GUI root element
*
*********************************************************************/
#ifndef fsCScaleTransformationComponenthdr
#define fsCScaleTransformationComponenthdr
#include <fsCore/src/fsCUniqueId.h>
#include <fsAppCore/src/components/fsIComponent.h>
#include "fsITransformationComponent.h"
class fsCScaleTransformationComponent : public fsITransformationComponent
{
friend class fsCComponentFactory;
public:
static const fsCUniqueId mTypeId;
protected:
void updateTransform() override;
static fsIComponent* create(fsCEntity* pParent);
fsCScaleTransformationComponent(fsCEntity* pParent);
virtual ~fsCScaleTransformationComponent();<--- Destructor in derived class
private:
};
#endif