using namespace std en todos los ficheros

This commit is contained in:
2023-05-23 17:40:12 +02:00
parent 5a5bbf7f73
commit c31bfc6cae
15 changed files with 218 additions and 197 deletions

View File

@@ -8,6 +8,8 @@
#ifndef SCREEN_H
#define SCREEN_H
using namespace std;
#define FILTER_NEAREST 0
#define FILTER_LINEAL 1
@@ -38,7 +40,7 @@ private:
bool spectrumFade; // Indica si esta activo el efecto de fade spectrum
int spectrumFadeCounter; // Temporizador para el efecto de fade spectrum
int spectrumFadeLenght; // Duración del fade spectrum
std::vector<color_t> spectrumColor; // Colores para el fade spectrum
vector<color_t> spectrumColor; // Colores para el fade spectrum
// Inicializa las variables para el fade
void iniFade();
@@ -133,7 +135,7 @@ public:
void updateNotifier();
// Muestra una notificación de texto por pantalla;
void showNotification(std::string text1 = "", std::string text2 = "", int icon = -1);
void showNotification(string text1 = "", string text2 = "", int icon = -1);
// Actualiza la lógica del objeto
void update();