mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-29 22:54:18 +01:00
* add forgotten pictures
* the cross-button in SearchWindow now closes the Window
This commit is contained in:
parent
0b9f15319f
commit
ec01eba085
BIN
source/images/keyboard_backspace_over.png
Normal file
BIN
source/images/keyboard_backspace_over.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
source/images/keyboard_clear_over.png
Normal file
BIN
source/images/keyboard_clear_over.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
@ -1128,18 +1128,44 @@ int MenuDiscList() {
|
|||||||
|
|
||||||
|
|
||||||
__Menu_GetEntries(0, newFilter);
|
__Menu_GetEntries(0, newFilter);
|
||||||
|
menu = MENU_DISCLIST;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
else if(searchChar == 7) // Clear
|
else if(searchChar == 7) // Close
|
||||||
{
|
{
|
||||||
__Menu_GetEntries(0, L"");
|
show_searchwindow=false;
|
||||||
|
HaltGui();
|
||||||
|
if(searchBar)
|
||||||
|
{
|
||||||
|
mainWindow->Remove(searchBar);
|
||||||
|
delete searchBar;
|
||||||
|
searchBar = NULL;
|
||||||
|
}
|
||||||
|
if(gameFilter && *gameFilter)
|
||||||
|
{
|
||||||
|
searchBtn.SetEffect(EFFECT_PULSE, 10, 105);
|
||||||
|
searchBtn.SetImage(&searchBtnImg);
|
||||||
|
searchBtn.SetImageOver(&searchBtnImg);
|
||||||
|
searchBtn.SetAlpha(255);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
searchBtn.StopEffect();
|
||||||
|
searchBtn.SetEffectGrow();
|
||||||
|
searchBtn.SetImage(&searchBtnImg_g);
|
||||||
|
searchBtn.SetImageOver(&searchBtnImg_g);
|
||||||
|
searchBtn.SetAlpha(180);
|
||||||
|
}
|
||||||
|
|
||||||
|
ResumeGui();
|
||||||
}
|
}
|
||||||
else if(searchChar == 8) // Backspace
|
else if(searchChar == 8) // Backspace
|
||||||
{
|
{
|
||||||
__Menu_GetEntries(0, gameFilterPrev);
|
__Menu_GetEntries(0, gameFilterPrev);
|
||||||
|
menu = MENU_DISCLIST;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
menu = MENU_DISCLIST;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (abcBtn.GetState() == STATE_CLICKED) {
|
else if (abcBtn.GetState() == STATE_CLICKED) {
|
||||||
|
Loading…
Reference in New Issue
Block a user