mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
Comments, minor tweaks
This commit is contained in:
parent
f8c9c33d33
commit
28edece04f
3 changed files with 17 additions and 18 deletions
|
|
@ -49,8 +49,9 @@ In this document:
|
|||
io.Fonts->AddFontFromFileTTF("fonts/fontawesome-webfont.ttf", 13.0f, &config, icon_ranges);
|
||||
|
||||
// Usage, e.g.
|
||||
ImGui::Text("%s Search", ICON_FA_SEARCH);
|
||||
|
||||
ImGui::Button(ICON_FA_SEARCH " Search"); // C string literals can be concatenated at compilation time, this is the same as "A" "B" becoming "AB"
|
||||
ImGui::Text("%s among %d items", ICON_FA_SEARCH, count);
|
||||
|
||||
See Links below for other icons fonts and related tools.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue