Versión de Firmware con funciones de RAM incorporadas.
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; }