mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-19 17:59:16 +01:00
*Fixed the code dump from r389
This commit is contained in:
parent
94cac74a3a
commit
d21fcfac8e
@ -51,7 +51,7 @@ GuiGameBrowser::GuiGameBrowser(int w, int h, struct discHdr * l, int gameCnt, co
|
|||||||
|
|
||||||
snprintf(imgPath, sizeof(imgPath), "%sbg_options_entry.png", themePath);
|
snprintf(imgPath, sizeof(imgPath), "%sbg_options_entry.png", themePath);
|
||||||
bgGamesEntry = new GuiImageData(imgPath, bg_options_entry_png);
|
bgGamesEntry = new GuiImageData(imgPath, bg_options_entry_png);
|
||||||
if (scrollbaron == 1) {
|
|
||||||
snprintf(imgPath, sizeof(imgPath), "%sscrollbar.png", themePath);
|
snprintf(imgPath, sizeof(imgPath), "%sscrollbar.png", themePath);
|
||||||
scrollbar = new GuiImageData(imgPath, scrollbar_png);
|
scrollbar = new GuiImageData(imgPath, scrollbar_png);
|
||||||
scrollbarImg = new GuiImage(scrollbar);
|
scrollbarImg = new GuiImage(scrollbar);
|
||||||
@ -107,11 +107,10 @@ GuiGameBrowser::GuiGameBrowser(int w, int h, struct discHdr * l, int gameCnt, co
|
|||||||
scrollbarBoxBtn->SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
scrollbarBoxBtn->SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
||||||
scrollbarBoxBtn->SetSelectable(false);
|
scrollbarBoxBtn->SetSelectable(false);
|
||||||
scrollbarBoxBtn->SetEffectOnOver(EFFECT_SCALE, 50, 120);
|
scrollbarBoxBtn->SetEffectOnOver(EFFECT_SCALE, 50, 120);
|
||||||
scrollbarBoxBtn->SetMinY(0);
|
scrollbarBoxBtn->SetMinY(0);
|
||||||
scrollbarBoxBtn->SetMaxY(height-30);
|
scrollbarBoxBtn->SetMaxY(height-30);
|
||||||
scrollbarBoxBtn->SetHoldable(true);
|
scrollbarBoxBtn->SetHoldable(true);
|
||||||
scrollbarBoxBtn->SetTrigger(trigHeldA);
|
scrollbarBoxBtn->SetTrigger(trigHeldA);
|
||||||
}
|
|
||||||
|
|
||||||
gameIndex = new int[pagesize];
|
gameIndex = new int[pagesize];
|
||||||
game = new GuiButton * [pagesize];
|
game = new GuiButton * [pagesize];
|
||||||
|
Loading…
Reference in New Issue
Block a user