rodecomp/Source/UI/Text/ItemLinkDisplay.h
ragnarok-clanker ae35da0248 Maintenance: [forced, user-approved] Family D2: remove fabricated ItemNaming / ItemNamingContext reference structs; their methods are
Batch #10201 by ragnarok-clanker: forced by an admin (14 lower score(s), 95 changed function(s)); checked with 256 compiled unit(s), including every includer of Source/Contents/Items/ItemInfo.h, Source/Contents/Items/ItemNaming.h, Source/UI/Shortcuts/ShortcutTooltip.h, Source/UI/Shortcuts/ShortcutUse.h, Source/UI/Text/ItemLinkDisplay.h, Source/UI/Text/UITextViewer.h, Source/UI/UIBasicCtrl.h.
2026-11-02 22:03:09 +00:00

22 lines
552 B
C++

#ifndef RAGNAROK_SOURCE_UI_TEXT_ITEMLINKDISPLAY_H
#define RAGNAROK_SOURCE_UI_TEXT_ITEMLINKDISPLAY_H
#include <string>
class CDC;
class FontCache;
struct TextLocale;
struct ItemLinkDisplay {
CDC& surface;
FontCache& fonts;
const TextLocale& locale;
const int& width;
bool Name(const std::string& encoded, std::string& output);
bool Next(std::string& remaining, std::string& encoded, unsigned& position, const char* original);
std::string Convert(const std::string& text);
std::string BracketName(const std::string& name);
};
#endif