I would have a smallish coding question for you.. please.
In
GSco_R_ow ... i could prevent the Advisors top section from being open on startup & instead, swapped the toggling process (via tiny white Arrow) cycle to check such (already known) ruleset facts only when "required".
The code to do that operates from this function (( Line #467.. of default
WorldRanking.lua )) pulled off directly from the
Base/UI/PartialScreens folder;
==========================================
function ChangeActiveHeader(headerType:string, headerIM:table, parentControl:table)
g_activeheader = m_HeaderInstances[headerType];
if(g_activeheader == nil) then
g_activeheader = headerIM:GetInstance(parentControl);
m_HeaderInstances[headerType] = g_activeheader;
OnContractHeader(0, 0, g_activeheader.ContractHeaderButton);
end
end
==========================================
Adding that
Red instruction line .. is what executes the swap method.
Soooooo.. i'm trying to re-instante that trick directly into your current files (which one exactly and how?) structure.
BUT.. it seems the logic is different while you get through BWR linkers. At least what i attempted -- just failed.
Could you help me with this -- where exactly should this newly edited function be inserted?
Unless you'd have a better suggestion to reproduce such a custom process.
PS; Newly re-aligned and calibrated Header & personalized the Font-Icons, btw!