Añadir título a CpuMon

Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
2021-05-12 10:58:15 +02:00
parent 1e1f1ea828
commit ade963f35a
9 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,4 @@
#include "textos.hpp"
#include "ui.hpp"
#include <string>
#include <vector>

View File

@ -26,6 +26,7 @@ const extern std::string confTiempoError = "The time format must be HH:mm:ss";
const extern std::string confArchText_1 = "Autogenerated file by Stress_UI";
const extern std::string confArchText_2 =
"Do not edit manually without knowing what you do";
const extern std::string monitorTitulo = "CPU Monitor";
} // namespace en
#endif // __EN_HPP_

View File

@ -27,6 +27,7 @@ const extern std::string confTiempoError =
const extern std::string confArchText_1 = "Archivo autogenerado por Stress_UI";
const extern std::string confArchText_2 =
"No editar manualmente sin saber lo que se hace";
const extern std::string monitorTitulo = "Monitor CPU";
} // namespace es
#endif // __ES_HPP_

View File

@ -26,6 +26,7 @@ const extern std::string confTiempoError =
const extern std::string confArchText_1 = "Arquivo autoxenerado por Stress_UI";
const extern std::string confArchText_2 =
"Non editar manualmente sin saber o que se fai";
const extern std::string monitorTitulo = "Monitor CPU";
} // namespace gl
#endif // __GL_HPP_

View File

@ -24,6 +24,7 @@ extern std::string g_confHilosError;
extern std::string g_confTiempoError;
extern std::string g_confArchText_1;
extern std::string g_confArchText_2;
extern std::string g_monitorTitulo;
void inicializarIdioma(std::string idioma);
} // namespace txt

View File

@ -29,7 +29,7 @@ void showCenterMensaje(std::vector<std::string> *mensaje,
void showTopTitle(const std::vector<std::string> *titulo);
void mostrarVentana(WINDOW *ventana, std::vector<std::string> *texto,
int *ancho, uint8_t *sectores);
int *ancho, uint8_t *sectores, std::string *tituloVentana);
void borrarVentana(WINDOW *ventana);