cancel
Showing results for 
Search instead for 
Did you mean: 

I'm trying to add code to BitmapDatabase.hpp from the keyboard example but it is deleted once I run the simulator,

ksale.1
Senior

looks like I need user begin and end sections

const uint16_t BITMAP_ICON_KEYBOARD_EVEN_ROW_ID = 0;

const uint16_t BITMAP_ICON_KEYBOARD_HIGHLIGHTED_ID = 1;

const uint16_t BITMAP_ICON_KEYBOARD_ODD_ROW_ID = 2;

const uint16_t BITMAP_KEYBOARD_BACKGROUND_ID = 3;

const uint16_t BITMAP_KEYBOARD_KEY_DELETE_HIGHLIGHTED_ID = 4;

const uint16_t BITMAP_KEYBOARD_KEY_HIGHLIGHTED_ID = 5;

const uint16_t BITMAP_KEYBOARD_KEY_NUM_HIGHLIGHTED_ID = 6;

const uint16_t BITMAP_KEYBOARD_KEY_SHIFT_HIGHLIGHTED_ID = 7;

const uint16_t BITMAP_KEYBOARD_SPACE_HIGHLIGHTED_ID = 8;

2 REPLIES 2
Romain DIELEMAN
ST Employee

Hi,

This is expected as the modifications made in files under the /generated folder will be overwritten when generating code from TouchGFX Designer (so also when using the simulator or running on target options from Designer).

/Romain

Romain DIELEMAN
ST Employee

What are you trying to do by the way ? This is an old generated file containing information on the bitmaps generated by the image converter. It gets deleted at every code generation.

/Romain