BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / apps / packageinstaller / PackageImageViewer.h
blob5f0484c3a7c4d2c2bdd382392b71904e072692b4
1 /*
2 * Copyright (c) 2007, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
5 * Author:
6 * Ɓukasz 'Sil2100' Zemczak <sil2100@vexillium.org>
7 */
8 #ifndef PACKAGE_IMAGE_VIEWER_H
9 #define PACKAGE_IMAGE_VIEWER_H
11 #include <View.h>
12 #include <Bitmap.h>
13 #include <DataIO.h>
15 #include "BlockingWindow.h"
18 class ImageView : public BView {
19 public:
20 ImageView(BPositionIO* image);
21 virtual ~ImageView();
23 virtual void AttachedToWindow();
24 virtual void Draw(BRect updateRect);
25 virtual void MouseUp(BPoint point);
27 private:
28 BBitmap* fImage;
32 class PackageImageViewer : public BlockingWindow {
33 public:
34 PackageImageViewer(BPositionIO* image);
36 private:
37 ImageView* fBackground;
41 #endif // PACKAGE_IMAGE_VIEWER_H