epaint_default_fonts/special_emojis.rs
1//! A few special emojis that are not part of the unicode standard.
2//!
3//! Except for [`OS_LINUX`] they live in the private use area, so no platform
4//! font has them, which is why they are bundled in [`crate::EGUI_ICONS`].
5//!
6//! Besides these, egui renders whatever emoji the platform fonts have.
7//! With the `monochrome_emoji_fonts` feature you also get the bundled
8//! [`crate::NOTO_EMOJI_REGULAR`] and [`crate::EMOJI_ICON`], which add
9//! monochrome emoji and icons like:
10//!
11//! ```text
12//! ∞⊗⎗⎘⎙⏏⏴⏵⏶⏷
13//! ⏩⏪⏭⏮⏸⏹⏺■▶📾🔀🔁🔃
14//! ☀☁★☆☐☑☜☝☞☟⛃⛶✔
15//! ↺↻⟲⟳⬅➡⬆⬇⬈⬉⬊⬋⬌⬍⮨⮩⮪⮫
16//! ♡
17//! 📅📆
18//! 📈📉📊
19//! 📋📌📎📤📥🔆
20//! 🔈🔉🔊🔍🔎🔗🔘
21//! 🕓🖧🖩🖮🖱🖴🖵🖼🗀🗁🗋🗐🗑🗙🚫❓
22//! ```
23//!
24//! You can explore all the emoji of the current fonts in the Font Book in
25//! [the online demo](https://www.egui.rs/#demo).
26
27/// Tux, the Linux penguin.
28///
29/// A normal emoji, covered by most emoji fonts.
30pub const OS_LINUX: char = '🐧';
31
32/// The Windows logo.
33pub const OS_WINDOWS: char = '\u{E61F}';
34
35/// The Android logo.
36pub const OS_ANDROID: char = '\u{E618}';
37
38/// The Apple logo.
39pub const OS_APPLE: char = '\u{F8FF}';
40
41/// The Github logo.
42pub const GITHUB: char = '\u{E624}';
43
44/// The word `git`.
45pub const GIT: char = '\u{E625}';
46
47// I really would like to have ferris here.