Split sdlpp into smaller files

This commit is contained in:
2020-11-21 20:57:40 +01:00
parent 9890da4e06
commit 633502b189
30 changed files with 2082 additions and 0 deletions
+25
View File
@@ -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