mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Fix utf8 tooltips on web links
--HG-- branch : develop
This commit is contained in:
parent
8e1ada36b0
commit
2771185ef7
1 changed files with 2 additions and 2 deletions
|
@ -252,7 +252,7 @@ namespace NLGUI
|
||||||
|
|
||||||
if (vLink->getMouseOverShape(tooltip, rot, col))
|
if (vLink->getMouseOverShape(tooltip, rot, col))
|
||||||
{
|
{
|
||||||
setString(ucstring(tooltip));
|
setString(ucstring::makeFromUtf8(tooltip));
|
||||||
sint32 texId = rVR.getTextureIdFromName ("curs_pick.tga");
|
sint32 texId = rVR.getTextureIdFromName ("curs_pick.tga");
|
||||||
|
|
||||||
CInterfaceGroup *stringCursor = hwMouse ? _StringCursorHardware : _StringCursor;
|
CInterfaceGroup *stringCursor = hwMouse ? _StringCursorHardware : _StringCursor;
|
||||||
|
@ -408,7 +408,7 @@ namespace NLGUI
|
||||||
splitString(tooltipInfos, "@", tooltipInfosList);
|
splitString(tooltipInfos, "@", tooltipInfosList);
|
||||||
texName = tooltipInfosList[0];
|
texName = tooltipInfosList[0];
|
||||||
tooltip = tooltipInfosList[1];
|
tooltip = tooltipInfosList[1];
|
||||||
setString(ucstring(tooltip));
|
setString(ucstring::makeFromUtf8(tooltip));
|
||||||
CViewRenderer &rVR = *CViewRenderer::getInstance();
|
CViewRenderer &rVR = *CViewRenderer::getInstance();
|
||||||
sint32 texId = rVR.getTextureIdFromName (texName);
|
sint32 texId = rVR.getTextureIdFromName (texName);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue