- 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:
fledge68 2012-07-05 11:43:43 +00:00
parent 1be7b9d82e
commit 28269ce102
2 changed files with 4 additions and 4 deletions

View File

@ -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]);
}
}
}

View File

@ -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]);
}
}
}