2 * Copyright (C) 2008 Stephan Aßmus <superstippi@gmx.de>
3 * All rights reserved. Distributed under the terms of the MIT license.
14 MSG_TEST_FINISHED
= 'tstf',
15 MSG_TEST_CANCELED
= 'tstc'
22 class TestView
: public BView
{
24 TestView(BRect frame
, Test
* test
,
25 drawing_mode mode
, bool useClipping
,
26 const BMessenger
& target
);
28 virtual void AttachedToWindow();
29 virtual void Draw(BRect updateRect
);
38 class TestWindow
: public BWindow
{
40 TestWindow(BRect fame
, Test
* test
,
41 drawing_mode mode
, bool useClipping
,
42 const BMessenger
& target
);
44 virtual bool QuitRequested();
46 void SetAllowedToQuit(bool allowed
);
47 BView
* View() const { return fTestView
; }
54 #endif // TEST_WINDOW_H