ParaDocs/src/gameske_funkce.h

20 lines
526 B
C++

#include "strings.h"
#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,
const char *string, chtype color);
std::string spawncmd(const std::string prompt = loc_strings->command);
void async_clock_init();
#endif // PARADOCS_GAFU_H_