mirror of
https://github.com/BernardoGiordano/Checkpoint
synced 2025-02-26 11:47:13 +00:00
remove unused code
This commit is contained in:
parent
175a6b1dfd
commit
84c4768d91
3 changed files with 1 additions and 13 deletions
|
@ -75,7 +75,6 @@ void getTitle(Title &dst, u128 uid, size_t i);
|
|||
size_t getTitleCount(u128 uid);
|
||||
void loadTitles(void);
|
||||
void refreshDirectories(u64 id);
|
||||
void reloadSmallIcon(u128 uid, size_t i);
|
||||
u8* smallIcon(u128 id, size_t i);
|
||||
void freeIcons(void);
|
||||
|
||||
|
|
|
@ -319,13 +319,11 @@ void Gui::draw(u128 uid)
|
|||
}
|
||||
else
|
||||
{
|
||||
//reloadSmallIcon(g_currentUId, k);
|
||||
rectangle(selectorx, selectory, 128, 128, COLOR_WHITE);
|
||||
}
|
||||
|
||||
if (!selEnt.empty() && std::find(selEnt.begin(), selEnt.end(), k) != selEnt.end())
|
||||
{
|
||||
//rectangle(selectorx + 94, selectory + 94, 24, 24, COLOR_WHITE);
|
||||
DrawImage(selectorx + 86, selectory + 86, 40, 40, checkbox_bin, IMAGE_MODE_RGBA32);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -276,13 +276,4 @@ u8* smallIcon(u128 uid, size_t i)
|
|||
{
|
||||
std::unordered_map<u128, std::vector<Title>>::iterator it = titles.find(uid);
|
||||
return it != titles.end() ? it->second.at(i).smallIcon() : NULL;
|
||||
}
|
||||
|
||||
// void reloadSmallIcon(u128 uid, size_t i)
|
||||
// {
|
||||
// std::unordered_map<u128, std::vector<Title>>::iterator it = titles.find(uid);
|
||||
// if (it != titles.end())
|
||||
// {
|
||||
// it->second.at(i).smallIcon(it->second.at(i).icon(), 128*128*3);
|
||||
// }
|
||||
// }
|
||||
}
|
Loading…
Add table
Reference in a new issue