Move IconView from kits/interface to kits/shared.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41246 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jonas Sundström
2011-04-13 08:22:03 +00:00
parent 3c613df4ef
commit 73f559a4c7
5 changed files with 3 additions and 3 deletions
+27
View File
@@ -0,0 +1,27 @@
// Author: Michael Wilber
// Copyright (C) Haiku, uses the MIT license
#ifndef ICONVIEW_H
#define ICONVIEW_H
#include <Bitmap.h>
#include <Path.h>
#include <View.h>
class IconView : public BView {
public:
IconView(const BRect& frame, const char* name,
uint32 resize, uint32 flags);
~IconView();
virtual void Draw(BRect area);
bool DrawIcon(bool draw);
bool SetIcon(const BPath& path);
private:
BBitmap* fIconBitmap;
bool fDrawIcon;
};
#endif // #ifndef ICONVIEW_H