libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / apps / resedit / PreviewColumn.cpp
blob408a357999a2ed5109b63f6b705d2d953b471bc8
1 /*
2 * Copyright (c) 2005-2010, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
5 * Author:
6 * DarkWyrm <darkwyrm@gmail.com>
7 */
8 #include "PreviewColumn.h"
9 #include "ResFields.h"
11 #include <stdio.h>
13 PreviewColumn::PreviewColumn(const char *title, float width,
14 float minWidth, float maxWidth)
15 : BTitledColumn(title, width, minWidth, maxWidth)
19 void
20 PreviewColumn::DrawField(BField* field, BRect rect, BView* parent)
22 PreviewField *pField = (PreviewField*)field;
23 pField->DrawField(rect, parent);
26 bool
27 PreviewColumn::AcceptsField(const BField* field) const
29 return dynamic_cast<const PreviewField*>(field);