From a6463a575c64115dc1ab80ec9b350622778a8f9b Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 28 Nov 2012 21:30:22 +0200 Subject: [PATCH] Remove deprecated Font features --- source/font.cpp | 4 ---- source/font.h | 1 - 2 files changed, 5 deletions(-) diff --git a/source/font.cpp b/source/font.cpp index d03ce281..61534f0b 100644 --- a/source/font.cpp +++ b/source/font.cpp @@ -123,10 +123,6 @@ void Font::Loader::init() add("texture", &Loader::texture); add("texture", &Loader::texture_ref); add("glyph", &Loader::glyph); - - // Deprecated aliases - add("default_size", &Font::native_size); - add("texture_inline", &Loader::texture); } void Font::Loader::glyph(unsigned c) diff --git a/source/font.h b/source/font.h index 21c202d7..a6873aac 100644 --- a/source/font.h +++ b/source/font.h @@ -63,7 +63,6 @@ public: const Texture2D &get_texture() const; void add_glyph(unsigned, float, float, float, float, float, float, float, float, float); float get_native_size() const { return native_size; } - float get_default_size() const { return native_size; } // Deprecated float get_ascent() const { return ascent; } float get_descent() const { return descent; } -- 2.45.2