mirror of
https://github.com/joel16/VITA-Homebrew-Sorter.git
synced 2024-11-26 21:00:27 +00:00
textures: Use new assets by material.io/PreetiSketch
This commit is contained in:
parent
562b196d7d
commit
c3da438fe5
@ -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
BIN
res/checked.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 8.6 KiB |
BIN
res/page.png
Executable file
BIN
res/page.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 8.7 KiB |
BIN
res/unchecked.png
Executable file
BIN
res/unchecked.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
@ -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);
|
||||
|
@ -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"
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user