1/* 2 * Copyright 2010, Michael Lotz <mmlr@mlotz.ch>. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef TRUNCATE_STRING_H 6#define TRUNCATE_STRING_H 7 8#include <SupportDefs.h> 9 10void truncate_string(BString& string, uint32 mode, float width, 11 const float* escapementArray, float fontSize, float ellipsisWidth, 12 int32 numChars); 13 14#endif // TRUNCATE_STRING_H 15