11 static const std::vector<std::vector<std::vector<std::string>>> elements = {
13 {
"Replaced by the gauge"},
133 {
"(*----------)"}, {
"(-*---------)"}, {
"(--*--------)"},
134 {
"(---*-------)"}, {
"(----*------)"}, {
"(-----*-----)"},
135 {
"(------*----)"}, {
"(-------*---)"}, {
"(--------*--)"},
136 {
"(---------*-)"}, {
"(----------*)"}, {
"(---------*-)"},
137 {
"(--------*--)"}, {
"(-------*---)"}, {
"(------*----)"},
138 {
"(-----*-----)"}, {
"(----*------)"}, {
"(---*-------)"},
139 {
"(--*--------)"}, {
"(-*---------)"},
256 if (charset_index == 0) {
258 if (image_index > 20)
259 image_index = 40 - image_index;
260 return gauge(image_index * 0.05);
262 charset_index %= elements.size();
263 image_index %= elements[charset_index].size();
264 std::vector<Element> lines;
265 for (
const auto& it : elements[charset_index][image_index])
266 lines.push_back(
text(it));
267 return vbox(std::move(lines));