1/*
2 * Part of the MiniTerminal.
3 *
4 * Copyright 2005 Michael Lotz. All rights reserved.
5 * Distributed under the MIT License.
6 */
7
8#include "Arguments.h"
9#include "MiniView.h"
10#include "MiniWin.h"
11
12MiniWin::MiniWin(const Arguments &args)
13	:	BWindow(args.Bounds(), args.Title(), B_TITLED_WINDOW,
14			B_QUIT_ON_WINDOW_CLOSE)
15{
16	fView = new MiniView(args);
17	AddChild(fView);
18	fView->MakeFocus();
19}
20
21
22MiniWin::~MiniWin()
23{
24}
25
26
27MiniView *
28MiniWin::View()
29{
30	return fView;
31}
32