rodecomp/Source/UI/TextWrapping.h
2026-10-24 00:35:19 +00:00

27 lines
485 B
C++

#ifndef RAGNAROK_SOURCE_UI_TEXTWRAPPING_H
#define RAGNAROK_SOURCE_UI_TEXTWRAPPING_H
#include <string>
#include <vector>
struct ItemDescriptions;
void WrapPlainText(
const char* text,
std::vector<std::string>& lines,
int width,
unsigned short codePage,
bool inlineCharset
);
void WrapRichText(
const char* text,
std::vector<std::string>& lines,
int width,
bool carriageReturns,
unsigned short codePage,
bool inlineCharset,
ItemDescriptions& items
);
#endif