ParaDocs/src/gameske_funkce.h

19 lines
453 B
C++

#include <ncurses.h>
#include <string>
#ifndef PARADOCS_GAFU_H_
#define PARADOCS_GAFU_H_
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
size_t spawn_menu(uint16_t begin_y, uint16_t begin_x, const char** choices,
size_t n_choices);
void print_in_middle(WINDOW* win, int starty, int startx, int width,
char* string, chtype color);
std::string spawncmd();
void async_clock_init();
#endif // PARADOCS_GAFU_H_