mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02:00
Comments, minor tweaks
This commit is contained in:
@ -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.
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user