Changed behavior of centered text drawing and added right allignment, as well.
authorRicardo Cruz <rick2@aeiou.pt>
Thu, 16 Sep 2004 15:04:18 +0000 (15:04 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Thu, 16 Sep 2004 15:04:18 +0000 (15:04 +0000)
commit07a60074d2369ec9f49754f15277f5242482df84
tree4bcaa5aa205b8abd53c45311dbf2d67eac7fa7b2
parent911457f379b724c629602ac8d0c21ffb23ca1a48
Changed behavior of centered text drawing and added right allignment, as well.
Added a new allignment argument for draw_text(). draw_text_center() is draw_text() with CENTER_ALLIGN in point Vector(screen->w/2, ...).

SVN-Revision: 1927
13 files changed:
lib/gui/button.cpp
lib/gui/menu.cpp
lib/video/drawing_context.cpp
lib/video/drawing_context.h
lib/video/font.cpp
lib/video/font.h
src/gameloop.cpp
src/gameobjs.cpp
src/high_scores.cpp
src/leveleditor.cpp
src/statistics.cpp
src/title.cpp
src/worldmap.cpp