1
0
mirror of https://gitlab.com/comunic/comunicterm synced 2024-07-05 23:19:14 +00:00
comunicterm/ui_utils.h

20 lines
373 B
C
Raw Normal View History

2020-01-08 20:03:38 +00:00
/**
* UI utilities
*
* @author Pierre HUBERT
*/
#include <ncurses.h>
#include <string>
#pragma once
namespace ui_utils {
void alert(WINDOW *win, const std::string &msg);
void print_base_screen(WINDOW *w);
2020-01-14 20:12:52 +00:00
void remove_special_chars(std::string &input);
2020-01-08 20:03:38 +00:00
}
2020-01-13 21:50:26 +00:00
void print_in_middle(WINDOW *win, int starty, int startx, int width, char *string, chtype color);