diff options
author | Max Horn | 2011-04-14 14:34:28 +0200 |
---|---|---|
committer | Max Horn | 2011-04-14 14:34:28 +0200 |
commit | 2e095e25f2435f0d066d2826176e394bda5c4a9c (patch) | |
tree | 81d2c4d9e26e4a7644087a13c61b785ae3e431c8 /engines/tsage/graphics.h | |
parent | 84184aabc00251374a181fe296487619afa779ed (diff) | |
download | scummvm-rg350-2e095e25f2435f0d066d2826176e394bda5c4a9c.tar.gz scummvm-rg350-2e095e25f2435f0d066d2826176e394bda5c4a9c.tar.bz2 scummvm-rg350-2e095e25f2435f0d066d2826176e394bda5c4a9c.zip |
ALL: centre -> center
Diffstat (limited to 'engines/tsage/graphics.h')
-rw-r--r-- | engines/tsage/graphics.h | 10 |
1 files changed, 5 insertions, 5 deletions
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); |