28 lines
625 B
C++
28 lines
625 B
C++
#ifndef _CTEXTURE_HPP_
|
|
#define _CTEXTURE_HPP_
|
|
|
|
/*** SDL Header Files ***/
|
|
#include <SDL.h>
|
|
|
|
/*** Custom Header Files ***/
|
|
#include "../../VideoEngine/cImage.hpp"
|
|
#include "../../TextTypeEngine/cText.hpp"
|
|
|
|
/*** DLL Header File ***/
|
|
#include "dllExport.h"
|
|
|
|
namespace GUIHelpers {
|
|
class EXPORT_FROM_MYDLL cTexture : public VideoEngine::cImage
|
|
{
|
|
public:
|
|
cTexture();
|
|
~cTexture();
|
|
|
|
///Functions
|
|
SDL_Texture* GenerateTexture( const SDL_Rect& dimensions, TextTypeEngine::cText* text = nullptr );
|
|
|
|
private:
|
|
|
|
};/// END CLASS DEFINITION cTexture
|
|
}/// END NAMESPACE DEFINITION GUIEngine
|
|
#endif/// END IFNDEF _CTEXTURE_HPP_
|