This is the relevant part of the code...
constructor()
{
base.constructor( config["button"] );
m_text = fe.add_text( "", 0, 0, fe.layout.width, fe.layout.height );
m_text.first_line_hint = 0; // enables word wrapping
m_text.charsize = fe.layout.height / config[ "rows" ].tointeger();
m_text.bg_alpha=220;
m_text.visible=false;
}
This is the line of code that I don't get... How do I modify it to accept another button?
base.constructor( config["button"] );