Versión de Firmware con funciones de RAM incorporadas.
Dependencies: mbed
Fork of VmRecorderV1dot1 by
Diff: ScreenManager/SelecManager.cpp
- Revision:
- 0:3d456b8ce449
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ScreenManager/SelecManager.cpp Mon Jun 15 15:34:27 2015 +0000 @@ -0,0 +1,27 @@ +#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; +} \ No newline at end of file