X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Ftext.hpp;h=5a7f1b714fe121e33ff0e571d2d8b065ff414805;hb=fc73efa7ff699fe3c9c237845b6f4fda0d999862;hp=92a67fe18ed9edb419a2b140b0dd20a63a318eb8;hpb=5b7f9214cb929399f1a855ef5807018a9447d510;p=supertux.git diff --git a/src/scripting/text.hpp b/src/scripting/text.hpp index 92a67fe18..5a7f1b714 100644 --- a/src/scripting/text.hpp +++ b/src/scripting/text.hpp @@ -1,3 +1,22 @@ +// $Id$ +// +// SuperTux +// Copyright (C) 2006 Matthias Braun +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + #ifndef __TEXT_H__ #define __TEXT_H__ @@ -17,6 +36,7 @@ public: virtual void fade_in(float fadetime) = 0; virtual void fade_out(float fadetime) = 0; virtual void set_visible(bool visible) = 0; + virtual void set_centered(bool centered) = 0; }; }