diff options
author | Eugene Sandulenko | 2020-01-03 00:49:48 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2020-01-03 00:50:24 +0100 |
commit | d9f6a0cf4d6a5765b73814738ca7662e1adea2cd (patch) | |
tree | 7af73bb8938e378bfa211fcd56b0a90ae39e23e8 /graphics/macgui/maceditabletext.h | |
parent | c3c23c28a194ac5e3a2b74d42530d8b05824b091 (diff) | |
download | scummvm-rg350-d9f6a0cf4d6a5765b73814738ca7662e1adea2cd.tar.gz scummvm-rg350-d9f6a0cf4d6a5765b73814738ca7662e1adea2cd.tar.bz2 scummvm-rg350-d9f6a0cf4d6a5765b73814738ca7662e1adea2cd.zip |
GRAPHICS: MACGUI: Further work on MacEditableText
Diffstat (limited to 'graphics/macgui/maceditabletext.h')
-rw-r--r-- | graphics/macgui/maceditabletext.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/macgui/maceditabletext.h b/graphics/macgui/maceditabletext.h index e81c497dfd..519052893f 100644 --- a/graphics/macgui/maceditabletext.h +++ b/graphics/macgui/maceditabletext.h @@ -52,9 +52,9 @@ struct SelectedText { class MacEditableText : public MacText, public MacWidget { public: - MacEditableText(Common::U32String s, MacWindow *parent, const MacFont *font, int fgcolor, int bgcolor, + MacEditableText(MacWindow *parent, int x, int y, int w, int h, Common::U32String s, const MacFont *font, int fgcolor, int bgcolor, int maxWidth = -1, TextAlign textAlignment = kTextAlignLeft, int interlinear = 0); - MacEditableText(const Common::String &s, MacWindow *parent, const MacFont *font, int fgcolor, int bgcolor, + MacEditableText(MacWindow *parent, int x, int y, int w, int h, const Common::String &s, const MacFont *font, int fgcolor, int bgcolor, int maxWidth = -1, TextAlign textAlignment = kTextAlignLeft, int interlinear = 0); // 0 pixels between the lines by default virtual ~MacEditableText(); @@ -65,8 +65,8 @@ public: virtual bool draw(ManagedSurface *g, bool forceRedraw = false); - void setTextWindowFont(const MacFont *macFont); - const MacFont *getTextWindowFont(); + void setTextFont(const MacFont *macFont); + const MacFont *getTextFont(); void appendText(Common::U32String str, const MacFont *macFont, bool skipAdd = false); void appendText(const Common::String &str, const MacFont *macFont, bool skipAdd = false); |