mirror of
https://github.com/joel16/VITA-Homebrew-Sorter.git
synced 2024-11-23 03:19:42 +00:00
gui: Clear item selection for pages tab and include checkbox textures
This commit is contained in:
parent
c3da438fe5
commit
3642dfab2f
@ -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
|
||||
)
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -10,7 +10,7 @@
|
||||
std::vector<Tex> 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"
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user