touchgfx::ToggleButton::setBitmaps() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::ToggleButton::setBitmaps()

touchgfx::ToggleButton::setBitmaps() method

@fn virtual void ToggleButton::setBitmaps(const Bitmap& bmpReleased, const Bitmap& bmpPressed) Sets the bitmaps. Sets the bitmaps. @see Button::setBitmaps

Syntax

virtual void setBitmaps(const Bitmap& bmpReleased,     const Bitmap& bmpPressed);

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.

References

LocationText
ToggleButton.hpp:62
virtual void setBitmaps(const Bitmap& bmpReleased, const Bitmap& bmpPressed)

Call Tree

Functions called by touchgfx::ToggleButton::setBitmaps()
touchgfx::ToggleButton::setBitmaps()
touchgfx::Bitmap::operator=()
all items filtered out
Methods overriding this one
touchgfx::ToggleButton::setBitmaps()
all items filtered out