The class EHMTX_queue; does not fit the features anymore.
There should be more dynamic std::list instead, and there should be a class for each screen type to move the complexity from void EHMTX_queue::draw() to the separate screen classes. The base class should only contain the attributes common to all screens. I started to "sketch" it in m8trx32.h, but I have no time to develop this right now.
The result would be a much cleaner code with more dynamic, the number of different screens would be limited only by RAM. The screen identifier could be cleanly separated from the icon into an attribute, instead of the workaround with the "|". So it would also be possible to have multiple bitmap_screen if there is enough RAM.
The class
EHMTX_queue;does not fit the features anymore.There should be more dynamic
std::listinstead, and there should be a class for each screen type to move the complexity fromvoid EHMTX_queue::draw()to the separate screen classes. The base class should only contain the attributes common to all screens. I started to "sketch" it in m8trx32.h, but I have no time to develop this right now.The result would be a much cleaner code with more dynamic, the number of different screens would be limited only by RAM. The screen identifier could be cleanly separated from the icon into an attribute, instead of the workaround with the "|". So it would also be possible to have multiple bitmap_screen if there is enough RAM.