Пример #1
0
int TyrionUI::updateState()
{
  int joyPos = _joystick.getJoyStick();
  
  if(joyPos==2){
       editMode = !editMode;
   }
  
  if(editMode){
       
  }else{
      
      if(joyPos==3){
        _prevPage();
      }else
      if(joyPos==5){
        _nextPage();
      }
  }
  
  int retour = _pagesProps[_currPage];
  
  return retour;
  
  //return _currPage;
}
Пример #2
0
void PDFController::_swipeLeft()
{
    _nextPage();
}