1 /* 2 * Copyright 2003-2010 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 <Entry.h> 14 #include <String.h> 15 #include <View.h> 16 17 18 class ShowImageStatusView : public BView { 19 public: 20 ShowImageStatusView(BRect rect, 21 const char* name, uint32 resizingMode, 22 uint32 flags); 23 24 virtual void Draw(BRect updateRect); 25 virtual void MouseDown(BPoint where); 26 27 void Update(const entry_ref& ref, 28 const BString& text); 29 30 private: 31 BString fText; 32 entry_ref fRef; 33 }; 34 35 36 #endif // SHOW_IMAGE_STATUS_VIEW_H 37