add some code
This commit is contained in:
144
managed_components/78__xiaozhi-fonts/src/font_awesome.c
Normal file
144
managed_components/78__xiaozhi-fonts/src/font_awesome.c
Normal file
@@ -0,0 +1,144 @@
|
||||
#include "font_awesome.h"
|
||||
|
||||
// 符号数据表实现
|
||||
const font_awesome_symbol_t font_awesome_symbols[] = {
|
||||
{"neutral", "\xef\x96\xa4"},
|
||||
{"happy", "\xef\x84\x98"},
|
||||
{"laughing", "\xef\x96\x9b"},
|
||||
{"funny", "\xef\x96\x88"},
|
||||
{"sad", "\xee\x8e\x84"},
|
||||
{"angry", "\xef\x95\x96"},
|
||||
{"crying", "\xef\x96\xb3"},
|
||||
{"loving", "\xef\x96\x84"},
|
||||
{"embarrassed", "\xef\x95\xb9"},
|
||||
{"surprised", "\xee\x8d\xab"},
|
||||
{"shocked", "\xee\x8d\xb5"},
|
||||
{"thinking", "\xee\x8e\x9b"},
|
||||
{"winking", "\xef\x93\x9a"},
|
||||
{"cool", "\xee\x8e\x98"},
|
||||
{"relaxed", "\xee\x8e\x92"},
|
||||
{"delicious", "\xee\x8d\xb2"},
|
||||
{"kissy", "\xef\x96\x98"},
|
||||
{"confident", "\xee\x90\x89"},
|
||||
{"sleepy", "\xee\x8e\x8d"},
|
||||
{"silly", "\xee\x8e\xa4"},
|
||||
{"confused", "\xee\x8d\xad"},
|
||||
{"battery_full", "\xef\x89\x80"},
|
||||
{"battery_three_quarters", "\xef\x89\x81"},
|
||||
{"battery_half", "\xef\x89\x82"},
|
||||
{"battery_quarter", "\xef\x89\x83"},
|
||||
{"battery_empty", "\xef\x89\x84"},
|
||||
{"battery_slash", "\xef\x8d\xb7"},
|
||||
{"battery_bolt", "\xef\x8d\xb6"},
|
||||
{"wifi", "\xef\x87\xab"},
|
||||
{"wifi_fair", "\xef\x9a\xab"},
|
||||
{"wifi_weak", "\xef\x9a\xaa"},
|
||||
{"wifi_slash", "\xef\x9a\xac"},
|
||||
{"signal", "\xef\x80\x92"},
|
||||
{"signal_strong", "\xef\x9a\x8f"},
|
||||
{"signal_good", "\xef\x9a\x8e"},
|
||||
{"signal_fair", "\xef\x9a\x8d"},
|
||||
{"signal_weak", "\xef\x9a\x8c"},
|
||||
{"signal_off", "\xef\x9a\x95"},
|
||||
{"volume_high", "\xef\x80\xa8"},
|
||||
{"volume", "\xef\x9a\xa8"},
|
||||
{"volume_low", "\xef\x80\xa7"},
|
||||
{"volume_xmark", "\xef\x9a\xa9"},
|
||||
{"music", "\xef\x80\x81"},
|
||||
{"check", "\xef\x80\x8c"},
|
||||
{"xmark", "\xef\x80\x8d"},
|
||||
{"power_off", "\xef\x80\x91"},
|
||||
{"gear", "\xef\x80\x93"},
|
||||
{"trash", "\xef\x87\xb8"},
|
||||
{"house", "\xef\x80\x95"},
|
||||
{"image", "\xef\x80\xbe"},
|
||||
{"pen_to_square", "\xef\x81\x84"},
|
||||
{"backward_step", "\xef\x81\x88"},
|
||||
{"forward_step", "\xef\x81\x91"},
|
||||
{"play", "\xef\x81\x8b"},
|
||||
{"pause", "\xef\x81\x8c"},
|
||||
{"stop", "\xef\x81\x8d"},
|
||||
{"arrow_left", "\xef\x81\xa0"},
|
||||
{"arrow_right", "\xef\x81\xa1"},
|
||||
{"arrow_up", "\xef\x81\xa2"},
|
||||
{"arrow_down", "\xef\x81\xa3"},
|
||||
{"triangle_exclamation", "\xef\x81\xb1"},
|
||||
{"bell", "\xef\x83\xb3"},
|
||||
{"location_dot", "\xef\x8f\x85"},
|
||||
{"globe", "\xef\x82\xac"},
|
||||
{"location_arrow", "\xef\x84\xa4"},
|
||||
{"sd_card", "\xef\x9f\x82"},
|
||||
{"bluetooth", "\xef\x8a\x93"},
|
||||
{"comment", "\xef\x81\xb5"},
|
||||
{"microchip_ai", "\xee\x87\xac"},
|
||||
{"user", "\xef\x80\x87"},
|
||||
{"user_robot", "\xee\x81\x8b"},
|
||||
{"download", "\xef\x80\x99"},
|
||||
{"lock", "\xef\x80\xa3"},
|
||||
{"unlock", "\xef\x82\x9c"},
|
||||
{"key", "\xef\x82\x84"},
|
||||
{"link", "\xef\x83\x81"},
|
||||
{"circle_info", "\xef\x81\x9a"},
|
||||
{"circle_question", "\xef\x81\x99"},
|
||||
{"circle_check", "\xef\x81\x98"},
|
||||
{"circle_xmark", "\xef\x81\x97"},
|
||||
{"clock", "\xef\x80\x97"},
|
||||
{"alarm_clock", "\xef\x8d\x8e"},
|
||||
{"spinner", "\xef\x84\x90"},
|
||||
{"temperature_half", "\xef\x8b\x89"},
|
||||
{"headphones", "\xef\x80\xa5"},
|
||||
{"microphone", "\xef\x84\xb0"},
|
||||
{"microphone_slash", "\xef\x84\xb1"},
|
||||
{"comment_dot", "\xee\x9b\x9c"},
|
||||
{"comment_question", "\xee\x85\x8b"},
|
||||
{"camera", "\xef\x80\xb0"},
|
||||
{"calendar", "\xef\x84\xb3"},
|
||||
{"envelope", "\xef\x83\xa0"},
|
||||
{"brightness", "\xee\x83\x89"},
|
||||
{"phone", "\xef\x82\x95"},
|
||||
{"compass", "\xef\x85\x8e"},
|
||||
{"calculator", "\xef\x87\xac"},
|
||||
{"glasses", "\xef\x94\xb0"},
|
||||
{"magnifying_glass", "\xef\x80\x82"},
|
||||
{"heart", "\xef\x80\x84"},
|
||||
{"star", "\xef\x80\x85"},
|
||||
{"gamepad", "\xef\x84\x9b"},
|
||||
{"watch", "\xef\x8b\xa1"},
|
||||
{"arrows_repeat", "\xef\x8d\xa4"},
|
||||
{"arrows_rotate", "\xef\x80\xa1"},
|
||||
{"angle_left", "\xef\x84\x84"},
|
||||
{"angle_right", "\xef\x84\x85"},
|
||||
{"angle_up", "\xef\x84\x86"},
|
||||
{"angle_down", "\xef\x84\x87"},
|
||||
{"angles_left", "\xef\x84\x80"},
|
||||
{"angles_right", "\xef\x84\x81"},
|
||||
{"angles_up", "\xef\x84\x82"},
|
||||
{"angles_down", "\xef\x84\x83"},
|
||||
{"cloud_arrow_down", "\xef\x83\xad"},
|
||||
{"cloud_arrow_up", "\xef\x83\xae"},
|
||||
{"cloud_slash", "\xee\x84\xb7"},
|
||||
{"sun", "\xef\x86\x85"},
|
||||
{"moon", "\xef\x86\x86"},
|
||||
{"cloud", "\xef\x83\x82"},
|
||||
{"clouds", "\xef\x9d\x84"},
|
||||
{"cloud_sun", "\xef\x9d\x86"},
|
||||
{"cloud_sun_rain", "\xef\x9d\x83"},
|
||||
{"cloud_moon", "\xef\x9b\x83"},
|
||||
{"cloud_bolt", "\xef\x9d\xac"},
|
||||
{"cloud_hail", "\xef\x9c\xba"},
|
||||
{"cloud_sleet", "\xef\x9d\x81"},
|
||||
{"cloud_drizzle", "\xef\x9c\xb8"},
|
||||
{"cloud_fog", "\xef\x9d\x8e"},
|
||||
{"cloud_rain", "\xef\x9c\xbd"},
|
||||
{"cloud_showers", "\xef\x9c\xbf"},
|
||||
{"cloud_showers_heavy", "\xef\x9d\x80"},
|
||||
{"snowflake", "\xef\x8b\x9c"},
|
||||
{"snowflakes", "\xef\x9f\x8f"},
|
||||
{"smog", "\xef\x9d\x9f"},
|
||||
{"wind", "\xef\x9c\xae"},
|
||||
{"hurricane", "\xef\x9d\x91"},
|
||||
{"tornado", "\xef\x9d\xaf"},
|
||||
};
|
||||
|
||||
// 符号总数
|
||||
const size_t font_awesome_symbol_count = sizeof(font_awesome_symbols) / sizeof(font_awesome_symbols[0]);
|
||||
Reference in New Issue
Block a user