/* * Copyright (c) 2007, Haiku, Inc. * Distributed under the terms of the MIT license. * * Author: * Ɓukasz 'Sil2100' Zemczak */ #ifndef PACKAGE_IMAGE_VIEWER_H #define PACKAGE_IMAGE_VIEWER_H #include #include #include #include "BlockingWindow.h" class ImageView : public BView { public: ImageView(BPositionIO* image); virtual ~ImageView(); virtual void AttachedToWindow(); virtual void Draw(BRect updateRect); virtual void MouseUp(BPoint point); private: BBitmap* fImage; }; class PackageImageViewer : public BlockingWindow { public: PackageImageViewer(BPositionIO* image); private: ImageView* fBackground; }; #endif // PACKAGE_IMAGE_VIEWER_H