Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | List of all members
IndexClick Class Reference
Inheritance diagram for IndexClick:
ClickHandlerSlide::Click

Public Member Functions

 IndexClick (int index)
 
- Public Member Functions inherited from ClickHandlerSlide::Click
 Click ()
 
 Click (std::function< bool(Click *)> f)
 
virtual ~Click ()=default
 

Static Public Member Functions

static int GetIndex (Click *click)
 

Additional Inherited Members

- Public Attributes inherited from ClickHandlerSlide::Click
SkPoint fOrig = {0, 0}
 
SkPoint fPrev = {0, 0}
 
SkPoint fCurr = {0, 0}
 
skui::InputState fState = skui::InputState::kDown
 
skui::ModifierKey fModifierKeys = skui::ModifierKey::kNone
 
SkMetaData fMeta
 
std::function< bool(Click *)> fFunc
 
bool fHasFunc = false
 

Detailed Description

Definition at line 365 of file FatBitsSlide.cpp.

Constructor & Destructor Documentation

◆ IndexClick()

IndexClick::IndexClick ( int  index)
inline

Definition at line 369 of file FatBitsSlide.cpp.

369: fIndex(index) {}

Member Function Documentation

◆ GetIndex()

static int IndexClick::GetIndex ( Click click)
inlinestatic

Definition at line 371 of file FatBitsSlide.cpp.

371{ return ((IndexClick*)click)->fIndex; }

The documentation for this class was generated from the following file: