mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-30 15:14:18 +01:00
- official added the clear CD case spine skin. In your plugin use casecolor=111111. may have to do a Reload Cache.
- fixed the page button of the source menu setup menu which sometimes said one too many pages.
This commit is contained in:
parent
c629021a44
commit
ac4e5ddf1a
Binary file not shown.
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 4.1 MiB After Width: | Height: | Size: 4.1 MiB |
BIN
out/imgs/dvdskin_clear.png
Normal file
BIN
out/imgs/dvdskin_clear.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
#define APP_NAME "WiiFlow WFL"
|
#define APP_NAME "WiiFlow WFL"
|
||||||
#define APP_VERSION "5.4.9 beta 1"
|
#define APP_VERSION "5.4.9 beta 2"
|
||||||
|
|
||||||
#define APP_DATA_DIR "wiiflow"
|
#define APP_DATA_DIR "wiiflow"
|
||||||
#define APPS_DIR "apps/wiiflow"
|
#define APPS_DIR "apps/wiiflow"
|
||||||
|
@ -679,6 +679,7 @@ void CCoverFlow::shutdown(void)
|
|||||||
TexHandle.Cleanup(m_dvdSkin_Yellow);
|
TexHandle.Cleanup(m_dvdSkin_Yellow);
|
||||||
TexHandle.Cleanup(m_dvdSkin_GreenOne);
|
TexHandle.Cleanup(m_dvdSkin_GreenOne);
|
||||||
TexHandle.Cleanup(m_dvdSkin_GreenTwo);
|
TexHandle.Cleanup(m_dvdSkin_GreenTwo);
|
||||||
|
TexHandle.Cleanup(m_dvdSkin_Clear);
|
||||||
clear();
|
clear();
|
||||||
|
|
||||||
if(m_flipSound != NULL)
|
if(m_flipSound != NULL)
|
||||||
@ -1432,6 +1433,9 @@ void CCoverFlow::_drawCoverBox(int i, bool mirror, CCoverFlow::DrawMode dm)
|
|||||||
case 0x00E360:
|
case 0x00E360:
|
||||||
GX_InitTexObj(&texObj, m_dvdSkin_GreenTwo.data, m_dvdSkin_GreenTwo.width, m_dvdSkin_GreenTwo.height, m_dvdSkin_GreenTwo.format, GX_CLAMP, GX_CLAMP, GX_FALSE);
|
GX_InitTexObj(&texObj, m_dvdSkin_GreenTwo.data, m_dvdSkin_GreenTwo.width, m_dvdSkin_GreenTwo.height, m_dvdSkin_GreenTwo.format, GX_CLAMP, GX_CLAMP, GX_FALSE);
|
||||||
break;
|
break;
|
||||||
|
case 0x111111:
|
||||||
|
GX_InitTexObj(&texObj, m_dvdSkin_Clear.data, m_dvdSkin_Clear.width, m_dvdSkin_Clear.height, m_dvdSkin_Clear.format, GX_CLAMP, GX_CLAMP, GX_FALSE);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
GX_InitTexObj(&texObj, m_dvdSkin.data, m_dvdSkin.width, m_dvdSkin.height, m_dvdSkin.format, GX_CLAMP, GX_CLAMP, GX_FALSE);
|
GX_InitTexObj(&texObj, m_dvdSkin.data, m_dvdSkin.width, m_dvdSkin.height, m_dvdSkin.format, GX_CLAMP, GX_CLAMP, GX_FALSE);
|
||||||
break;
|
break;
|
||||||
@ -1949,6 +1953,8 @@ bool CCoverFlow::start(const string &m_imgsDir)
|
|||||||
return false;
|
return false;
|
||||||
if(TexHandle.fromImageFile(m_dvdSkin_GreenTwo, fmt("%s/dvdskin_greentwo.png", m_imgsDir.c_str())) != TE_OK)
|
if(TexHandle.fromImageFile(m_dvdSkin_GreenTwo, fmt("%s/dvdskin_greentwo.png", m_imgsDir.c_str())) != TE_OK)
|
||||||
return false;
|
return false;
|
||||||
|
if(TexHandle.fromImageFile(m_dvdSkin_Clear, fmt("%s/dvdskin_clear.png", m_imgsDir.c_str())) != TE_OK)
|
||||||
|
return false;
|
||||||
m_dvdskin_loaded = true;
|
m_dvdskin_loaded = true;
|
||||||
}
|
}
|
||||||
/* load the no pic or loading cover images if not already done */
|
/* load the no pic or loading cover images if not already done */
|
||||||
|
@ -262,6 +262,7 @@ private:
|
|||||||
TexData m_dvdSkin_Yellow;
|
TexData m_dvdSkin_Yellow;
|
||||||
TexData m_dvdSkin_GreenOne;
|
TexData m_dvdSkin_GreenOne;
|
||||||
TexData m_dvdSkin_GreenTwo;
|
TexData m_dvdSkin_GreenTwo;
|
||||||
|
TexData m_dvdSkin_Clear;
|
||||||
// Settings
|
// Settings
|
||||||
string m_pngLoadCover;
|
string m_pngLoadCover;
|
||||||
string m_pngLoadCoverFlat;
|
string m_pngLoadCoverFlat;
|
||||||
|
@ -158,7 +158,7 @@ void CMenu::_checkboxesMenu(u8 md)
|
|||||||
}
|
}
|
||||||
|
|
||||||
CB_curPage = 1;
|
CB_curPage = 1;
|
||||||
CB_numPages = (max_checkbox / 10) + 1;
|
CB_numPages = ((max_checkbox - 1) / 10) + 1;
|
||||||
|
|
||||||
SetupInput();
|
SetupInput();
|
||||||
_showCheckboxesMenu();
|
_showCheckboxesMenu();
|
||||||
@ -171,9 +171,9 @@ void CMenu::_checkboxesMenu(u8 md)
|
|||||||
if(mode == 4)
|
if(mode == 4)
|
||||||
{
|
{
|
||||||
mode = 2;
|
mode = 2;
|
||||||
max_checkbox = m_max_source_btn;
|
max_checkbox = m_max_source_btn + 1;
|
||||||
CB_curPage = (curSource + 1) / 10 + 1;
|
CB_curPage = (curSource + 1) / 10 + 1;
|
||||||
CB_numPages = (max_checkbox / 10) + 1;
|
CB_numPages = ((max_checkbox - 1) / 10) + 1;
|
||||||
m_btnMgr.hide(m_checkboxesLblTitle, true);
|
m_btnMgr.hide(m_checkboxesLblTitle, true);
|
||||||
for(int i = 0; i < 11; ++i)
|
for(int i = 0; i < 11; ++i)
|
||||||
{
|
{
|
||||||
@ -244,7 +244,7 @@ void CMenu::_checkboxesMenu(u8 md)
|
|||||||
max_checkbox = 0;
|
max_checkbox = 0;
|
||||||
while(m_plugin.PluginExist(max_checkbox)) max_checkbox++;
|
while(m_plugin.PluginExist(max_checkbox)) max_checkbox++;
|
||||||
CB_curPage = 1;
|
CB_curPage = 1;
|
||||||
CB_numPages = (max_checkbox / 10) + 1;
|
CB_numPages = ((max_checkbox - 1)/ 10) + 1;
|
||||||
m_btnMgr.hide(m_checkboxesLblTitle, true);
|
m_btnMgr.hide(m_checkboxesLblTitle, true);
|
||||||
for(int i = 0; i < 11; ++i)
|
for(int i = 0; i < 11; ++i)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user