2022-11-08 07:41 AM
Hi,
I would like to know if it is possible to 'freeze' the bitmap ID from build to build?
I.e. give myself an ID...
It is for a remote display with picto-button type, but the customer request is that he wants now a remote with a dynamic keypad. The button matrix(position, picto id, event...) would be send by communication by the other card.
While the number of picto is constant there will not trouble. If the number changes it will be not compatible.
It seems it is in alphabetic order in bitmapdatabase.hpp and the only solution if I add a picto in the future it is to insert with end of alphabet character to put in the end of the regenerated list.
Pierre
2022-11-09 12:47 AM
Hello @Community member ,
Not sure that is possible with TouchGFX, but you could maybe try something from this article.
Also, why are you not sending the string associated to the bitmap name, or another data related to each bitmap, instead of a integer which can change on runtime ?
/Yoann
2022-11-10 12:11 AM
Hi Yoann,
I think it could be better that I send my own list of ID and make a matching table as you advice.
Pierre