Dar formato al código

This commit is contained in:
2021-05-06 12:00:44 +02:00
parent d12d6ae69b
commit 188eab4896
12 changed files with 397 additions and 351 deletions

View File

@@ -5,16 +5,27 @@
#define __UI_HPP_
namespace ui {
extern int g_maxLines, g_maxCols, g_begCol, g_begLine, g_menuWith;
//int8_t error;
extern bool g_mensaje;
extern int g_maxLines, g_maxCols, g_begCol, g_begLine, g_menuWith;
// int8_t error;
extern bool g_mensaje;
int8_t initUI(const int8_t *menu_principal, const int8_t *menu_error);
int8_t initUI(const int8_t *menu_principal, const int8_t *menu_error);
void closeUI();
std::vector<std::string> showCentralInputBox(std::vector<std::string> *textos, const int8_t *num_box, std::vector<std::string> *elems, const int8_t *color_error);
std::vector<std::string> showCentralInputBox(std::vector<std::string> *textos, const int8_t *num_box, std::vector<std::string> *elems, long title_size, const int8_t *color_error);
void showCenterMensaje(std::vector<std::string> *mensaje, const int8_t *menu_color);
void showTopTitle(const std::vector<std::string> *titulo);
void closeUI();
std::vector<std::string> showCentralInputBox(std::vector<std::string> *textos,
const int8_t *num_box,
std::vector<std::string> *elems,
const int8_t *color_error);
std::vector<std::string> showCentralInputBox(std::vector<std::string> *textos,
const int8_t *num_box,
std::vector<std::string> *elems,
long title_size,
const int8_t *color_error);
void showCenterMensaje(std::vector<std::string> *mensaje,
const int8_t *menu_color);
void showTopTitle(const std::vector<std::string> *titulo);
} // namespace ui
#endif // __UI_HPP_