cancel
Showing results for 
Search instead for 
Did you mean: 

Tell me how to use it simply. setBitmaps (const Bitmap & bitmapReleased, const Bitmap & bitmapPressed)

PKunK.1
Associate III

There is an image button.

In Normal state, the image is displayed, and when the button is pressed, the B image is displayed.

I looked at the functions to use this function. 

setBitmaps (const Bitmap & bitmapReleased, const Bitmap & bitmapPressed) 

If you use this function to set the boolean bpressInfo to zero.

bitmapReleased displays A image, bitmapRressed displays B image.

And if bpressInfo is 1, bitmapReleased is B image and bitmapRressed is A image.

If the function is possible, can you show me a simple example?

1 REPLY 1
PKunK.1
Associate III

I found a way.

Thank you for reading my writing.