Add project files.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#ifndef _CFONTHOLDER_HPP_
|
||||
#define _CFONTHOLDER_HPP_
|
||||
|
||||
/*** SDL Header Files ***/
|
||||
#include <SDL.h>
|
||||
#include <SDL_ttf.h>
|
||||
|
||||
/*** DLL Header File ***/
|
||||
#include "dllExport.h"
|
||||
|
||||
namespace TextTypeHelpers {
|
||||
class EXPORT_FROM_MYDLL cFontHolder
|
||||
{
|
||||
public:
|
||||
cFontHolder( TTF_Font* font, const unsigned long int size );
|
||||
~cFontHolder();
|
||||
///Sets
|
||||
|
||||
///Gets
|
||||
TTF_Font* getFont() const;
|
||||
const unsigned long int getSize() const;
|
||||
|
||||
private:
|
||||
TTF_Font* mp_font;// = nullptr
|
||||
unsigned long int m_size;// = 16
|
||||
};/// END CLASS DEFINITION cFontHolder
|
||||
}/// END NAMESPACE DEFINITION TextTypeHelpers
|
||||
#endif/// END IFNDEF _CFONTHOLDER_HPP_
|
||||
Reference in New Issue
Block a user