From 9af8e5db007ab59380de7a73f0104c6d5048d1e3 Mon Sep 17 00:00:00 2001 From: wilsam239 Date: Fri, 12 Jun 2020 16:54:19 +1000 Subject: [PATCH] Added proper glyphs to the UI Glyphs now reflect the status of the application --- Cling-Wrap-Tesla-Overlay.ovl | Bin 806968 -> 806968 bytes source/gui_main.cpp | 10 +++++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cling-Wrap-Tesla-Overlay.ovl b/Cling-Wrap-Tesla-Overlay.ovl index 2b82ad3c514cbdfd45fecca61882cda059c7b981..0530bc0f7c0776ff4d7732ae2429deea02c532f5 100644 GIT binary patch delta 6502 zcmbW52~?Cvwt)YtzxQ8JMi3eVy0ft=5@RGLO4ClFn3pJRUc_-GHu|EXISLvhBu2a4 zQAha$dU2g@^h^*Z+JqMiG||T0m=iH^+>&UcB%(>gH7=RRyVXCf&}Pn@^E{{h>ejt= z>(;GXRlnA{(rR64C6=(h+AXi^`?Q{}IH>J>vgO>IH~+W)k8mtYlTz)-iY65`pGQZS zsMk<>;rR{3QabmAF~nYT{)HP9g%cUc#8pZy$;4aJ%hDoJpP?r1kAK&q#etWX5-yH- zWl|JscTMO*5ntwQ)KOojn(5QdQsStw&4{2zK_`oX!*+9?N~S8I#G0U!BUM5})c1=H` zH^s&V*`?PU8`U6#d6)y^%wO*1bU6*1N(0{N{PMH;EvZhO!C^ht?+ZH z+1;)5zud+IuSuR9E7biJJAV;{q((73$tQ+Y;fg#~pGkh_F`;fD>V7IMzyU6|k(f$% zxTE>TxknO5X|IYKxKod9j2DSeGxYC^40_=S+3Gd(AkKIO>wS+0q@?QjIj(>%T+W>1 zwA~v`$}WgP2~Jkx!{0c|L%rGIv|WEhAMh3~yJtCVmxJ{#bK7j;vJ>^^gY-$`91k62 z&UV_)1R0F;2K1%(s#j3ofSRQr&o<2QCdgJH5tkG$*E^lIPNRatwkJK%o98=is$jkF zq-?c3=^vlD+G+b&PVjj2-==r3b=qzQ>4%Q{2q1Hr)7BKM z7X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J>i>o(}>Qp!6+jG@s5@8$Rl(zEK^H zc{tyQU`3R)NllBnTK>mTj8wP@QKADF8$d+>4YXfq&1Bsy#t?u++Gh0E{;3*`=|EYm zf6He0VUq!|-lg4p3Jy+MMw`~F_wej3YP0y*no&?H(K)9;fHL>Z>yR zj%-&Khc{3lXiz^)#XHndG3~+X9o?H-sAY%BW4slAoJup*f8w8K_9^m~C_}&&fYXl{ zcjX^9#bSSordTO~Hrg+MuaZwOCyrH^6MReUM6~<>YN$|HZM<}+xc-?-rRx6mHZD4Ux;SBHmY2H&^;H+kt%^_0mJe510dxK$ constexpr const char *const descriptions[3] = { - [0] = "Unwrapped | \uE098", - [1] = "Wrapped | \uE098", - [2] = "Error | \uE0F4", + [0] = "Unwrapped | \uE14C", + [1] = "Wrapped | \uE14B", + [2] = "Error | \uE150", }; @@ -59,7 +59,7 @@ tsl::elm::Element *GuiMain::createUI() { tsl::elm::List *dirList = new tsl::elm::List(); dirList->addItem(new tsl::elm::CustomDrawer([](tsl::gfx::Renderer *renderer, s32 x, s32 y, s32 w, s32 h) { - renderer->drawString("\uE016 Wrapped = Ready for Tinfoil\n\uE016 Unwrapped = Ready for Boot", false, x + 5, y + 20, 15, renderer->a(tsl::style::color::ColorDescription)); + renderer->drawString("\uE142 Wrapped = Ready for Tinfoil\n\uE142 Unwrapped = Ready for Boot", false, x + 5, y + 20, 15, renderer->a(tsl::style::color::ColorDescription)); }), 50); auto *readyAllButton = new tsl::elm::ListItem("Wrap"); @@ -83,7 +83,7 @@ tsl::elm::Element *GuiMain::createUI() { dirList->addItem(resetAllButton); dirList->addItem(new tsl::elm::CustomDrawer([](tsl::gfx::Renderer *renderer, s32 x, s32 y, s32 w, s32 h) { - renderer->drawString("\uE016 These directories can be renamed individually.", false, x + 5, y + 20, 15, renderer->a(tsl::style::color::ColorDescription)); + renderer->drawString("\uE142 These directories can be renamed individually.", false, x + 5, y + 20, 15, renderer->a(tsl::style::color::ColorDescription)); }), 30); for (const auto &dir : this->directoryListItems) {