once more indent, after adding -TDialog and -TWidget

svn-id: r4474
This commit is contained in:
Max Horn 2002-07-07 17:49:25 +00:00
parent 6ad4d58996
commit 2d72eb552c
2 changed files with 9 additions and 9 deletions

View file

@ -115,8 +115,8 @@ enum {
kQuitCmd = 'QUIT' kQuitCmd = 'QUIT'
}; };
SaveLoadDialog::SaveLoadDialog(NewGui * gui) SaveLoadDialog::SaveLoadDialog(NewGui *gui)
:Dialog(gui, 30, 20, 260, 124) :Dialog (gui, 30, 20, 260, 124)
{ {
addResText(10, 7, 240, 16, 1); addResText(10, 7, 240, 16, 1);
// addResText(10, 7, 240, 16, 2); // addResText(10, 7, 240, 16, 2);
@ -151,8 +151,8 @@ void SaveLoadDialog::handleCommand(uint32 cmd)
#pragma mark - #pragma mark -
PauseDialog::PauseDialog(NewGui * gui) PauseDialog::PauseDialog(NewGui *gui)
:Dialog(gui, 50, 80, 220, 16) :Dialog (gui, 50, 80, 220, 16)
{ {
addResText(2, 2, 220, 16, 10); addResText(2, 2, 220, 16, 10);
} }

View file

@ -24,8 +24,8 @@
#include "newgui.h" #include "newgui.h"
Widget::Widget(Dialog * boss, int x, int y, int w, int 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) : _boss(boss), _x(x), _y(y), _w(w), _h(h), _id(0), _flags(0)
{ {
// Insert into the widget list of the boss // Insert into the widget list of the boss
_next = _boss->_firstWidget; _next = _boss->_firstWidget;
@ -67,8 +67,8 @@ void Widget::draw()
#pragma mark - #pragma mark -
StaticTextWidget::StaticTextWidget(Dialog * boss, int x, int y, int w, int h, const char *text) StaticTextWidget::StaticTextWidget(Dialog *boss, int x, int y, int w, int h, const char *text)
:Widget(boss, x, y, w, h) :Widget (boss, x, y, w, h)
{ {
// FIXME - maybe we should make a real copy of the string? // FIXME - maybe we should make a real copy of the string?
_text = text; _text = text;
@ -84,7 +84,7 @@ void StaticTextWidget::drawWidget(bool hilite)
#pragma mark - #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) :StaticTextWidget(boss, x, y, w, h, label), _cmd(cmd), _hotkey(0)
{ {
_flags = WIDGET_ENABLED | WIDGET_BORDER /* | WIDGET_CLEARBG */ ; _flags = WIDGET_ENABLED | WIDGET_BORDER /* | WIDGET_CLEARBG */ ;