Show an explanation alert, and a score total.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29955 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0fc05339c8
commit
eb0703fac0
@ -80,8 +80,8 @@ process_refs(entry_ref dir, BMessage* refs, void* /*reserved*/)
|
||||
|
||||
|
||||
|
||||
//alert = new BAlert("Error", "Plop", "Ok");
|
||||
//alert->Go();
|
||||
alert = new BAlert("Error", "IconVader:\nClick on the icons to get points. Avoid symlinks!", "Ok");
|
||||
alert->Go();
|
||||
|
||||
|
||||
int32 score = 0;
|
||||
@ -122,6 +122,11 @@ process_refs(entry_ref dir, BMessage* refs, void* /*reserved*/)
|
||||
snooze(100000);
|
||||
}
|
||||
|
||||
BString scoreStr("You scored ");
|
||||
scoreStr << score << " points!";
|
||||
alert = new BAlert("Error", scoreStr.String(), "Cool!");
|
||||
alert->Go();
|
||||
|
||||
|
||||
status = B_ERROR;
|
||||
if (!msgr.LockTarget()) {
|
||||
|
Loading…
Reference in New Issue
Block a user