Just: Release Changelog notes + derp fix.

This commit is contained in:
StackZ
2020-12-23 23:40:04 +01:00
parent a8aae7379b
commit 871d0722eb
16 changed files with 356 additions and 29 deletions
+1
View File
@@ -57,6 +57,7 @@ public:
std::string GetFileSizes(int index, const std::string &entry) const;
std::vector<std::string> GetScreenshotList(int index) const;
std::vector<std::string> GetScreenshotNames(int index) const;
std::string GetReleaseNotes(int index) const;
std::vector<std::string> GetDownloadList(int index) const;
+2 -1
View File
@@ -55,6 +55,7 @@ public:
std::vector<std::string> GetSizes() const { return this->Sizes; };
std::vector<std::string> GetScreenshots() const { return this->Screenshots; };
std::vector<std::string> GetScreenshotNames() const { return this->ScreenshotNames; };
std::string GetReleaseNotes() const { return this->ReleaseNotes; };
bool GetUpdateAvl() const { return this->UpdateAvailable; };
void SetUpdateAvl(bool v) { this->UpdateAvailable = v; };
@@ -65,7 +66,7 @@ public:
};
private:
std::string Title, Author, Description, Category, Version, Console, LastUpdated, License, MarkString;
std::string Title, Author, Description, Category, Version, Console, LastUpdated, License, MarkString, ReleaseNotes;
C2D_Image Icon;
int SheetIndex, EntryIndex, Marks;
std::vector<std::string> FullCategory, FullConsole, Sizes, Screenshots, ScreenshotNames;
+4
View File
@@ -82,6 +82,10 @@ namespace StoreUtils {
void DrawSorting(bool asc, SortType st);
void SortHandle(std::unique_ptr<Store> &store, std::vector<std::unique_ptr<StoreEntry>> &entries, bool &asc, SortType &st);
/* Release Notes. */
void DrawReleaseNotes(const int &scrollIndex, const std::unique_ptr<StoreEntry> &entry, const std::unique_ptr<Store> &store);
void ReleaseNotesLogic(int &scrollIndex, const std::unique_ptr<StoreEntry> &entry, int &storeMode);
bool compareTitleDescending(const std::unique_ptr<StoreEntry> &a, const std::unique_ptr<StoreEntry> &b);
bool compareTitleAscending(const std::unique_ptr<StoreEntry> &a, const std::unique_ptr<StoreEntry> &b);