////////////////////////////////////////////////////////////////////////////////
//
//	File: GIFWindow.cpp
//
//	Date: December 1999
//
//	Author: Daniel Switkin
//
//	Copyright 2003 (c) by Daniel Switkin. This file is made publically available
//	under the BSD license, with the stipulations that this complete header must
//	remain at the top of the file indefinitely, and credit must be given to the
//	original author in any about box using this software.
//
////////////////////////////////////////////////////////////////////////////////

#include "GIFWindow.h"
#include "GIFView.h"
#include <Application.h>

GIFWindow::GIFWindow(BRect rect, const char *name) :
	BWindow(rect, name, B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE,
	B_CURRENT_WORKSPACE) {
	
	BRect r(Bounds());
	gifview = new GIFView(r, "GIFView");
	AddChild(gifview);
}

bool GIFWindow::QuitRequested() {
	be_app->PostMessage(B_QUIT_REQUESTED);
	return true;
}

