commit 3c624138
Removed some functions that gave warnings and should not be used anyway (as they are not working properly)
Changed files
| M | source/code/Libs/NFont.cpp before |
diff --git a/source/code/Libs/NFont.cpp b/source/code/Libs/NFont.cpp
index d008c6c..7449efc 100644
--- a/source/code/Libs/NFont.cpp
+++ b/source/code/Libs/NFont.cpp
@@ -416,11 +416,6 @@ NFont::NFont()
init();
}
-NFont::NFont(const NFont& font)
-{
- init();
- // FIXME: Duplicate font data
-}
#ifdef NFONT_USE_SDL_GPU
NFont::NFont(TTF_Font* ttf)
@@ -484,13 +479,6 @@ NFont::~NFont()
FC_FreeFont(font);
}
-
-NFont& NFont::operator=(const NFont& font)
-{
- // FIXME: Duplicate font data
- return *this;
-}
-
void NFont::init()
{
font = FC_CreateFont();
@@ -1073,11 +1061,6 @@ void NFont::setBaseline()
}
-void NFont::setBaseline(Uint16 Baseline)
-{
-
-}
-
void NFont::setDefaultColor(const Color& color)
{
FC_SetDefaultColor(font, color.to_SDL_Color());