cancel
Showing results for 
Search instead for 
Did you mean: 

ID in bitmapdatabase.hpp

PCu1
Senior

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

2 REPLIES 2
Yoann KLEIN
ST Employee

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

Yoann KLEIN
ST Software Developer | TouchGFX

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