VerticalSlideMenu is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

VerticalSlideMenu class

Syntax

class VerticalSlideMenu : public Container { public:     VerticalSlideMenu();     virtual ~VerticalSlideMenu();     void animateUp();     void animateDown();     void setup(int numberOfElements, int selectedElementIndex, Bitmap smallBmp, Bitmap largeBmp);     void setBitmapsForElement(int elementIndex, BitmapId smallBmp, BitmapId largeBmp);     void setAnimationDuration(int duration)     {         animationDuration = duration;     }     int getAnimationDuration()     {         return animationDuration;     }     void setElementSelectedCallback(touchgfx::GenericCallback<const VerticalSlideMenu&>& callback)     {         elementSelectedAction = &callback;     }     int getSelectedElementIndex()     {         return currentSelected;     }     int getSize()     {         return size;     } private:     static const uint8_t MAX_SIZE = 10;     GenericCallback<const VerticalSlideMenu&>* elementSelectedAction;     ZoomAnimationImage images[MAX_SIZE];     uint8_t size;     uint8_t currentSelected;     int animationDuration;     int largeImageY;     int smallImageWidth;     int largeImageWidth;     int imagesYPositionDelta;     int largeImageHeight;     int smallImageX;     int smallImageHeight;     int largeImageX;     int fixedCenterCorrection;     Callback<VerticalSlideMenu, const ZoomAnimationImage&> animationEndedCallback;     void animationEndedHandler(const ZoomAnimationImage& image);     bool animating(); };

Fields

MAX_SIZE

No summary provided. Read more...

elementSelectedAction

No summary provided. Read more...

images

No summary provided. Read more...

size

No summary provided. Read more...

currentSelected

No summary provided. Read more...

animationDuration

No summary provided. Read more...

largeImageY

No summary provided. Read more...

smallImageWidth

No summary provided. Read more...

largeImageWidth

No summary provided. Read more...

imagesYPositionDelta

No summary provided. Read more...

largeImageHeight

No summary provided. Read more...

smallImageX

No summary provided. Read more...

smallImageHeight

No summary provided. Read more...

largeImageX

No summary provided. Read more...

fixedCenterCorrection

No summary provided. Read more...

animationEndedCallback

No summary provided. Read more...

Methods

animateUp()

No summary provided. Read more...

animateDown()

No summary provided. Read more...

setup()

No summary provided. Read more...

setBitmapsForElement()

No summary provided. Read more...

setAnimationDuration()

No summary provided. Read more...

getAnimationDuration()

No summary provided. Read more...

setElementSelectedCallback()

No summary provided. Read more...

getSelectedElementIndex()

No summary provided. Read more...

getSize()

No summary provided. Read more...

animationEndedHandler()

No summary provided. Read more...

animating()

No summary provided. Read more...

References

LocationReferrerScopeText
VerticalSlideMenu.hpp:27
class VerticalSlideMenu : public Container
CustomControlsView.cpp:273CustomControlsView::slideMenuElementSelectedHandler()
CustomControlsView.hpp:56CustomControlsView::slideMenuCustomControlsView
VerticalSlideMenu slideMenu;
CustomControlsView.hpp:58CustomControlsView::slideMenuElementSelectedHandler()::menuCustomControlsView::slideMenuElementSelectedHandler()
void slideMenuElementSelectedHandler(const VerticalSlideMenu& menu);
VerticalSlideMenu.cpp:23VerticalSlideMenu::VerticalSlideMenu()
VerticalSlideMenu::VerticalSlideMenu() :
VerticalSlideMenu.cpp:30VerticalSlideMenu::setup()
VerticalSlideMenu.cpp:78VerticalSlideMenu::~VerticalSlideMenu()
VerticalSlideMenu::~VerticalSlideMenu()
VerticalSlideMenu.cpp:82VerticalSlideMenu::setBitmapsForElement()
VerticalSlideMenu.cpp:94VerticalSlideMenu::animateUp()
void VerticalSlideMenu::animateUp()
VerticalSlideMenu.cpp:132VerticalSlideMenu::animateDown()
void VerticalSlideMenu::animateDown()
VerticalSlideMenu.cpp:170VerticalSlideMenu::animationEndedHandler()
void VerticalSlideMenu::animationEndedHandler(const ZoomAnimationImage& image)
VerticalSlideMenu.cpp:179VerticalSlideMenu::animating()
bool VerticalSlideMenu::animating()

Class Tree

Child classes
VerticalSlideMenu
all items filtered out
Variables of VerticalSlideMenu type
VerticalSlideMenu