diff --git a/assets/gfx/sprites.t3s b/assets/gfx/sprites.t3s index e9f605f..cc426c9 100644 --- a/assets/gfx/sprites.t3s +++ b/assets/gfx/sprites.t3s @@ -18,6 +18,7 @@ sprites/wifi/wifi_3.png sprites/cancel.png sprites/checked.png sprites/delete.png +sprites/description.png sprites/download.png sprites/info.png sprites/installed.png @@ -28,7 +29,6 @@ sprites/langs/zh-CN.png sprites/langs/zh-TW.png sprites/list.png sprites/noIcon.png -sprites/notes.png sprites/qr_code.png sprites/queue0.png sprites/queue1.png diff --git a/assets/gfx/sprites/description.png b/assets/gfx/sprites/description.png new file mode 100644 index 0000000..c11078e Binary files /dev/null and b/assets/gfx/sprites/description.png differ diff --git a/include/screens/mainScreen.hpp b/include/screens/mainScreen.hpp index 4019d67..213c13c 100644 --- a/include/screens/mainScreen.hpp +++ b/include/screens/mainScreen.hpp @@ -37,7 +37,7 @@ 4: Sorting. 5: Settings / Credits(?). 6: Screenshot Menu. - 7: Release Notes. + 7: Long Description. */ class MainScreen : public Screen { diff --git a/include/store/store.hpp b/include/store/store.hpp index c6de917..3501251 100644 --- a/include/store/store.hpp +++ b/include/store/store.hpp @@ -53,7 +53,7 @@ class Store { std::string GetFileTypes(int index, const std::string &entry) const; std::vector GetScreenshotList(int index) const; std::vector GetScreenshotNames(int index) const; - std::string GetReleaseNotes(int index) const; + std::string GetLongDescription(int index) const; std::vector GetDownloadList(int index) const; diff --git a/include/store/storeEntry.hpp b/include/store/storeEntry.hpp index bed1459..fc4334e 100644 --- a/include/store/storeEntry.hpp +++ b/include/store/storeEntry.hpp @@ -51,7 +51,7 @@ class StoreEntry { std::vector GetTypes() const { return this->Types; }; std::vector GetScreenshots() const { return this->Screenshots; }; std::vector GetScreenshotNames() const { return this->ScreenshotNames; }; - std::string GetReleaseNotes() const { return this->ReleaseNotes; }; + std::string GetLongDescription() const { return this->LongDescription; }; bool GetUpdateAvl() const { return this->UpdateAvailable; }; void SetUpdateAvl(bool v) { this->UpdateAvailable = v; }; @@ -62,7 +62,7 @@ class StoreEntry { }; private: - std::string Title, Author, Description, Category, Version, Console, LastUpdated, MarkString, Additional, ReleaseNotes; + std::string Title, Author, Description, Category, Version, Console, LastUpdated, MarkString, Additional, LongDescription ; C2D_Image Icon; int SheetIndex, EntryIndex, Marks; std::vector FullCategory, FullConsole, Sizes, Types, Screenshots, ScreenshotNames; diff --git a/include/store/storeUtils.hpp b/include/store/storeUtils.hpp index d522d33..eadfc8d 100644 --- a/include/store/storeUtils.hpp +++ b/include/store/storeUtils.hpp @@ -85,12 +85,12 @@ namespace StoreUtils { void DrawSorting(bool asc, SortType st); void SortHandle(bool &asc, SortType &st); - /* Release Notes. */ + /* Long Description. */ size_t FindSplitPoint(const std::string &str, const std::vector splitters); - void ProcessReleaseNotes(std::string ReleaseNotes); + void ProcessLongDescription(std::string LongDescription); - void DrawReleaseNotes(const int &scrollIndex, const std::unique_ptr &entry); - void ReleaseNotesLogic(int &scrollIndex, int &storeMode); + void DrawLongDescription(const int &scrollIndex, const std::unique_ptr &entry); + void LongDescriptionLogic(int &scrollIndex, int &storeMode); bool compareTitleDescending(const std::unique_ptr &a, const std::unique_ptr &b); bool compareTitleAscending(const std::unique_ptr &a, const std::unique_ptr &b); diff --git a/romfs/gfx/sprites.t3x b/romfs/gfx/sprites.t3x index d6f6d2f..3e33324 100644 Binary files a/romfs/gfx/sprites.t3x and b/romfs/gfx/sprites.t3x differ