src/gui/keyboard/keyboard.c
// Check user supplied charactor limit on text
Check user supplied charactor limit on text
Check user supplied charactor limit on text
void pg_keyboard_limitCheck(gslc_tsGui *pGui) {
  if (pg_keyboard_data->len > pg_keyboard_data->limit) {
    gslc_ElemSetTxtCol(pGui, pg_keyboardEl[E_KEYBOARD_EL_INPUT], GSLC_COL_RED_DK1);
  } else {
    gslc_ElemSetTxtCol(pGui, pg_keyboardEl[E_KEYBOARD_EL_INPUT], GSLC_COL_GREEN);
  }
}
void pg_keyboard_limitCheck ( gslc_tsGui * pGui ) { if ( pg_keyboard_data -> len > pg_keyboard_data -> limit ) { gslc_ElemSetTxtCol ( pGui , pg_keyboardEl [ E_KEYBOARD_EL_INPUT ] , GSLC_COL_RED_DK1 ) ; } else { gslc_ElemSetTxtCol ( pGui , pg_keyboardEl [ E_KEYBOARD_EL_INPUT ] , GSLC_COL_GREEN ) ; } }
Check user supplied charactor limit on text
Check user supplied charactor limit on text