1 /* 2 * Copyright (c) 2008 Stephan Aßmus <superstippi@gmx.de>. All rights reserved. 3 * Distributed under the terms of the MIT/X11 license. 4 * 5 * Copyright (c) 1999 Mike Steed. You are free to use and distribute this software 6 * as long as it is accompanied by it's documentation and this copyright notice. 7 * The software comes with no warranty, etc. 8 */ 9 #ifndef STATUS_VIEW_H 10 #define STATUS_VIEW_H 11 12 #include <View.h> 13 #include <StringView.h> 14 #include <Rect.h> 15 16 17 struct FileInfo; 18 19 class StatusView: public BView { 20 public: 21 StatusView(BRect frame); 22 virtual ~StatusView(); 23 24 void Show(const FileInfo* info); 25 26 private: 27 BStringView* fPathView; 28 BStringView* fSizeView; 29 BStringView* fCountView; 30 const FileInfo* fCurrentFileInfo; 31 }; 32 33 34 #endif // STATUS_VIEW_H 35 36