20 lines
556 B
C
20 lines
556 B
C
#ifndef WINDOWS_H
|
|
#define WINDOWS_H
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <ncurses.h>
|
|
|
|
int runMainMenu();
|
|
void runOptionsMenu();
|
|
void warningf(const char *fmt, ...);
|
|
void warning(char *string);
|
|
void statusf(const char *fmt, ...);
|
|
void status(char *msg);
|
|
WINDOW *create_newwin(int height, int width, int starty, int startx);
|
|
void destroy_win(WINDOW *local_win);
|
|
void print_menu(WINDOW *menu_win, int y, int x, int highlight);
|
|
void word_wrap_print(WINDOW *win, int start_y, int start_x, int max_width, const char *str);
|
|
|
|
#endif |