Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of VmRecorderV1dot1 by
ScreenManager/SelecManager.cpp
- Committer:
- JuanManuelAmador
- Date:
- 2015-07-14
- Revision:
- 2:e818c80e6d5c
- Parent:
- 0:3d456b8ce449
File content as of revision 2:e818c80e6d5c:
#include "SelecManager.h"
SelecManager::SelecManager(){
nScreens = 0;
}
int SelecManager::addScreen(Seleccion *screen){
screens[nScreens] = screen;
nScreens++;
return nScreens -1;
}
void SelecManager::setInverterSelection(){
for(int i = 0; i < nScreens; i++){
screens[i]->setInverterSelection();
}
}
void SelecManager::setRectSelection(){
for(int i = 0; i < nScreens; i++){
screens[i]->setRectSelection();
}
}
int SelecManager::getnScreens(){
return nScreens;
}
