aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
diff options
context:
space:
mode:
authorMax Horn2002-07-19 10:10:02 +0000
committerMax Horn2002-07-19 10:10:02 +0000
commit6d68c4a5453a028285d97f3f9578af7c93962082 (patch)
tree25dd305f960b95c6c49df46269854436ed450c30 /gui/widget.cpp
parent0992c619761143da772e5736c7376700b8038893 (diff)
downloadscummvm-rg350-6d68c4a5453a028285d97f3f9578af7c93962082.tar.gz
scummvm-rg350-6d68c4a5453a028285d97f3f9578af7c93962082.tar.bz2
scummvm-rg350-6d68c4a5453a028285d97f3f9578af7c93962082.zip
added khalek's about dialog (but changed the text items to be centered)
svn-id: r4600
Diffstat (limited to 'gui/widget.cpp')
-rw-r--r--gui/widget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp
index 8dc40e8740..b2967f85d2 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -76,8 +76,8 @@ void Widget::draw()
#pragma mark -
-StaticTextWidget::StaticTextWidget(Dialog *boss, int x, int y, int w, int h, const char *text)
- : Widget (boss, x, y, w, h), _label(0), _centred(false)
+StaticTextWidget::StaticTextWidget(Dialog *boss, int x, int y, int w, int h, const char *text, bool centred)
+ : Widget (boss, x, y, w, h), _label(0), _centred(centred)
{
_type = kStaticTextWidget;
setLabel(text);