Split sdlpp into smaller files
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#ifndef SDLPP_HPP_FONT
|
||||
#define SDLPP_HPP_FONT
|
||||
|
||||
#include "sdlpp_common.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
namespace SDLPP {
|
||||
class Font {
|
||||
public:
|
||||
Font() = delete;
|
||||
Font( const std::string &font, int size );
|
||||
virtual ~Font();
|
||||
const TTF_Font *getFont() const;
|
||||
TTF_Font *getFont();
|
||||
void setOutline( int size );
|
||||
int getOutline();
|
||||
void setStyle( int style );
|
||||
void setHinting( int hinting );
|
||||
|
||||
private:
|
||||
TTF_Font *font_ptr;
|
||||
};
|
||||
} // namespace SDLPP
|
||||
#endif
|
||||
Reference in New Issue
Block a user