touchgfx::ToggleButton::setBitmaps() method
@fn virtual void ToggleButton::setBitmaps(const Bitmap& bmpReleased, const Bitmap& bmpPressed) Sets the bitmaps. Sets the bitmaps. @see Button::setBitmaps
Arguments
bmpReleased
The bitmap to show in the "normal" state, ie when button is not pressed.
bmpPressed
The bitmap to show when the button is pressed.
Notes
This specific implementation remembers what bitmap was used as pressed, in order to support the ability to force the state.
Functions called by touchgfx::ToggleButton::setBitmaps()
touchgfx::ToggleButton::setBitmaps()
touchgfx::Bitmap::operator=() all items filtered out
Data read by touchgfx::ToggleButton::setBitmaps()
touchgfx::ToggleButton::setBitmaps()
Methods overriding this one
touchgfx::ToggleButton::setBitmaps()