From 6d68c4a5453a028285d97f3f9578af7c93962082 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 19 Jul 2002 10:10:02 +0000 Subject: added khalek's about dialog (but changed the text items to be centered) svn-id: r4600 --- gui/widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/widget.cpp') 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); -- cgit v1.2.3