2 * Copyright (c) 2007, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
6 * Ćukasz 'Sil2100' Zemczak <sil2100@vexillium.org>
8 #ifndef PACKAGE_IMAGE_VIEWER_H
9 #define PACKAGE_IMAGE_VIEWER_H
15 #include "BlockingWindow.h"
18 class ImageView
: public BView
{
20 ImageView(BPositionIO
* image
);
23 virtual void AttachedToWindow();
24 virtual void Draw(BRect updateRect
);
25 virtual void MouseUp(BPoint point
);
32 class PackageImageViewer
: public BlockingWindow
{
34 PackageImageViewer(BPositionIO
* image
);
37 ImageView
* fBackground
;
41 #endif // PACKAGE_IMAGE_VIEWER_H