2 * Copyright 2003-2009 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
7 * Axel Dörfler (axeld@pinc-software.de)
8 * Andrew McCall (mccall@digitalparadise.co.uk)
13 #include "MouseWindow.h"
18 #undef B_TRANSLATION_CONTEXT
19 #define B_TRANSLATION_CONTEXT "MouseApplication"
21 const char* kSignature
= "application/x-vnd.Haiku-Mouse";
24 MouseApplication::MouseApplication()
26 BApplication(kSignature
)
28 BRect
rect(0, 0, 397, 293);
29 MouseWindow
*window
= new MouseWindow(rect
);
35 MouseApplication::AboutRequested()
37 BAlert
* alert
= new BAlert("about",
38 B_TRANSLATE("...by Andrew Edward McCall"), B_TRANSLATE("Dig Deal"));
39 alert
->SetFlags(alert
->Flags() | B_CLOSE_ON_ESCAPE
);
48 main(int /*argc*/, char ** /*argv*/)