aboutsummaryrefslogtreecommitdiff
path: root/src/ui/icons.h
blob: deca7bd0953b0247b7abaa33fb0c4e4a60b5badc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#pragma once

// Phosphor icon glyphs (regular weight). Generated to match assets/fonts/Phosphor.ttf.
// Each value is the UTF-8 encoding of a Private-Use-Area codepoint; merge the font
// over the ui font and print these strings like any other text.

namespace Hsdbg
{
    // merge range covering every glyph used below
    inline constexpr unsigned int ICON_MIN_PH = 0xE000;
    inline constexpr unsigned int ICON_MAX_PH = 0xEE00;
}

#define ICON_PH_PLAY         "\xEE\x8F\x90" // U+E3D0
#define ICON_PH_PAUSE        "\xEE\x8E\x9E" // U+E39E
#define ICON_PH_STOP         "\xEE\x91\xAC" // U+E46C
#define ICON_PH_STEP_OVER    "\xEE\x80\x96" // U+E016
#define ICON_PH_STEP_INTO    "\xEE\x81\x9C" // U+E05C
#define ICON_PH_STEP_OUT     "\xEE\x81\xA6" // U+E066
#define ICON_PH_FOLDER       "\xEE\x89\x8A" // U+E24A
#define ICON_PH_FOLDER_OPEN  "\xEE\x89\x96" // U+E256
#define ICON_PH_FILE         "\xEE\x88\xB0" // U+E230
#define ICON_PH_FILE_CODE    "\xEE\xA4\x94" // U+E914
#define ICON_PH_CARET_RIGHT  "\xEE\x84\xBA" // U+E13A
#define ICON_PH_CARET_DOWN   "\xEE\x84\xB6" // U+E136
#define ICON_PH_STACK        "\xEE\x91\xA6" // U+E466
#define ICON_PH_BUG          "\xEE\x97\xB4" // U+E5F4
#define ICON_PH_SEARCH       "\xEE\x8C\x8C" // U+E30C
#define ICON_PH_GEAR         "\xEE\x89\xB2" // U+E272
#define ICON_PH_CPU          "\xEE\x98\x90" // U+E610
#define ICON_PH_LIST         "\xEE\x8B\xB0" // U+E2F0
#define ICON_PH_FUNCTION     "\xEE\xAF\xA4" // U+EBE4
#define ICON_PH_SLIDERS      "\xEE\x90\xB4" // U+E434
#define ICON_PH_TERMINAL     "\xEE\xAB\xA8" // U+EAE8
#define ICON_PH_DOT          "\xEE\xB3\x9E" // U+ECDE
#define ICON_PH_CIRCLE       "\xEE\x86\x8A" // U+E18A
#define ICON_PH_EYE          "\xEE\x88\xA0" // U+E220
#define ICON_PH_CUBE         "\xEE\x87\x9A" // U+E1DA
#define ICON_PH_GAUGE        "\xEE\x98\xA8" // U+E628
#define ICON_PH_BRANCH       "\xEE\x89\xB8" // U+E278
#define ICON_PH_BRACKETS     "\xEE\xA1\xA0" // U+E860