Class · aurore

aurore::Dropdown

On this page
aurore/views/dropdown.hpp
#include <aurore/views/dropdown.hpp>

class aurore::Dropdown : public aurore::Box, private aurore::RecyclerDataSource

Constructors 1

Functions 6

virtual void show(std::function< void(void)> cb,bool animate,float animationDuration) override

Shows the view with a fade in animation, or no animation at all.

Overrides aurore::View::show

dropdown.hpp:73
virtual void hide(std::function< void(void)> cb,bool animate,float animationDuration) override

Hides the view with a fade out animation, or no animation at all.

Overrides aurore::View::hide

dropdown.hpp:74
virtual AppletFrame * getAppletFrame() override

The AppletFrame the view is in, or nullptr.

Overrides aurore::View::getAppletFrame

dropdown.hpp:76
virtual View * getParentNavigationDecision(View *from,View *newFocus,FocusDirection direction) override

The focus about to move from from to newFocus: a box may give another view instead. Asked of every parent up the tree; returns newFocus by default.

Overrides aurore::Box::getParentNavigationDecision

dropdown.hpp:77
Event< RecyclerCell * > * getCellFocusDidChangeEvent()
virtual bool isTranslucent() override

Is this view translucent?

If you override it please return

|| View::isTranslucent() to keep the fadeIn transition

Overrides aurore::View::isTranslucent

dropdown.hpp:84

Also the functions of aurore::Box (53), aurore::View (221).

Protected functions 3

virtual float getShowAnimationDuration(TransitionAnimation animation) override

Returns the duration of the view show / hide animation.

Overrides aurore::View::getShowAnimationDuration

dropdown.hpp:64
virtual AccessibilityRole getDefaultAccessibilityRole() override

The view's own role and label when the app gave none.

Overrides aurore::View::getDefaultAccessibilityRole

dropdown.hpp:67
virtual std::string getDefaultAccessibilityLabel() override

A focusable box says the texts shown in it (getAccessibilityText).

Overrides aurore::Box::getDefaultAccessibilityLabel

dropdown.hpp:68

Read from Aurore's headers by Doxygen at each build · library/include