xref: /haiku/src/apps/showimage/ShowImageStatusView.h (revision 9760dcae2038d47442f4658c2575844c6cf92c40)
1 /*
2  * Copyright 2003-2009 Haiku Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Fernando Francisco de Oliveira
7  *		Michael Wilber
8  */
9 #ifndef SHOW_IMAGE_STATUS_VIEW_H
10 #define SHOW_IMAGE_STATUS_VIEW_H
11 
12 
13 #include <String.h>
14 #include <View.h>
15 
16 
17 class ShowImageStatusView : public BView {
18 public:
19 					ShowImageStatusView(BRect rect, const char *name,
20 						uint32 resizingMode, uint32 flags);
21 
22 	virtual void 	Draw(BRect updateRect);
23 	virtual void 	MouseDown(BPoint where);
24 			void 	SetText(BString &text);
25 
26 private:
27 			BString fText;
28 };
29 
30 
31 #endif	// SHOW_IMAGE_STATUS_VIEW_H
32