aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/text/text.h
diff options
context:
space:
mode:
authorMarisa-Chan2014-11-20 14:48:24 +0600
committerMarisa-Chan2014-11-20 14:48:24 +0600
commit5b352da304931bafcfcddbe08461488335c7ad57 (patch)
tree6d96693d9efdb59a16050d57c6003593d95a22a1 /engines/zvision/text/text.h
parentd5f7a1dc03f2a38774ad1c8dd6741bb9c6fb9848 (diff)
downloadscummvm-rg350-5b352da304931bafcfcddbe08461488335c7ad57.tar.gz
scummvm-rg350-5b352da304931bafcfcddbe08461488335c7ad57.tar.bz2
scummvm-rg350-5b352da304931bafcfcddbe08461488335c7ad57.zip
ZVISION: More CamelCase and a bit of comments cleanup
Diffstat (limited to 'engines/zvision/text/text.h')
-rw-r--r--engines/zvision/text/text.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/zvision/text/text.h b/engines/zvision/text/text.h
index 4b318fdef0..c2468383d3 100644
--- a/engines/zvision/text/text.h
+++ b/engines/zvision/text/text.h
@@ -56,8 +56,8 @@ public:
cTxtStyle();
txtReturn parseStyle(const Common::String &strin, int16 len);
void readAllStyle(const Common::String &txt);
- void setFontStyle(sTTFont &font);
- void setFont(sTTFont &font);
+ void setFontStyle(StyledTTFont &font);
+ void setFont(StyledTTFont &font);
public:
Common::String fontname;
@@ -78,13 +78,13 @@ public:
// char image ??
};
-class textRenderer {
+class TextRenderer {
public:
- textRenderer(ZVision *engine): _engine(engine) {};
+ TextRenderer(ZVision *engine): _engine(engine) {};
- void drawTxtWithJustify(const Common::String &txt, sTTFont &fnt, uint32 color, Graphics::Surface &dst, int lineY, txtJustify justify);
- int32 drawTxt(const Common::String &txt, cTxtStyle &fnt_stl, Graphics::Surface &dst);
- Graphics::Surface *render(sTTFont &fnt, const Common::String &txt, cTxtStyle &style);
+ void drawTxtWithJustify(const Common::String &txt, StyledTTFont &fnt, uint32 color, Graphics::Surface &dst, int lineY, txtJustify justify);
+ int32 drawTxt(const Common::String &txt, cTxtStyle &fontStyle, Graphics::Surface &dst);
+ Graphics::Surface *render(StyledTTFont &fnt, const Common::String &txt, cTxtStyle &style);
void drawTxtInOneLine(const Common::String &txt, Graphics::Surface &dst);
private: