15 lines
386 B
C
15 lines
386 B
C
/*
|
|
* Copyright 2010, Michael Lotz <mmlr@mlotz.ch>. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef TRUNCATE_STRING_H
|
|
#define TRUNCATE_STRING_H
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
void truncate_string(BString& string, uint32 mode, float width,
|
|
const float* escapementArray, float fontSize, float ellipsisWidth,
|
|
int32 numChars);
|
|
|
|
#endif // TRUNCATE_STRING_H
|