src/gui/keyboard/keyboard.c
////////////////////////////
// DRAW KEYBOARD ELEMENTS
// Create GUISlice KeyBtn Element
DRAW KEYBOARD ELEMENTS
Create GUISlice KeyBtn Element
DRAW KEYBOARD ELEMENTS Create GUISlice KeyBtn Element
gslc_tsElemRef* pg_keyboard_guiKeyboard_CreateElem(gslc_tsGui* pGui) {
  int ePage = E_PG_KEYBOARD;
  gslc_tsElemRef* layoutEl = gslc_ElemCreateBtnTxt(pGui, GSLC_ID_AUTO, ePage,
          (gslc_tsRect) {0, 0, 1, 1},
          (char*)"", 0, E_FONT_MONO24, &pg_keyboard_cbBtn);
  gslc_ElemSetTxtCol(pGui, layoutEl, GSLC_COL_WHITE);
  gslc_ElemSetCol(pGui, layoutEl, GSLC_COL_WHITE, GSLC_COL_BLACK, GSLC_COL_BLACK);
  gslc_ElemSetTxtAlign(pGui, layoutEl, GSLC_ALIGN_MID_MID);
  gslc_ElemSetFillEn(pGui, layoutEl, true);
  gslc_ElemSetFrameEn(pGui, layoutEl, true);
  return layoutEl;
}
gslc_tsElemRef * pg_keyboard_guiKeyboard_CreateElem ( gslc_tsGui * pGui ) { int ePage = E_PG_KEYBOARD ; gslc_tsElemRef * layoutEl = gslc_ElemCreateBtnTxt ( pGui , GSLC_ID_AUTO , ePage , ( gslc_tsRect ) { 0 , 0 , 1 , 1 } , ( char * ) " " , 0 , E_FONT_MONO24 , & pg_keyboard_cbBtn ) ; gslc_ElemSetTxtCol ( pGui , layoutEl , GSLC_COL_WHITE ) ; gslc_ElemSetCol ( pGui , layoutEl , GSLC_COL_WHITE , GSLC_COL_BLACK , GSLC_COL_BLACK ) ; gslc_ElemSetTxtAlign ( pGui , layoutEl , GSLC_ALIGN_MID_MID ) ; gslc_ElemSetFillEn ( pGui , layoutEl , true ) ; gslc_ElemSetFrameEn ( pGui , layoutEl , true ) ; return layoutEl ; }
DRAW KEYBOARD ELEMENTS
Create GUISlice KeyBtn Element
DRAW KEYBOARD ELEMENTS Create GUISlice KeyBtn Element