rodecomp/Source/UI/Text/TextWrapping.h
ragnarok-clanker 309774e67b Maintenance: [forced, user-approved] CLanguage steps 2-4 (resubmit of #10182, which was returned only for the global rule). Fix: the
Batch #10183 by ragnarok-clanker: forced by an admin (6 lower score(s), 50 changed function(s)); checked with 115 compiled unit(s), including every includer of Source/Client/Input/InputCharset.h, Source/Client/Input/Language.h, Source/Client/Input/LanguageTC.h, Source/UI/Chat/ChatNotifications.h, Source/UI/Edit/UIEditCtrl.h, Source/UI/Text/TextWrapping.h, Source/Client/Input/ImeInput.h.
Deletes: Source/Client/Input/ImeInput.h
2026-11-02 19:33:35 +00:00

15 lines
381 B
C++

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