diff --git a/CMakeLists.txt b/CMakeLists.txt index 478febe..d73a251 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,5 +103,6 @@ vita_create_vpk(${PROJECT_NAME}.vpk ${VITA_TITLEID} ${PROJECT_NAME}.self FILE res/app.png res/app.png FILE res/db.png res/db.png FILE res/folder.png res/folder.png + FILE res/page.png res/page.png FILE res/trash.png res/trash.png ) diff --git a/res/checked.png b/res/checked.png new file mode 100755 index 0000000..a873eb5 Binary files /dev/null and b/res/checked.png differ diff --git a/res/page.png b/res/page.png new file mode 100755 index 0000000..9af9be1 Binary files /dev/null and b/res/page.png differ diff --git a/res/unchecked.png b/res/unchecked.png new file mode 100755 index 0000000..e5cbb6b Binary files /dev/null and b/res/unchecked.png differ diff --git a/source/gui.cpp b/source/gui.cpp index c82507c..9024cec 100644 --- a/source/gui.cpp +++ b/source/gui.cpp @@ -53,6 +53,7 @@ namespace GUI { App, DB, Folder, + Page, Trash }; @@ -452,7 +453,7 @@ namespace GUI { ImGui::TableNextRow(); ImGui::TableNextColumn(); - ImGui::Image(reinterpret_cast(icons[DB].id), tex_size); + ImGui::Image(reinterpret_cast(icons[Page].id), tex_size); ImGui::TableNextColumn(); ImGui::Text("%d", entries.pages[i].pageId); diff --git a/source/textures.cpp b/source/textures.cpp index b0ba98f..7a6fd50 100644 --- a/source/textures.cpp +++ b/source/textures.cpp @@ -10,7 +10,7 @@ std::vector icons; namespace Textures { - constexpr int max_textures = 4; + constexpr int max_textures = 5; static bool Create(unsigned char *data, GLint format, Tex &texture) { // Create a OpenGL texture identifier @@ -60,6 +60,7 @@ namespace Textures { "app0:res/app.png", "app0:res/db.png", "app0:res/folder.png", + "app0:res/page.png", "app0:res/trash.png" };