So in the extern section, we make a UniqueButtonID
Code: Select all
extern string UniqueButtonID = "Mando";
Code: Select all
int init() //don't change anything here
{
IndicatorName = GenerateIndicatorName(UniqueButtonID);
IndicatorObjPrefix = "__" + IndicatorName + "__";
IndicatorShortName(IndicatorName);
IndicatorDigits(Digits);
visibility.Init("show_hide_"+UniqueButtonID, IndicatorName, btn_text, button_x, button_y);
//DON'T put the init function here
return 0;
};