Versión de Firmware con funciones de RAM incorporadas.

Dependencies:   mbed

Fork of VmRecorderV1dot1 by virtualmech

Revision:
0:3d456b8ce449
diff -r 000000000000 -r 3d456b8ce449 ScreenManager/SelecManager.cpp
--- /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