Go to the documentation of this file.
84 bool Matrix::Init(
const unsigned int& t_A,
const unsigned int& t_B,
const unsigned int& t_C,
85 const unsigned int& t_CLK,
const unsigned int& t_LAT,
const unsigned int& t_OE,
86 const bool& t_DOUBLE_BUFFERING)
312 t_toConvert.toCharArray(l_Container, t_toConvert.length() + 1);
322 char* l_Container =
new char[t_Length];
333 delete[] t_toDeallocate;
422 bool Matrix::set_Color(
const unsigned int& t_RED,
const unsigned int& t_GREEN,
const unsigned int& t_BLUE)
452 unsigned int l_GREEN;
556 const unsigned int& t_RED,
const unsigned int& t_GREEN,
const unsigned int& t_BLUE,
const IncrementalModifyBuffer& t_Switch )
662 const unsigned int& t_RED,
const unsigned int& t_GREEN,
const unsigned int& t_BLUE,
const IncrementalModifyBuffer& t_Switch )
784 const unsigned int& t_RED,
const unsigned int& t_GREEN,
const unsigned int& t_BLUE,
const IncrementalModifyBuffer& t_Switch )
902 const unsigned int& t_RED,
const unsigned int& t_GREEN,
const unsigned int& t_BLUE,
const IncrementalModifyBuffer& t_Switch )
1035 bool Matrix::ShowBitmap(
const unsigned char* t_toShow,
const int& t_x,
const int& t_y,
const unsigned int& t_RED,
const unsigned int& t_GREEN,
const unsigned int& t_BLUE,
1050 m_Matrix->drawBitmap(t_x, t_y, t_toShow, t_w, t_h,
m_Matrix->Color888(t_RED, t_GREEN, t_BLUE));
1058 m_Matrix->drawBitmap(t_x, t_y, t_toShow, t_w, t_h,
m_Matrix->Color888(t_RED, t_GREEN, t_BLUE));
1080 unsigned int l_GREEN;
1081 unsigned int l_BLUE;
1091 m_Matrix->drawBitmap(t_x, t_y, t_toShow, t_w, t_h,
m_Matrix->Color888(l_RED, l_GREEN, l_BLUE));
1099 m_Matrix->drawBitmap(t_x, t_y, t_toShow, t_w, t_h,
m_Matrix->Color888(l_RED, l_GREEN, l_BLUE));
1110 bool Matrix::ClearShowBitmap(
const unsigned char* t_toShow,
const int& t_x,
const int& t_y,
const unsigned int& t_RED,
const unsigned int& t_GREEN,
const unsigned int& t_BLUE,
1128 m_Matrix->drawBitmap(t_x, t_y, t_toShow, t_w, t_h,
m_Matrix->Color888(t_RED, t_GREEN, t_BLUE));
1140 m_Matrix->drawBitmap(t_x, t_y, t_toShow, t_w, t_h,
m_Matrix->Color888(t_RED, t_GREEN, t_BLUE));
1162 unsigned int l_GREEN;
1163 unsigned int l_BLUE;
1176 m_Matrix->drawBitmap(t_x, t_y, t_toShow, t_w, t_h,
m_Matrix->Color888(l_RED, l_GREEN, l_BLUE));
1188 m_Matrix->drawBitmap(t_x, t_y, t_toShow, t_w, t_h,
m_Matrix->Color888(l_RED, l_GREEN, l_BLUE));
static constexpr auto _LAT
static bool set_Color(const unsigned int &t_RED, const unsigned int &t_GREEN, const unsigned int &t_BLUE)
Imposta il colore delle informazioni da visualizzare.
static bool Show(const char *t_toShow)
Visualizza sullo schermo della matrice l'informazione fornita come parametro.
static void reset_Container()
Resetta (assegna il valore di default) al contenitore.
static char * m_Container
static bool ReInit()
LowLevel reallocator della classe Matrix.
static bool ShowLogo_CrossedWiFi()
Visualizza il logo del WiFi crossed.
static unsigned int *const get_LAT()
LowLevel getter per l'attributo m_LAT.
static bool SwapBuffers(const IncrementalModifyBuffer &t_Switch)
Effettua lo swap dei due buffer 'back_buffer', 'front_buffer'.
static bool Clear()
"Pulisce" lo schermo della matrice
static unsigned int *const get_C()
LowLevel getter per l'attributo m_C.
static unsigned int *const get_B()
LowLevel getter per l'attributo m_B.
static bool deallocate_forConversion(char *t_toDeallocate)
Gestisce la deallocazione del contenitore per la conversione.
Color
Enumerazione per la definizione dei principali colori utilizzabili per la visualizzazione di informaz...
static RGBmatrixPanel * m_Matrix
static unsigned int *const get_CLK()
LowLevel getter per l'attributo m_CLK.
static bool ShowAutomated(const char *t_toShow, const int &t_x, const int &t_y, const unsigned int &t_Size, const unsigned int &t_RED, const unsigned int &t_GREEN, const unsigned int &t_BLUE, const IncrementalModifyBuffer &t_Switch=IncrementalModifyBuffer::INVALID_REFERENCE)
AUTOMATIZZATO: Visualizza sullo schermo della matrice l'informazione fornita come parametro.
static constexpr auto _OE
static bool Begin()
Metodo di avvio della matrice.
static bool Init()
Metodo di inizializzazione dei componenti della classe.
static bool ClearShowAutomated(const char *t_toShow, const int &t_x, const int &t_y, const unsigned int &t_Size, const unsigned int &t_RED, const unsigned int &t_GREEN, const unsigned int &t_BLUE, const IncrementalModifyBuffer &t_Switch=IncrementalModifyBuffer::INVALID_REFERENCE)
AUTOMATIZZATO: Visualizza sullo schermo della matrice l'informazione fornita come parametro.
static bool SwapBuffersAutomated()
AUTOMATIZZATO: Effettua lo swap dei due buffer 'back_buffer', 'front_buffer'.
static void set_Container(char *t_toSet)
Assegna un valore (indirizzo di memoria) al contenitore.
static bool set_Cursor(const int &t_x, const int &t_y)
Imposta il cursore alle coordinate specificate.
static unsigned int m_LAT
static char * from_String_to_Char(String &t_toConvert)
Converte una stringa 'String' in un vettore di caratteri 'char*'.
static RGBmatrixPanel *const get_Matrix()
LowLevel getter per l'attributo m_Matrix.
static unsigned int m_CLK
static bool ShowLogo_WiFi()
Visualizza il logo del WiFi.
static void DefineShades(const Color &t_COLOR, unsigned int &t_RED, unsigned int &t_GREEN, unsigned int &t_BLUE)
Determina la composizione RGB in base al campo enumerativo per il colore indicato.
static bool ShowLogo_GBE()
Visualizza il logo originale della RadioSvegliaGBE.
static bool ShowBitmap(const unsigned char *t_toShow, const int &t_x, const int &t_y, const unsigned int &t_RED, const unsigned int &t_GREEN, const unsigned int &t_BLUE, const IncrementalModifyBuffer &t_Switch=IncrementalModifyBuffer::INVALID_REFERENCE, const unsigned int &t_w=Matrix__file::_w, const unsigned int &t_h=Matrix__file::_h)
AUTOMATIZZATO: Visualizza sullo schermo della matrice l'informazione fornita come parametro --> BITMA...
static bool ClearShowBitmap(const unsigned char *t_toShow, const int &t_x, const int &t_y, const unsigned int &t_RED, const unsigned int &t_GREEN, const unsigned int &t_BLUE, const IncrementalModifyBuffer &t_Switch=IncrementalModifyBuffer::INVALID_REFERENCE, const unsigned int &t_w=Matrix__file::_w, const unsigned int &t_h=Matrix__file::_h)
AUTOMATIZZATO: Visualizza sullo schermo della matrice l'informazione fornita come parametro --> BITMA...
static char * allocate_forConversion(const unsigned int &t_Length)
Gestisce l'allocazione del contenitore per la conversione.
static constexpr bool _DOUBLE_BUFFERING
static unsigned int *const get_OE()
LowLevel getter per l'attributo m_OE.
static bool *const get_DOUBLE_BUFFERING()
LowLevel getter per l'attributo m_DOUBLE_BUFFERING.
IncrementalModifyBuffer
Enumerazione per la definizione degli stati di sovrascrittura o aggiunta durante la visualizzazione d...
static unsigned int *const get_A()
LowLevel getter per l'attributo m_A.
static constexpr auto _CLK
static bool set_TextSize(const unsigned int &t_Size)
Imposta la dimensione del testo da visualizzare.
static bool m_DOUBLE_BUFFERING