1f75a7bf5SStephan Aßmus /* 2f75a7bf5SStephan Aßmus * Copyright (c) 2008 Stephan Aßmus <superstippi@gmx.de>. All rights reserved. 3f75a7bf5SStephan Aßmus * Distributed under the terms of the MIT/X11 license. 4f75a7bf5SStephan Aßmus * 5f75a7bf5SStephan Aßmus * Copyright (c) 1999 Mike Steed. You are free to use and distribute this software 6f75a7bf5SStephan Aßmus * as long as it is accompanied by it's documentation and this copyright notice. 7f75a7bf5SStephan Aßmus * The software comes with no warranty, etc. 8f75a7bf5SStephan Aßmus */ 9f75a7bf5SStephan Aßmus #ifndef INFO_WINDOW_H 10f75a7bf5SStephan Aßmus #define INFO_WINDOW_H 11f75a7bf5SStephan Aßmus 12*15676f3aSWim van der Meer 13f75a7bf5SStephan Aßmus #include <Window.h> 14f75a7bf5SStephan Aßmus 15f75a7bf5SStephan Aßmus 16f75a7bf5SStephan Aßmus struct FileInfo; 17f75a7bf5SStephan Aßmus 18f75a7bf5SStephan Aßmus class LeftView: public BView { 19f75a7bf5SStephan Aßmus public: 20f75a7bf5SStephan Aßmus LeftView(BRect frame, BBitmap* icon); 21f75a7bf5SStephan Aßmus virtual ~LeftView(); 22f75a7bf5SStephan Aßmus 23f75a7bf5SStephan Aßmus virtual void Draw(BRect updateRect); 24f75a7bf5SStephan Aßmus 25f75a7bf5SStephan Aßmus private: 26f75a7bf5SStephan Aßmus BBitmap* fIcon; 27f75a7bf5SStephan Aßmus }; 28f75a7bf5SStephan Aßmus 29f75a7bf5SStephan Aßmus 30f75a7bf5SStephan Aßmus class InfoWin: public BWindow { 31f75a7bf5SStephan Aßmus public: 32f75a7bf5SStephan Aßmus InfoWin(BPoint location, FileInfo* info, 33f75a7bf5SStephan Aßmus BWindow* parent); 34f75a7bf5SStephan Aßmus virtual ~InfoWin(); 35f75a7bf5SStephan Aßmus }; 36f75a7bf5SStephan Aßmus 37f75a7bf5SStephan Aßmus #endif // INFO_WINDOW_H 38