mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Add module special_emojis with apple, linux, windows & github logos
This commit is contained in:
@@ -238,3 +238,43 @@ macro_rules! github_link_file {
|
||||
$crate::Hyperlink::new(url).text($label)
|
||||
}};
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
/// egui supports around 1216 emojis in total.
|
||||
/// Here are some of the most useful:
|
||||
/// ∞⊗⎗⎘⎙⏏⏴⏵⏶⏷
|
||||
/// ⏩⏪⏭⏮⏸⏹⏺■▶📾🔀🔁🔃
|
||||
/// ☀☁★☆☐☑☜☝☞☟⛃⛶✔
|
||||
/// ↺↻⟲⟳⬅➡⬆⬇⬈⬉⬊⬋⬌⬍⮨⮩⮪⮫
|
||||
/// ♡
|
||||
/// 📅📆
|
||||
/// 📈📉📊
|
||||
/// 📋📌📎📤📥🔆
|
||||
/// 🔈🔉🔊🔍🔎🔗🔘
|
||||
/// 🕓🖧🖩🖮🖱🖴🖵🖼🗀🗁🗋🗐🗑🗙🚫❓
|
||||
///
|
||||
/// NOTE: In egui all emojis are monochrome!
|
||||
///
|
||||
/// You can explore them all in the Font Book in [the online demo](https://emilk.github.io/egui/).
|
||||
///
|
||||
/// In addition, egui supports a few special emojis that are not part of the unicode standard.
|
||||
/// This module contains some of them:
|
||||
pub mod special_emojis {
|
||||
/// Tux, the Linux penguin.
|
||||
pub const OS_LINUX: char = '🐧';
|
||||
/// The Windows logo.
|
||||
pub const OS_WINDOWS: char = '';
|
||||
/// The Android logo.
|
||||
pub const OS_ANDROID: char = '';
|
||||
/// The Apple logo.
|
||||
pub const OS_APPLE: char = '';
|
||||
|
||||
/// The Github logo.
|
||||
pub const GITHUB: char = '';
|
||||
|
||||
/// The word `git`.
|
||||
pub const GIT: char = '';
|
||||
|
||||
// I really would like to have ferris here.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user