aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
diff options
context:
space:
mode:
authorMax Horn2002-07-07 17:49:25 +0000
committerMax Horn2002-07-07 17:49:25 +0000
commit2d72eb552ce648c9c46e16ae6b533996601aa9ac (patch)
tree370ed008329d32565960448fd3e781ad880d985f /gui/widget.cpp
parent6ad4d58996b06418c83b7a51efb5d0d27377d1e3 (diff)
downloadscummvm-rg350-2d72eb552ce648c9c46e16ae6b533996601aa9ac.tar.gz
scummvm-rg350-2d72eb552ce648c9c46e16ae6b533996601aa9ac.tar.bz2
scummvm-rg350-2d72eb552ce648c9c46e16ae6b533996601aa9ac.zip
once more indent, after adding -TDialog and -TWidget
svn-id: r4474
Diffstat (limited to 'gui/widget.cpp')
-rw-r--r--gui/widget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp
index a423529005..8384089541 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -24,8 +24,8 @@
#include "newgui.h"
-Widget::Widget(Dialog * boss, int x, int y, int w, int h)
-:_boss(boss), _x(x), _y(y), _w(w), _h(h), _id(0), _flags(0)
+Widget::Widget (Dialog *boss, int x, int y, int w, int h)
+: _boss(boss), _x(x), _y(y), _w(w), _h(h), _id(0), _flags(0)
{
// Insert into the widget list of the boss
_next = _boss->_firstWidget;
@@ -67,8 +67,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)
+StaticTextWidget::StaticTextWidget(Dialog *boss, int x, int y, int w, int h, const char *text)
+:Widget (boss, x, y, w, h)
{
// FIXME - maybe we should make a real copy of the string?
_text = text;
@@ -84,7 +84,7 @@ void StaticTextWidget::drawWidget(bool hilite)
#pragma mark -
-ButtonWidget::ButtonWidget(Dialog * boss, int x, int y, int w, int h, const char *label, uint32 cmd)
+ButtonWidget::ButtonWidget(Dialog *boss, int x, int y, int w, int h, const char *label, uint32 cmd)
:StaticTextWidget(boss, x, y, w, h, label), _cmd(cmd), _hotkey(0)
{
_flags = WIDGET_ENABLED | WIDGET_BORDER /* | WIDGET_CLEARBG */ ;