textures: Use new assets by material.io/PreetiSketch

This commit is contained in:
Joel16 2022-07-02 23:45:09 -04:00
parent 562b196d7d
commit c3da438fe5
6 changed files with 5 additions and 2 deletions

View File

@ -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
)

BIN
res/checked.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

BIN
res/page.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

BIN
res/unchecked.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@ -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<ImTextureID>(icons[DB].id), tex_size);
ImGui::Image(reinterpret_cast<ImTextureID>(icons[Page].id), tex_size);
ImGui::TableNextColumn();
ImGui::Text("%d", entries.pages[i].pageId);

View File

@ -10,7 +10,7 @@
std::vector<Tex> 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"
};