载入中...
搜索中...
未找到
Icons.cpp 文件参考
#include "ui/Icons.h"
#include <algorithm>
#include <array>
#include <cctype>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::ui
 

函数

const char * eve::ui::iconGlyph (Icon icon)
 Returns the UTF-8 glyph for an icon, or an empty string for None.
 
const char * eve::ui::iconName (Icon icon)
 Returns the stable kebab-case semantic name for an icon.
 
bool eve::ui::iconFromName (std::string_view name, Icon *out)
 Resolves a semantic icon name; accepts kebab-case names case-insensitively.
 
std::string eve::ui::iconText (Icon icon, std::string_view label={})
 Composes an icon with an optional visible label.
 

变量说明

◆ glyph

const char* glyph

在文件 Icons.cpp 第 13 行定义.

◆ icon

◆ name

const char* name

在文件 Icons.cpp 第 12 行定义.