wordwrap.h

musicmud-2.1.6/include/wordwrap.h · 412 B

From the archive musicmud2.1.6.tar.gz

Download the archive   « Back to the archive contents

#ifndef WORDWRAP_H
#define WORDWRAP_H

#include "charset.h"
#include "colour.h"

//! wordwrap /source/ for /width/ cols. initial indent of /indent/.
//! cset is the colour info. starting column (which will be updated) 
//! is *lastcol.
string wordwrap(const char *source, int width, int indent, 
		const colourinfo_t &cset, int *lastcol=0);

void unwordwrap(char *dest, const char *source, int bufsize);

#endif

Site Stats

Snippets: 1791
Codebases: 571