mirror of
https://gitlab.com/comunic/comunicterm
synced 2024-11-16 10:31:06 +00:00
24 lines
363 B
C++
24 lines
363 B
C++
#include <ui_utils.h>
|
|
|
|
#include <string>
|
|
|
|
using namespace std;
|
|
|
|
void ui_utils::print_base_screen(WINDOW *w)
|
|
{
|
|
printw("ComunicTerm"); /* Print Hello World */
|
|
|
|
|
|
// Get screen size
|
|
int row, col;
|
|
getmaxyx(w, row, col);
|
|
|
|
const string msg = "Light client";
|
|
mvprintw(0, (col-static_cast<int>(msg.length())), msg.c_str());
|
|
refresh();
|
|
|
|
|
|
|
|
|
|
}
|