From 2e095e25f2435f0d066d2826176e394bda5c4a9c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 14 Apr 2011 14:34:28 +0200 Subject: ALL: centre -> center --- engines/tsage/graphics.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/tsage/graphics.h') diff --git a/engines/tsage/graphics.h b/engines/tsage/graphics.h index b4ae20227e..c266d74bc5 100644 --- a/engines/tsage/graphics.h +++ b/engines/tsage/graphics.h @@ -48,9 +48,9 @@ public: void set(int16 x1, int16 y1, int16 x2, int16 y2); void collapse(int dx, int dy); - void centre(int dx, int dy); - void centre(const Rect &r); - void centre(const Common::Point &pt) { centre(pt.x, pt.y); } + void center(int dx, int dy); + void center(const Rect &r); + void center(const Common::Point &pt) { center(pt.x, pt.y); } void contain(const Rect &r); void resize(const GfxSurface &surface, int xp, int yp, int percent); void expandPanes(); @@ -115,7 +115,7 @@ public: static bool displayText(const Common::String &msg, const Common::Point &pt = Common::Point(160, 100)); }; -enum TextAlign {ALIGN_LEFT = 0, ALIGN_CENTRE = 1, ALIGN_RIGHT = 2, ALIGN_JUSTIFIED = 3}; +enum TextAlign {ALIGN_LEFT = 0, ALIGN_CENTER = 1, ALIGN_RIGHT = 2, ALIGN_JUSTIFIED = 3}; class GfxFont { friend class GfxFontBackup; @@ -325,7 +325,7 @@ public: void add(GfxElement *element); void addElements(GfxElement *ge, ...); void setTopLeft(int xp, int yp); - void setCentre(int xp, int yp); + void setCenter(int xp, int yp); void frame() { setDefaults(); _bounds.collapse(6, 6); -- cgit v1.2.3