summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-21 22:22:00 +0000
committerrubidium <rubidium@openttd.org>2009-03-21 22:22:00 +0000
commit69decac4065847ee5384ed68cc70c2d68bc3ddb4 (patch)
tree490f52839e2087bf44ad9edab6d75d9557f3525f /src/gfx.cpp
parent900364109597f02413e2f7a59e9b4e6cc9fdf97f (diff)
downloadopenttd-69decac4065847ee5384ed68cc70c2d68bc3ddb4.tar.xz
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index aef176151..cff729e96 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -484,32 +484,6 @@ int DrawString(int left, int right, int top, StringID str, TextColour colour, St
}
/**
- * Draw string right-aligned.
- *
- * @param x Right-most x position of the string
- * @param y Y position of the string
- * @param str String to draw
- * @param colour Colour used for drawing the string, see DoDrawString() for details
- */
-int DrawStringRightAligned(int x, int y, StringID str, TextColour colour)
-{
- return DrawString(0, x, y, str, colour, SA_RIGHT, false);
-}
-
-/**
- * Draw string right-aligned with a line underneath it.
- *
- * @param x Right-most x position of the string
- * @param y Y position of the string
- * @param str String to draw
- * @param colour Colour used for drawing the string, see DoDrawString() for details
- */
-int DrawStringRightAlignedUnderline(int x, int y, StringID str, TextColour colour)
-{
- return DrawString(0, x, y, str, colour, SA_RIGHT, true);
-}
-
-/**
* 'Correct' a string to a maximum length. Longer strings will be cut into
* additional lines at whitespace characters if possible. The string parameter
* is modified with terminating characters mid-string which are the