From 1e24620c2b61dd1128f9be6cbe66430b5151fbac Mon Sep 17 00:00:00 2001 From: mauricewoelk Date: Sun, 24 May 2009 13:59:09 +0000 Subject: [PATCH] - Added widescreen fix to the arrow buttons one game window - Added exit menu to the settings (no more going back to main menu needed to exit the loader) - Changed the buttons for gamelist (favorites, sort by name etc.) --- source/filelist.h | 21 +++ source/images/abcIcon.png | Bin 1699 -> 1213 bytes source/images/abcIcon_gray.png | Bin 0 -> 813 bytes source/images/arrangeCarosselle.png | Bin 0 -> 1674 bytes source/images/arrangeCarosselle_gray.png | Bin 0 -> 1016 bytes source/images/arrangeGrid.png | Bin 0 -> 910 bytes source/images/arrangeGrid_gray.png | Bin 0 -> 760 bytes source/images/favIcon.png | Bin 1650 -> 1553 bytes source/images/favIcon_gray.png | Bin 0 -> 983 bytes source/images/playCountIcon.png | Bin 1372 -> 778 bytes source/menu.cpp | 169 +++++++++++++++++++---- 11 files changed, 161 insertions(+), 29 deletions(-) create mode 100644 source/images/abcIcon_gray.png create mode 100644 source/images/arrangeCarosselle.png create mode 100644 source/images/arrangeCarosselle_gray.png create mode 100644 source/images/arrangeGrid.png create mode 100644 source/images/arrangeGrid_gray.png create mode 100644 source/images/favIcon_gray.png diff --git a/source/filelist.h b/source/filelist.h index a932964d..4f2c6b71 100644 --- a/source/filelist.h +++ b/source/filelist.h @@ -263,4 +263,25 @@ extern const u32 abcIcon_png_size; extern const u8 playCountIcon_png[]; extern const u32 playCountIcon_png_size; +extern const u8 arrangeGrid_png[]; +extern const u32 arrangeGrid_png_size; + +extern const u8 arrangeCarosselle_png[]; +extern const u32 arrangeCarosselle_png_size; + +extern const u8 favIcon_gray_png[]; +extern const u32 favIcon_gray_png_size; + +extern const u8 abcIcon_gray_png[]; +extern const u32 abcIcon_gray_png_size; + +extern const u8 playCountIcon_gray_png[]; +extern const u32 playCountIcon_gray_png_size; + +extern const u8 arrangeGrid_gray_png[]; +extern const u32 arrangeGrid_gray_png_size; + +extern const u8 arrangeCarosselle_gray_png[]; +extern const u32 arrangeCarosselle_gray_png_size; + #endif diff --git a/source/images/abcIcon.png b/source/images/abcIcon.png index 70466c777a1701d18735fda5b8dfe0ab6cafef1c..b2b6cedb8c787a029a6d0726f12d4fbeca79c1d0 100644 GIT binary patch literal 1213 zcmV;u1Va0XP)$qMKt7j+5>S1|zxy$mRR|c_{PQlRir$FdU4K+XwHaxdqdUX-mtxW_YEeN-E zz~lAp3r#}lRW@0Y#83?T>E`UT;CwGR-Aiv`;@TA`UIhbZFCcbmu)N9Rd%s~Xm4GBw z1~~BcdBpmM#I`H^o<&2c{mu0?suJe3*lJ1xHob2JDB-A zv`kt&OU0Mb)EvQ?%b&s*3}J_Yoc-k|A$ji`qZLwDFi5y~D9_5X-!hvU$Zn_6*4u|b zs1aMVDR1n^#|&DQfh?s#f!acrKqcd=Xo^G;Y>r}S>Mt=b(%n~;iCQdQynpNJ-5OSD(yaV`%|x1FsetBI`Ws!Atnj1q&CgSWr` z7P(wbNY1AERdfstlFZF$>l;97bqRm|{3Cw9dWCY<6#cMw_;t7ys9=y~=A?dhY*Q=9 z&?&(Y_7Drs{V=r)f4Et&w)SLJe~fdlv`!c81J@`lWPpF?AyUNw}i-NC5_3i>0Z>CE_d8gQ*Fhgatw&F={o& z#Y`&vR*&Y$T(YG9SRjM5Jj65mhX5Y{dhH~x8&p*Wf bc69p(Q%xP_qmIET00000NkvXXu0mjfMC(7k literal 1699 zcmV;U23+}xP)kq~(k3S-BS0MJ0~8>fTvI?1NCKHeBH`5snVg(dK*;g?uZ}%4{_9Yr^NjYq zgA)YDwv=UAN>cN)udF@z=(oU5B9YLl4&FT&`%K5c(91V(+<2iQ6bL#>iBe4wjz}TR zvBooz*2j%zL@-7$2&=1W59S}t{d|3X?vFsm0Ro-Tfloza@$UuVqc4hOp^YF4r4&dj zQrqIvhAABLPVGkkPYZ}4+#9_(ICAy}xt;Bg3fas%4$#$i_QH3rKQZjU zM5MaFF(A^WLX)H%qnQYZREb1_0nWyUW2M5S@6O)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.png b/source/images/abcIcon_gray.png new file mode 100644 index 0000000000000000000000000000000000000000..573d9792a39c2a5d41bb85876839015cc387313c GIT binary patch literal 813 zcmV+|1JeA7P)>y$TC{ZFV ziGl$e2iZ=ffX6f4#iDy=x_ibTl+0+PsmuB6Kj+jre}&}Pe!_?ECZRDg9wl1y^FL{3 zPq_V*6oWK@9(W>OnzJ|^1?9|IsClLOUz)6yf_zvHW=*?BI>$A~)o5TKFB;M6noiwm z9@X|^$~h^V$cqWkG|26Qq?S=PG|ib4L;0wY(`nAez-^HBj#;jw%H{vM7^xMr)Cfc9 zT%3{N7;yIV(>OPIHQh~A*JcV8T0xF8PL(yg)VL&Ni@;x=$OE#->?-PA6+#rN7@DNyp~trM?b`7oN`*s($9An*_bs-p;DWcE>(om`9vWrGZJf8} zzF%Ax6bj!sR?564I>xff=6s7vs-4ectHAGx`py`5U}!;UWX(DJ;iff7Qi`pvGj_L1 zO3URvkMwmZVICUzX%3UnGD)4? rZIxN}ocyEr(u{gN)m!ITKj;1d*B?jyesyp300000NkvXXu0mjf86%5h literal 0 HcmV?d00001 diff --git a/source/images/arrangeCarosselle.png b/source/images/arrangeCarosselle.png new file mode 100644 index 0000000000000000000000000000000000000000..a92af5351914aa21f77cf63384b2ede4ee554d29 GIT binary patch literal 1674 zcmV;526g#~P)@IyKw{BVrK+k_RjRsak*cbt zu%oRCqJ&3iAQ0^4VbdgbZ2TOLXXf^tGj?P<9^25Ca;2jg-??|rcfa!-1H9%#x_I&8 zg;%W8LMfqSQ8FmG`T6;pE5MtHXQF*lbbGz%4~6J5V^qp%y;$1Hr~mpT@yER{aq2P3 z4gxjz09;J%h~^jcslUH{ zbtY|kt{Rs8;(EkCc2Q@gXn+);n>GX|XWtL+q;F(XYoFDF2&Aja$(M@>d}*~@ghFN; z^64$e=XPN3o%0|msO>4@itj@(Aj96xpVJ<&+h|}q}D?VM~}@S@H`SvsKM|| zXngW~F15CTtMY2GYIaYQ=)|e`BUoR41ch9dnc25*A8cmQ;PrYPs#F!y+Zj+486;T- zAI?{e8W@HFzg_ztg2NHeG!G1fA}~622vm>PolykoAK8Ba0e;N@C8>)o$TtdE*j!CO z5m{3-6{Al^hGY%qt8Y_5?EG^?+G}uXxSE+7?rZ3 zIqpaY!u7Rk6_Ssapp?tNU^oWBCi7^UT2N0SV&1)lAVo-8Obrn_9 zAT~Y$zCZxlF*I9MrXMYWCJlxo5FOi(%1lZwpjUNH6(%xCIg3n8Vv*nBfhbzZLp{hc z9mZkQ=DnQ-_aS>j=!1LoOHxY;l_^N}2!b5N(*=h@>}zCV+QtD@XRg5{MJ)TAplqWt zKxZB7M*3c{F-W2?5FCV#`kNW-3{d4496olOSt7P{RP6D1IQce|(0hnIGP8z^SQbUE z$^O`2*-Z}29N`0X(%;?0by0nOm^yL{{QdxgF?1d8eONawhddzmCLQ!Z^j>O=g03q`>o8L{M zW8=KHo9>6tJ$3}vyi6nQe?Zc5M#E?M` zx`bPqwQB~|M!h#cUZKH$%=p8h5a^{M_yYkB5-Mqpp3W(ICYL}iD_t76P%H{V;V?(P z+o+WbNoo`vfJzU5_((k4hJDHyv4Qp=($^{s2l8Q^>@j8906J0zAi#`_bJ6c(U{WBDg+;`PI$5co1`A zap9BtH;Lu6TXKKBxrDXz#HrJ8^2}K*dx0JYqDH{ax1$r29B6Z=&pOR$FaT~kS0CKH zoL)~{#@pw+dKWU4m-tNkcL(~awXt;nhvggBKWhK%?3=;=YE%mOt;D_CUu-;F{Jd^j zqs47x>D2?obd@gWvRmoo+V%L|-@hW(-2VDduYCIPyZ^(VM`g+;DBHdMJbLZN-^7HB Ub2o>k4*&oF07*qoM6N<$f-b}iOaK4? literal 0 HcmV?d00001 diff --git a/source/images/arrangeCarosselle_gray.png b/source/images/arrangeCarosselle_gray.png new file mode 100644 index 0000000000000000000000000000000000000000..dfe51cae4080f585fef4dc33bf172f6eac8e688c GIT binary patch literal 1016 zcmVT7Xdij|!oy8e zWZ00)qF;A@@Q1U%Vghzvfo+% z{KxlcHKTyC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VjXI^u#Q34|`@{udAt)3wY@pR^H}99H zj$C$bTz}_6e)QA#58ZZ)r4rX}yu-B{?;O0rz)Xlct=*{Iz6UfN(0p?L-f!FW+I_t5 z9F)1Q%A5$AMD51*<_C`--1{}K7u>paOW%I`?QYWReA?NqAD=(F_|-3}-~Y(~OOy1Y zySIO{yYcc@Nz{8-e`N&o-= diff --git a/source/images/favIcon_gray.png b/source/images/favIcon_gray.png new file mode 100644 index 0000000000000000000000000000000000000000..5bf8a82d8672514880644606f24deddd5884d721 GIT binary patch literal 983 zcmV;|11S87P)LwOL$WU(b+cRa>^~a6X3{pQ{A@nVDXTMOVAqNEL%g2R=7 zU)1Zn_a5I|%}B!rhxkV52?q^JTym%MG0;k6?cU?1)tr39HYI3}-t!4)wQ^wxaBX7$*3{rsTS)whii{>49WD?dwUrJa$IzFRR+93=+b6l zNczgR<&FUZ42|0l%|s9Dr73MxG4As(lUNR!Bl(}NtKN~5Vpv?>&antK_$uDyct#%q z&RJmb%E(OVqnMePw*kZr`Og8zoT16du^i!$ODe%gf^w5)A_qVrs3A6sThzW&4VZ>GWD!>OM zJo6C=mYkdnizCAZK8G;Jj`zAm&3NAg)`Sge{6vq;%Q6}uMO$WvsgaCUNTD)OB3a-q z5}wkFE`jQzD15rgN0B>XSXCHzKt@I$GG&?jG($!^tZxp7VVh4#Mq;rHI%TsQ>kX<< zXfz5%gAW<_i=eEmx~668nOo*&|`AsDg!v@g1V=v$Rve~if-DC z&(XeF_EAI9mC|-Oh;-3mtUcse_a7Y=O@QpPAL5T-M{xA`JMdS%@x9{k#Sh{M#-F4y z9B~`~6V|u^0rVvj_>Hf+6z9&M(|hN^SfbG027(5D`NpjzQC=PuZV-vWUWGLkUC3qMrCmr^enloX-~asP*6g+VjJotm zAC+qK6VT>)1qdx++%3o=Gt^MSkLjysE_zS=%Ip5l{RiKTndPJ(^a20?002ovPDHLk FV1k*q+m`?U literal 0 HcmV?d00001 diff --git a/source/images/playCountIcon.png b/source/images/playCountIcon.png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cLiSZ+3(KVjB(>li5ap1h$x!@OPq<{OR1?cr@0&Xp6#zIZYJhdj3NHJ}4r e0{-Fua{dKPqR1`e8u7va0000GetPlayTime(); @@ -3218,7 +3281,7 @@ static int MenuDiscList() gamecntTxt.SetText(GamesCnt); selectedold = 1; favoriteBtn.ResetState(); - favoriteBtn.SetAlpha(Settings.fave ? 255 : 70); + Settings.fave ? (favoriteBtn.SetImage(&favoriteBtnImg), favoriteBtn.SetAlpha(255)) : (favoriteBtn.SetImage(&favoriteBtnImg_g), favoriteBtn.SetAlpha(180)); } else if(abcBtn.GetState() == STATE_CLICKED) @@ -3231,8 +3294,10 @@ static int MenuDiscList() __Menu_GetEntries(); gameBrowser.Reload(gameList, gameCnt); selectedold = 1; + abcBtn.SetImage(&abcBtnImg); abcBtn.SetAlpha(255); - countBtn.SetAlpha(70); + countBtn.SetImage(&countBtnImg_g); + countBtn.SetAlpha(180); } abcBtn.ResetState(); } @@ -3247,7 +3312,9 @@ static int MenuDiscList() __Menu_GetEntries(); gameBrowser.Reload(gameList, gameCnt); selectedold = 1; - abcBtn.SetAlpha(70); + abcBtn.SetImage(&abcBtnImg_g); + abcBtn.SetAlpha(180); + countBtn.SetImage(&countBtnImg); countBtn.SetAlpha(255); } countBtn.ResetState(); @@ -3882,6 +3949,7 @@ static int MenuSettings() int menu = MENU_NONE; int ret; char cfgtext[20]; + int choice = 0; //BLA GuiSound btnSoundOver(button_over_pcm, button_over_pcm_size, SOUND_PCM, vol); GuiSound btnClick(button_click2_pcm, button_click2_pcm_size, SOUND_PCM, vol); @@ -3941,6 +4009,12 @@ static int MenuSettings() backBtn.SetTrigger(&trigA); backBtn.SetTrigger(&trigB); backBtn.SetEffectGrow(); + + //BLA + GuiButton homo(1,1); + homo.SetTrigger(&trigHome); + homo.SetAlignment(ALIGN_LEFT, ALIGN_TOP); + homo.SetPosition(0,0); GuiImage tab1Img(&tab1); GuiImage tab2Img(&tab2); @@ -4039,6 +4113,7 @@ static int MenuSettings() w.Append(&backBtn); w.Append(&lockBtn); w.Append(btnLogo); + w.Append(&homo); //set triggers for tabs page1Btn.RemoveTrigger(1); page1Btn.RemoveTrigger(2); @@ -4806,6 +4881,42 @@ static int MenuSettings() } lockBtn.ResetState(); } + //BLA + else if(homo.GetState() == STATE_CLICKED) + { + optionBrowser2.SetState(STATE_DISABLED); + s32 thetimeofbg = bgMusic->GetPlayTime(); + bgMusic->Stop(); + choice = WindowExitPrompt(LANGUAGE.ExitUSBISOLoader,0, LANGUAGE.BacktoLoader,LANGUAGE.WiiMenu,LANGUAGE.Back,0); + if(!strcmp("", CFG.oggload_path) || !strcmp("notset", CFG.ogg_path)) + { + bgMusic->Play(); + } + else + { + bgMusic->PlayOggFile(CFG.ogg_path); + } + bgMusic->SetPlayTime(thetimeofbg); + SetVolumeOgg(255*(vol/100.0)); + + if(choice == 3) + { + SYS_ResetSystem(SYS_RETURNTOMENU, 0, 0); // Back to System Menu + } + else if (choice == 2) + { + if (*(unsigned int*) 0x80001800) exit(0); + // Channel Version + SYS_ResetSystem(SYS_RETURNTOMENU, 0, 0); + } + else + { + homo.ResetState(); + //optionBrowser2.SetState(STATE_DEFAULT); + //optionBrowser2.SetFocus(1); + } + + } if(settingsbackgroundbtn.GetState() == STATE_CLICKED) { optionBrowser2.SetFocus(1);