2021-04-13 09:52 PM
Thank you for helping.
environment:
TouchGFX Ver 4.16.1
Prepare two released images and one pressed image.
While pressed, the pressed image is displayed.
I want to switch the image of the released image every time the button is pressed and released.
How should I implement it?
Thank you.
Solved! Go to Solution.
2021-04-13 10:03 PM
BITMAP_MENU_SEL_ID is from db you use your.
buttonWithLabel1.setBitmaps(touchgfx::Bitmap(BITMAP_MENU_SEL_ID), touchgfx::Bitmap(BITMAP_MENU_SEL_ID));
2021-04-13 10:03 PM
BITMAP_MENU_SEL_ID is from db you use your.
buttonWithLabel1.setBitmaps(touchgfx::Bitmap(BITMAP_MENU_SEL_ID), touchgfx::Bitmap(BITMAP_MENU_SEL_ID));
2021-04-14 05:53 PM
Hi MM1
I am always grateful for your help.
I didn't understand what it meant, but I could understand it by looking at BitmapDatabase.cpp.
I was able to operate as desired.
Thank you very much.