void CMenus::RenderSettingsWelstia(CUIRect MainView)
{
char aBuf[128 + IO_MAX_PATH_LENGTH];
CUIRect Label, Button, Left, Right, Game, Client;
MainView.HSplitTop(150.0f, &Game, &Client);
// headline
Game.HSplitTop(20.0f, &Label, &Game);
UI()->DoLabel(&Label, Localize("Game"), 20.0f, TEXTALIGN_ML);
Game.Margin(5.0f, &Game);
Game.VSplitMid(&Left, &Right);
Left.VSplitRight(5.0f, &Left, 0);
Right.VMargin(5.0f, &Right);
Left.HSplitTop(5.0f, 0, &Left);
Left.HSplitTop(20.0f, &Button, &Left);
{
if(DoButton_CheckBox(&g_Config.m_OFF, g_Config, m_ON, Localize("PiskaMod"), g_Config.m_ClPiskaMod, &Button))
{
if(g_Config.m_ClPiskaMod)
{
g_Config.m_ON = 1;
g_Config.m_OFF = 0;
}
else
{
g_Config.m_ON = 0;
g_Config.m_OFF = 1;
}
}
}
}
Он не находит