Removed the addons_screen references to the tab_stop method which were left behind
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
ebc1af345d
commit
395b000bee
@ -32,7 +32,6 @@ ScalableFont::ScalableFont(IGUIEnvironment *env, const io::path& filename)
|
||||
m_fallback_kerning_width = 0;
|
||||
m_fallback_font_scale = 1.0f;
|
||||
m_scale = 1.0f;
|
||||
m_tab_stop = 0.5f;
|
||||
m_is_hollow_copy = false;
|
||||
m_black_border = false;
|
||||
m_shadow = false;
|
||||
|
@ -61,9 +61,6 @@ class ScalableFont : public IGUIFontBitmap
|
||||
bool m_is_hollow_copy;
|
||||
bool m_rtl;
|
||||
|
||||
/** Position in range [0..1] of the single tab stop we support */
|
||||
float m_tab_stop;
|
||||
|
||||
public:
|
||||
|
||||
LEAK_CHECK()
|
||||
@ -145,9 +142,6 @@ public:
|
||||
|
||||
void updateRTL();
|
||||
|
||||
/** \param pos position of the tab stop, in range [0..1] */
|
||||
void setTabStop(float pos) { m_tab_stop = pos; }
|
||||
|
||||
private:
|
||||
|
||||
struct SFontArea
|
||||
|
@ -140,8 +140,6 @@ void AddonsScreen::init()
|
||||
|
||||
getWidget<GUIEngine::RibbonWidget>("category")->setDeactivated();
|
||||
|
||||
GUIEngine::getFont()->setTabStop(0.66f);
|
||||
|
||||
if(UserConfigParams::logAddons())
|
||||
std::cout << "[addons] Using directory <" + file_manager->getAddonsDir()
|
||||
<< ">\n";
|
||||
@ -188,8 +186,6 @@ void AddonsScreen::unloaded()
|
||||
|
||||
void AddonsScreen::tearDown()
|
||||
{
|
||||
// return tab stop to the center when leaving this screen!!
|
||||
GUIEngine::getFont()->setTabStop(0.5f);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user