xref: /haiku/headers/private/interface/truncate_string.h (revision 1e60bdeab63fa7a57bc9a55b032052e95a18bd2c)
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 
10 void 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