Skip to main content
PKunK.1
Associate III
January 20, 2021
Question

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

  • January 20, 2021
  • 1 reply
  • 551 views

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?

    This topic has been closed for replies.

    1 reply

    PKunK.1
    PKunK.1Author
    Associate III
    January 20, 2021

    I found a way.

    Thank you for reading my writing.