From 2d72eb552ce648c9c46e16ae6b533996601aa9ac Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 7 Jul 2002 17:49:25 +0000 Subject: once more indent, after adding -TDialog and -TWidget svn-id: r4474 --- gui/dialog.cpp | 8 ++++---- gui/widget.cpp | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gui/dialog.cpp b/gui/dialog.cpp index 953f1802eb..4523e473cd 100644 --- a/gui/dialog.cpp +++ b/gui/dialog.cpp @@ -115,8 +115,8 @@ enum { kQuitCmd = 'QUIT' }; -SaveLoadDialog::SaveLoadDialog(NewGui * gui) -:Dialog(gui, 30, 20, 260, 124) +SaveLoadDialog::SaveLoadDialog(NewGui *gui) +:Dialog (gui, 30, 20, 260, 124) { addResText(10, 7, 240, 16, 1); // addResText(10, 7, 240, 16, 2); @@ -151,8 +151,8 @@ void SaveLoadDialog::handleCommand(uint32 cmd) #pragma mark - -PauseDialog::PauseDialog(NewGui * gui) -:Dialog(gui, 50, 80, 220, 16) +PauseDialog::PauseDialog(NewGui *gui) +:Dialog (gui, 50, 80, 220, 16) { addResText(2, 2, 220, 16, 10); } 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 */ ; -- cgit v1.2.3