mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-24 19:01:56 +01:00
- changed the cat menu and plugin menu to display checkboxes first then text. Here you go Jiiwah, try this it should help your theme problem.
This commit is contained in:
parent
1be7b9d82e
commit
28269ce102
@ -91,22 +91,22 @@ void CMenu::_updateCheckboxes(void)
|
||||
{
|
||||
if(i == 0 && gameSet)
|
||||
continue;
|
||||
m_btnMgr.show(m_categoryLblCat[i]);
|
||||
if(catflags[i] == '1')
|
||||
m_btnMgr.show(m_categoryBtnCats[i]);
|
||||
else
|
||||
m_btnMgr.show(m_categoryBtnCat[i]);
|
||||
m_btnMgr.show(m_categoryLblCat[i]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for(int i = 11; i < m_max_categories; ++i)
|
||||
{
|
||||
m_btnMgr.show(m_categoryLblCat[i]);
|
||||
if(catflags[i] == '1')
|
||||
m_btnMgr.show(m_categoryBtnCats[i]);
|
||||
else
|
||||
m_btnMgr.show(m_categoryBtnCat[i]);
|
||||
m_btnMgr.show(m_categoryLblCat[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -76,21 +76,21 @@ void CMenu::_updatePluginCheckboxes(void)
|
||||
j = m_max_plugins;
|
||||
for(u8 i = 0; i < j; ++i)
|
||||
{
|
||||
m_btnMgr.show(m_pluginLblCat[i]);
|
||||
if((EnabledPlugins.size() == 0) || (i != 0 && EnabledPlugins.size() >= i && EnabledPlugins[i - 1] == true))
|
||||
m_pluginBtn[i] = m_pluginBtnCats[i];
|
||||
else
|
||||
m_pluginBtn[i] = m_pluginBtnCat[i];
|
||||
m_btnMgr.show(m_pluginBtn[i]);
|
||||
m_btnMgr.show(m_pluginLblCat[i]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for(int i = 11; i < m_max_plugins; ++i)
|
||||
{
|
||||
m_btnMgr.show(m_pluginLblCat[i]);
|
||||
m_pluginBtn[i] = m_pluginBtnCat[i];
|
||||
m_btnMgr.show(m_pluginBtn[i]);
|
||||
m_btnMgr.show(m_pluginLblCat[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user