1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 22:30:03 -04:00

Add module special_emojis with apple, linux, windows & github logos

This commit is contained in:
Emil Ernerfeldt
2021-02-20 16:07:42 +01:00
parent 9b58d5d4d9
commit 4e041185f1
3 changed files with 56 additions and 4 deletions

View File

@@ -95,7 +95,11 @@ impl WidgetGallery {
ui.end_row();
ui.add(doc_link_label("Hyperlink", "Hyperlink"));
ui.hyperlink_to(" egui home page", "https://github.com/emilk/egui");
use egui::special_emojis::GITHUB;
ui.hyperlink_to(
format!("{} egui home page", GITHUB),
"https://github.com/emilk/egui",
);
ui.end_row();
ui.add(doc_link_label("TextEdit", "TextEdit,text_edit"));