2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef TABLE_CELL_VALUE_RENDERER_UTILS_H
6 #define TABLE_CELL_VALUE_RENDERER_UTILS_H
9 #include <InterfaceDefs.h>
16 class TableCellValueRendererUtils
{
18 static void DrawString(BView
* view
, BRect rect
,
21 enum alignment alignment
,
22 bool truncate
= false);
23 static float PreferredStringWidth(BView
* view
,
28 #endif // TABLE_CELL_VALUE_RENDERER_UTILS_H