Gravity: Style fix, rename msg parameter to message
This commit is contained in:
parent
ed18c89481
commit
60f8c91355
@ -87,9 +87,9 @@ ConfigView::AttachedToWindow()
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ConfigView::MessageReceived(BMessage* msg)
|
ConfigView::MessageReceived(BMessage* message)
|
||||||
{
|
{
|
||||||
switch (msg->what) {
|
switch (message->what) {
|
||||||
case MSG_COUNT:
|
case MSG_COUNT:
|
||||||
fParent->Config.ParticleCount = fCountSlider->Value();
|
fParent->Config.ParticleCount = fCountSlider->Value();
|
||||||
break;
|
break;
|
||||||
@ -99,6 +99,6 @@ ConfigView::MessageReceived(BMessage* msg)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
BView::MessageReceived(msg);
|
BView::MessageReceived(message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ public:
|
|||||||
ConfigView(Gravity* parent, BRect rect);
|
ConfigView(Gravity* parent, BRect rect);
|
||||||
|
|
||||||
void AttachedToWindow();
|
void AttachedToWindow();
|
||||||
void MessageReceived(BMessage* pbmMessage);
|
void MessageReceived(BMessage* message);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Gravity* fParent;
|
Gravity* fParent;
|
||||||
|
Loading…
Reference in New Issue
Block a user