mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-07-20 10:31:00 +00:00
Add LoRa/FSK topbar modulation badges and monitor status handling for walkie talkie mode. Keep built-in text candidates and small symbol/emoji font baselines aligned with localization specs, and remove the legacy compiled-in CJK font path.
28 lines
584 B
C++
28 lines
584 B
C++
#pragma once
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
namespace ui::widgets::text_candidates
|
|
{
|
|
|
|
enum class CandidateSet
|
|
{
|
|
Symbols,
|
|
Emoji,
|
|
};
|
|
|
|
constexpr std::size_t kMaxBuiltinTextCandidates = 100;
|
|
|
|
const char* title(CandidateSet set);
|
|
const char* button_label(CandidateSet set);
|
|
std::size_t count(CandidateSet set);
|
|
const char* at(CandidateSet set, std::size_t index);
|
|
|
|
std::uint8_t* emoji_core_binfont_data();
|
|
std::size_t emoji_core_binfont_size();
|
|
std::uint8_t* symbol_core_binfont_data();
|
|
std::size_t symbol_core_binfont_size();
|
|
|
|
} // namespace ui::widgets::text_candidates
|