24 lines
723 B
C
24 lines
723 B
C
#ifndef WINDOWSBACK_H
|
|
#define WINDOWSBACK_H
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <ncurses.h>
|
|
|
|
WINDOW *create_newwin(int height, int width, int starty, int startx);
|
|
void destroy_win(WINDOW *local_win);
|
|
|
|
void wwrap_print(WINDOW *win, int start_y, int start_x, const char *str);
|
|
int uiToggleSwitch(WINDOW *win, int y, int x, int state);
|
|
void uiTextInput(WINDOW *win, int y, int x, char *input, int max_len);
|
|
int uiSelectMenu(WINDOW *win, int start_y, int start_x, char **options, int n_options);
|
|
void print_menu(WINDOW *menu_win, int y, int x, int highlight);
|
|
|
|
void warningf(const char *fmt, ...);
|
|
void warning(char *string);
|
|
void statusf(const char *fmt, ...);
|
|
void status(char *msg);
|
|
|
|
#endif
|