1 /* 2 * Copyright (c) 2005-2006, Haiku, Inc. 3 * Distributed under the terms of the MIT license. 4 * 5 * Author: 6 * DarkWyrm <darkwyrm@earthlink.net> 7 */ 8 #ifndef PREVIEW_COLUMN_H 9 #define PREVIEW_COLUMN_H 10 11 #include <ColumnTypes.h> 12 13 class PreviewColumn : public BTitledColumn 14 { 15 public: 16 PreviewColumn(const char *title, float width, 17 float minWidth, float maxWidth); 18 void DrawField(BField* field, BRect rect, BView* parent); 19 bool AcceptsField(const BField* field) const; 20 }; 21 22 #endif 23