Loading...
Searching...
No Matches
IconFont.h
Go to the documentation of this file.
1// Copyright (c) 2025 Dave R. Smith.
2// Malena Framework — Licensed under PolyForm Noncommercial 1.0.0; commercial use requires a paid license. See LICENSE.
3
4#ifndef MALENA_ICONFONT_H
5#define MALENA_ICONFONT_H
6
7#pragma once
8
11#include <cstdint>
12
13namespace ml
14{
24
26 namespace Icon
27 {
28 inline constexpr char32_t Check = 0xe5ca; // done / confirm
29 inline constexpr char32_t Save = 0xe161; // floppy disk
30 inline constexpr char32_t Delete = 0xe872; // trash
31 inline constexpr char32_t Close = 0xe5cd; // x
32 inline constexpr char32_t Add = 0xe145; // +
33 inline constexpr char32_t FormatBold = 0xe238;
34 inline constexpr char32_t FormatItalic = 0xe23f;
35 inline constexpr char32_t FormatUnderlined = 0xe249;
36 inline constexpr char32_t FormatColorText = 0xe247; // "A" with color bar
37 inline constexpr char32_t Palette = 0xe40a;
38 inline constexpr char32_t FormatAlignLeft = 0xe236;
39 inline constexpr char32_t FormatAlignCenter = 0xe234;
40 inline constexpr char32_t FormatAlignRight = 0xe237;
41 inline constexpr char32_t FormatListBulleted = 0xe241;
42 inline constexpr char32_t FormatListNumbered = 0xe242;
43 inline constexpr char32_t Menu = 0xe5d2; // hamburger ☰
44 }
45}
46
47#endif // MALENA_ICONFONT_H
#define MALENA_API
constexpr char32_t FormatListNumbered
Definition IconFont.h:42
constexpr char32_t Check
Definition IconFont.h:28
constexpr char32_t FormatAlignLeft
Definition IconFont.h:38
constexpr char32_t FormatAlignCenter
Definition IconFont.h:39
constexpr char32_t FormatListBulleted
Definition IconFont.h:41
constexpr char32_t Menu
Definition IconFont.h:43
constexpr char32_t FormatAlignRight
Definition IconFont.h:40
constexpr char32_t FormatUnderlined
Definition IconFont.h:35
constexpr char32_t FormatItalic
Definition IconFont.h:34
constexpr char32_t Delete
Definition IconFont.h:30
constexpr char32_t Close
Definition IconFont.h:31
constexpr char32_t FormatBold
Definition IconFont.h:33
constexpr char32_t Save
Definition IconFont.h:29
constexpr char32_t Add
Definition IconFont.h:32
constexpr char32_t Palette
Definition IconFont.h:37
constexpr char32_t FormatColorText
Definition IconFont.h:36
Definition Component.h:22
MALENA_API const sf::Font & iconFont()
The bundled Material Icons font (Apache-2.0). Use with Icon codepoints to render crisp UI glyphs.