Code refactor

This commit is contained in:
admin committed 2026-05-29 21:10:06 +02:00
1 parent 673b58caec
commit c69c420781
7 files changed
+315 -289

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#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