diff --git a/CMakeLists.txt b/CMakeLists.txt index d73a251..4773c7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,5 +104,7 @@ vita_create_vpk(${PROJECT_NAME}.vpk ${VITA_TITLEID} ${PROJECT_NAME}.self FILE res/db.png res/db.png FILE res/folder.png res/folder.png FILE res/page.png res/page.png + FILE res/checked.png res/checked.png + FILE res/unchecked.png res/unchecked.png FILE res/trash.png res/trash.png ) diff --git a/source/gui.cpp b/source/gui.cpp index 9024cec..f27a58b 100644 --- a/source/gui.cpp +++ b/source/gui.cpp @@ -469,6 +469,7 @@ namespace GUI { entries.pages[i].pageNo = entries.pages[old_page_id].pageNo; entries.pages[old_page_id].pageNo = temp; old_page_id = -1; + ImGui::ClearActiveID(); } } } diff --git a/source/main.cpp b/source/main.cpp index 3f5da28..ec9d6bb 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -10,6 +10,8 @@ #include "textures.h" #include "utils.h" +int _newlib_heap_size_user = 192 * 1024 * 1024; + namespace Services { void SetDefaultTheme(void) { ImGui::GetStyle().FrameRounding = 4.0f; diff --git a/source/textures.cpp b/source/textures.cpp index 7a6fd50..726d13b 100644 --- a/source/textures.cpp +++ b/source/textures.cpp @@ -10,7 +10,7 @@ std::vector icons; namespace Textures { - constexpr int max_textures = 5; + constexpr int max_textures = 7; static bool Create(unsigned char *data, GLint format, Tex &texture) { // Create a OpenGL texture identifier @@ -61,6 +61,8 @@ namespace Textures { "app0:res/db.png", "app0:res/folder.png", "app0:res/page.png", + "app0:res/checked.png", + "app0:res/unchecked.png", "app0:res/trash.png" };