#include <VisibleEffect.h>
Class used to handle scrolling, allow using tweeners. Usage: start scrolling using ScrollTo() method / stop scrolling using Stop() method update scroll value each frame with current time using Update() method get/set scroll value using GetValue()/SetValue() 
 
◆ CScroller() [1/2]
      
        
          | CScroller::CScroller  | 
          ( | 
          unsigned int  | 
          duration = 200,  | 
        
        
           | 
           | 
          std::shared_ptr< Tweener >  | 
          tweener = std::shared_ptr<Tweener>()  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ CScroller() [2/2]
      
        
          | CScroller::CScroller  | 
          ( | 
          const CScroller &  | 
          right | ) | 
           | 
        
      
 
 
◆ ~CScroller()
  
  
      
        
          | CScroller::~CScroller  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
default   | 
  
 
 
◆ GetDuration()
  
  
      
        
          | unsigned int CScroller::GetDuration  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetValue()
  
  
      
        
          | float CScroller::GetValue  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ IsScrolling()
  
  
      
        
          | bool CScroller::IsScrolling  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ IsScrollingDown()
  
  
      
        
          | bool CScroller::IsScrollingDown  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ IsScrollingUp()
  
  
      
        
          | bool CScroller::IsScrollingUp  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator=()
◆ ScrollTo()
      
        
          | void CScroller::ScrollTo  | 
          ( | 
          float  | 
          endPos | ) | 
           | 
        
      
 
Set target value scroller will be scrolling to 
- Parameters
 - 
  
  
 
 
 
◆ SetValue()
  
  
      
        
          | void CScroller::SetValue  | 
          ( | 
          float  | 
          scrollValue | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ Stop()
Immediately stop scrolling 
 
 
◆ Update()
      
        
          | bool CScroller::Update  | 
          ( | 
          unsigned int  | 
          time | ) | 
           | 
        
      
 
Update the scroller to where it would be at the given time point, calculating a new Value. 
- Parameters
 - 
  
  
 
- Returns
 - True if we are scrolling at given time point 
 
 
 
The documentation for this class was generated from the following files: