Skip to content

GLFW+OpenGL3 backend doesn't support font icons #396

Answered by xland
xland asked this question in Q&A
Discussion options

You must be logged in to vote

The answer:

//C++ 20  can not use u8 prefix directly
auto closeBtn = document->GetElementById("closeBtn");
closeBtn->SetInnerRML((const char*)u8"\ue6e7");
closeBtn->AddEventListener(Rml::EventId::Click, this);
ele->GetInnerRML() == std::string{ (const char*)u8"\ue6e5" }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant