mirror of
https://github.com/palera1n/palera1n.git
synced 2026-11-20 12:25:05 +01:00
build ncurses with more stuff
This commit is contained in:
1 parent
07169da20e
commit
bd7da74546
9 files changed
+179
-7
No files matched your search
@@ -0,0 +1,28 @@
|
||||
#ifndef TUI_H
|
||||
#define TUI_H
|
||||
#define NCURSES_WIDECHAR 1
|
||||
|
||||
#include <ncurses.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <inttypes.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <locale.h>
|
||||
#include <unistd.h>
|
||||
|
||||
struct button {
|
||||
char name[0x10];
|
||||
};
|
||||
|
||||
struct button_list {
|
||||
uint8_t count;
|
||||
uint8_t current;
|
||||
uint8_t height;
|
||||
struct button buttons[];
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user