aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/instance/ShaderPackPage.h
AgeCommit message (Collapse)Author
2023-02-05chore: add my copyright headersflow
.-. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-02-05feat(RD): add shader pack downloaderflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-20refactor: adapt rest of the codebase to the new resource modelflow
In order to access the ModFolderModel from the ModFolderPage, i created a new m_model for the correct type, shadowing the m_model of type ResourceFolderModel. This creates two shared_ptr references to the same object, but since they will have the same lifetime, it doesn't generate a memory leak. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-06-14refactor: Create a more clear hierarchy for some instance pagesflow
Previously, the Shaders, Texture packs and Resource packs tabs had as parent the ModFolderPage, making it so that making changes only to the Mods page would require checking the id of the page for the correct one. This was hackish and error-prone. Now, those pages all inherit from a single class, ExternalResourcesPage, that handles the basic behaviour of all of them, while allowing for individual modification in code. This is still not a clear separation, since internally, all those resources are derived from Mods, so for now there's still some awkward common code :/
2022-03-20chore: add license headerSefa Eyeoglu
2021-11-22NOISSUE continue reshuffling the codebasePetr Mrázek