diff --git a/source/code/Libs/NFont.cpp b/source/code/Libs/NFont.cpp index 2e80c79..d1546e4 100644 --- a/source/code/Libs/NFont.cpp +++ b/source/code/Libs/NFont.cpp @@ -56,8 +56,8 @@ using std::list; #endif #define MIN(a,b) ((a) < (b)? (a) : (b)) -#define MAX(a,b) ((a) > (b)? (a) : (b)) - +#define MAX(a,b) ((a) > (b)? (a) : (b)) + #define NFONT_BUFFER_SIZE 1024 // vsnprintf replacement adapted from Valentin Milea: @@ -441,12 +441,6 @@ NFont::NFont() init(); } -NFont::NFont(const NFont& font) -{ - init(); - // FIXME: Duplicate font data -} - #ifdef NFONT_USE_SDL_GPU NFont::NFont(TTF_Font* ttf) { @@ -510,12 +504,6 @@ NFont::~NFont() } -NFont& NFont::operator=(const NFont& font) -{ - // FIXME: Duplicate font data - return *this; -} - void NFont::init() { font = FC_CreateFont(); @@ -1082,25 +1070,11 @@ void NFont::setLineSpacing(int LineSpacing) FC_SetLineSpacing(font, LineSpacing); } -void NFont::setBaseline() -{ - -} - -void NFont::setBaseline(Uint16 Baseline) -{ - -} - void NFont::setDefaultColor(const Color& color) { FC_SetDefaultColor(font, color.to_SDL_Color()); } -void NFont::enableTTFOwnership() -{ - -}