mirror of
https://github.com/Team-Neptune/NSAInstaller.git
synced 2024-12-03 10:20:58 +00:00
Added HookedBehemoth's plutonium fork for system font symbols
This commit is contained in:
parent
074491ff0e
commit
40224c7955
2
.gitmodules
vendored
Normal file → Executable file
2
.gitmodules
vendored
Normal file → Executable file
@ -1,3 +1,3 @@
|
||||
[submodule "include/Plutonium"]
|
||||
path = include/Plutonium
|
||||
url = https://github.com/XorTroll/Plutonium
|
||||
url = https://github.com/HookedBehemoth/Plutonium
|
||||
|
4
Makefile
4
Makefile
@ -41,7 +41,7 @@ TARGET := $(notdir $(CURDIR))
|
||||
BUILD := build
|
||||
SOURCES := source source/ui source/data source/install source/nx source/nx/ipc source/util
|
||||
DATA := data
|
||||
INCLUDES := include include/ui include/data include/install include/nx include/nx/ipc include/util
|
||||
INCLUDES := include include/ui include/data include/install include/nx include/nx/ipc include/util include/Plutonium/Plutonium/Output-switch/include
|
||||
APP_TITLE := Awoo Installer
|
||||
APP_AUTHOR := Huntereb
|
||||
APP_VERSION := 0.0.1
|
||||
@ -68,7 +68,7 @@ LIBS := -lcurl -lz -lmbedtls -lmbedcrypto -lmbedx509 -lminizip -lnx -lstdc++fs
|
||||
# list of directories containing libraries, this must be the top level containing
|
||||
# include and lib
|
||||
#---------------------------------------------------------------------------------
|
||||
LIBDIRS := $(PORTLIBS) $(LIBNX) $(CURDIR)/include/Plutonium/Plutonium/Output
|
||||
LIBDIRS := $(PORTLIBS) $(LIBNX) $(CURDIR)/include/Plutonium/Plutonium/Output-switch
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
@ -16,7 +16,7 @@ namespace inst::ui {
|
||||
this->topRect = Rectangle::New(0, 0, 1280, 93, COLOR("#170909FF"));
|
||||
this->botRect = Rectangle::New(0, 660, 1280, 60, COLOR("#17090980"));
|
||||
this->titleImage = Image::New(0, 0, "romfs:/logo.png");
|
||||
this->butText = TextBlock::New(10, 676, "(A)-Select (B)-Exit", 30);
|
||||
this->butText = TextBlock::New(10, 678, "\ue0e0 Select \ue0e1 Exit ", 24);
|
||||
this->butText->SetColor(COLOR("#FFFFFFFF"));
|
||||
this->optionMenu = pu::ui::elm::Menu::New(0, 93, 1280, COLOR("#67000000"), 113, (567 / 113));
|
||||
this->optionMenu->SetOnFocusColor(COLOR("#00000033"));
|
||||
|
@ -21,7 +21,7 @@ namespace inst::ui {
|
||||
this->titleImage = Image::New(0, 0, "romfs:/logo.png");
|
||||
this->pageInfoText = TextBlock::New(10, 109, "", 30);
|
||||
this->pageInfoText->SetColor(COLOR("#FFFFFFFF"));
|
||||
this->butText = TextBlock::New(10, 676, "", 30);
|
||||
this->butText = TextBlock::New(10, 678, "", 24);
|
||||
this->butText->SetColor(COLOR("#FFFFFFFF"));
|
||||
this->menu = pu::ui::elm::Menu::New(0, 153, 1280, COLOR("#FFFFFF00"), 84, (506 / 84));
|
||||
this->menu->SetOnFocusColor(COLOR("#00000033"));
|
||||
@ -37,7 +37,7 @@ namespace inst::ui {
|
||||
|
||||
void netInstPage::startNetwork() {
|
||||
this->pageInfoText->SetText("");
|
||||
this->butText->SetText("(B)-Cancel (Y)-Install From URL");
|
||||
this->butText->SetText("\ue0e1 Cancel \ue0e3 Install From URL ");
|
||||
this->menu->SetVisible(false);
|
||||
this->menu->ClearItems();
|
||||
mainApp->LoadLayout(mainApp->netinstPage);
|
||||
@ -67,7 +67,7 @@ namespace inst::ui {
|
||||
}
|
||||
} else {
|
||||
this->pageInfoText->SetText("Select a NSP to install!");
|
||||
this->butText->SetText("(A)-Install NSP (B)-Cancel");
|
||||
this->butText->SetText("\ue0e0 Install NSP \ue0e1 Cancel ");
|
||||
for (auto& url: ourUrls) {
|
||||
pu::String itm = inst::util::shortenString(inst::util::formatUrlString(url), 64, true);
|
||||
auto ourEntry = pu::ui::elm::MenuItem::New(itm);
|
||||
|
@ -21,7 +21,7 @@ namespace inst::ui {
|
||||
this->titleImage = Image::New(0, 0, "romfs:/logo.png");
|
||||
this->pageInfoText = TextBlock::New(10, 109, "Select a NSP to install! Put NSP files on the root of your SD!", 30);
|
||||
this->pageInfoText->SetColor(COLOR("#FFFFFFFF"));
|
||||
this->butText = TextBlock::New(10, 676, "(A)-Install NSP (B)-Cancel", 30);
|
||||
this->butText = TextBlock::New(10, 678, "\ue0e0 Install NSP \ue0e1 Cancel ", 24);
|
||||
this->butText->SetColor(COLOR("#FFFFFFFF"));
|
||||
this->menu = pu::ui::elm::Menu::New(0, 153, 1280, COLOR("#FFFFFF00"), 84, (506 / 84));
|
||||
this->menu->SetOnFocusColor(COLOR("#00000033"));
|
||||
|
@ -22,7 +22,7 @@ namespace inst::ui {
|
||||
this->titleImage = Image::New(0, 0, "romfs:/logo.png");
|
||||
this->pageInfoText = TextBlock::New(10, 109, "Change Awoo Installer's settings!", 30);
|
||||
this->pageInfoText->SetColor(COLOR("#FFFFFFFF"));
|
||||
this->butText = TextBlock::New(10, 676, "(A)-Toggle (B)-Cancel", 30);
|
||||
this->butText = TextBlock::New(10, 678, "\ue0e0 Change \ue0e1 Cancel ", 24);
|
||||
this->butText->SetColor(COLOR("#FFFFFFFF"));
|
||||
this->menu = pu::ui::elm::Menu::New(0, 153, 1280, COLOR("#FFFFFF00"), 84, (506 / 84));
|
||||
this->menu->SetOnFocusColor(COLOR("#00000033"));
|
||||
|
Loading…
Reference in New Issue
Block a user