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

touchgfx::RadioButton::setBitmaps() method

@fn virtual void RadioButton::setBitmaps(const Bitmap& bmpUnselected, const Bitmap& bmpUnselectedPressed, const Bitmap& bmpSelected, const Bitmap& bmpSelectedPressed); Sets the bitmaps used by this button. Sets the bitmaps used by this button. If no special pressed states are needed just specify the same bitmap for both pressed and non-pressed bitmaps.

Syntax

virtual void setBitmaps(const Bitmap& bmpUnselected,     const Bitmap& bmpUnselectedPressed,     const Bitmap& bmpSelected,     const Bitmap& bmpSelectedPressed);

Arguments

bmpUnselected

Bitmap to use when button is unselected.

bmpUnselectedPressed

Bitmap to use when button is unselected and pressed.

bmpSelected

Bitmap to use when button is selected.

bmpSelectedPressed

Bitmap to use when button is selected and pressed.

References

LocationText
RadioButton.hpp:102
virtual void setBitmaps(const Bitmap& bmpUnselected, const Bitmap& bmpUnselectedPressed, const Bitmap& bmpSelected, const Bitmap& bmpSelectedPressed);