Changed the value of CENTER_OF_SCREEN to be lower than the smallest possible scrolling value.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
93c766796f
commit
53e57bbd10
@ -31,7 +31,8 @@ private:
|
||||
fntRenderer *m_text_out;
|
||||
|
||||
public:
|
||||
const static int CENTER_OF_SCREEN=-1;
|
||||
//CENTER_OF_SCREEN has to be bigger or smaller than Widget::MAX_SCROLL
|
||||
const static int CENTER_OF_SCREEN=-1000001;
|
||||
enum FontSize {SMALL=18, MEDIUM=24, LARGE=30 };
|
||||
Font(const char* fontname);
|
||||
Font(const std::string &fontname) { Font(fontname.c_str()); }
|
||||
|
Loading…
Reference in New Issue
Block a user