aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/macfontmanager.h
diff options
context:
space:
mode:
authorVelocityRa2017-04-09 00:05:56 +0300
committerEugene Sandulenko2017-07-17 23:45:22 +0200
commit3a2ce122888cad6656f6b67aa4dc637a8e262d5e (patch)
treed1bd0895fae996c9659cf7a5b6dca48352f27d97 /graphics/macgui/macfontmanager.h
parenta169c7efb3c80dafc9cfc2dccf2c31fcffe5be11 (diff)
downloadscummvm-rg350-3a2ce122888cad6656f6b67aa4dc637a8e262d5e.tar.gz
scummvm-rg350-3a2ce122888cad6656f6b67aa4dc637a8e262d5e.tar.bz2
scummvm-rg350-3a2ce122888cad6656f6b67aa4dc637a8e262d5e.zip
WAGE: Fix resizing and text selection bug
Revise/Simplify old optional text rendering Set things up a bit for selected text rendering Add MacTextWindow::clearText and MacTextWindow::setSelection Add MacTextWindow::appendText variant that accepts a MacFont
Diffstat (limited to 'graphics/macgui/macfontmanager.h')
-rw-r--r--graphics/macgui/macfontmanager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/macgui/macfontmanager.h b/graphics/macgui/macfontmanager.h
index c154b8ba66..20c645a7bd 100644
--- a/graphics/macgui/macfontmanager.h
+++ b/graphics/macgui/macfontmanager.h
@@ -77,9 +77,9 @@ public:
_font = NULL;
}
- int getId() { return _id; };
- int getSize() { return _size; }
- int getSlant() { return _slant; }
+ const int getId() const { return _id; };
+ const int getSize() const { return _size; }
+ const int getSlant() const { return _slant; }
Common::String getName() { return _name; }
void setName(Common::String &name) { _name = name; }
void setName(const char *name) { _name = name; }