1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-08 19:41:49 +00:00
AIO-switch-updater/include/list_download_tab.hpp

24 lines
578 B
C++
Raw Normal View History

2020-09-20 01:21:28 +01:00
#pragma once
#include <borealis.hpp>
2021-09-15 16:23:37 +01:00
#include <json.hpp>
2021-09-11 14:48:13 +01:00
2021-02-10 16:28:47 +00:00
#include "constants.hpp"
2020-09-20 01:21:28 +01:00
class ListDownloadTab : public brls::List
{
2021-09-11 14:48:13 +01:00
private:
brls::ListItem* listItem;
brls::ListItem* cheatslipsItem;
brls::ListItem* gbatempItem;
brls::Label* notFound;
brls::Label* description;
brls::Label* cheatsLabel;
int size = 0;
void createCheatSlipItem();
void creategbatempItem();
2021-03-10 20:43:00 +00:00
2021-09-11 14:48:13 +01:00
public:
2021-09-15 16:23:37 +01:00
ListDownloadTab(const archiveType type, const nlohmann::ordered_json& nxlinks = nlohmann::ordered_json::object());
2021-09-11 14:48:13 +01:00
brls::View* getDefaultFocus() override;
2020-09-20 01:21:28 +01:00
};