libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / apps / patchbay / PatchWin.cpp
blob0ef094799b33dcca96921a7c3f2b8443d7d6d90a
1 /* PatchWin.cpp
2 * ------------
3 * Implements the main PatchBay window class.
5 * Copyright 2013, Haiku, Inc. All rights reserved.
6 * Distributed under the terms of the MIT License.
8 * Revisions by Pete Goodeve
10 * Copyright 1999, Be Incorporated. All Rights Reserved.
11 * This file may be used under the terms of the Be Sample Code License.
14 #include "PatchWin.h"
16 #include <Application.h>
18 #include "PatchView.h"
21 PatchWin::PatchWin()
23 BWindow(BRect(50, 50, 450, 450), "Patch Bay", B_TITLED_WINDOW, 0)
25 BRect r = Bounds();
26 fPatchView = new PatchView(r);
27 AddChild(fPatchView);
28 Show();
32 bool
33 PatchWin::QuitRequested()
35 be_app->PostMessage(B_QUIT_REQUESTED);
36 return true;