1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
/*****************************************************************************/
/* */
/* SPLITMSG.H */
/* */
/* (C) 1993,94 Ullrich von Bassewitz */
/* Zwehrenbuehlstrasse 33 */
/* D-72070 Tuebingen */
/* EMail: uz@ibb.schwaben.com */
/* */
/*****************************************************************************/
// $Id$
//
// $Log$
//
//
#ifndef __SPLITMSG_H
#define __SPLITMSG_H
#include "listnode.h"
#include "rect.h"
#include "str.h"
/*****************************************************************************/
/* */
/*****************************************************************************/
ListNode<String> * SplitLine (String Text, Rect &Bounds, unsigned MinLen = 0);
// Split the given string into a list of lines. MinLen is used if any of the
// lines is requested to be centered. In this case, MinLen is the minimum
// length of the centered line (used in windows with header strings).
void ReleaseLines (ListNode<String> *Node);
// Release a line list build from SplitLine
// End of SPLITMSG.H
#endif
|