you could just add some variables in the panel struct?

atypes.h, line 517