Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
mvahes
/
Lennubroneerimis_tarkvara
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4cb8780c
authored
Mar 19, 2023
by
krmaet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
5d0823f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
main.h
main.h
0 → 100644
View file @
4cb8780c
#ifndef MAIN_H
#define MAIN_H
#include <ncurses.h>
#include "changedata.h"
#define STR_MAX 128
#define ENTER_KEY 10
#define UP_KEY 65
#define DOWN_KEY 66
#define NONE -1
WINDOW
*
create_newwin
(
int
height
,
int
width
,
int
starty
,
int
startx
);
void
printIntro
(
int
*
row
,
int
*
col
);
int
printIntroMenu
(
int
*
row
,
int
*
col
);
enum
admin
{
FLIGHT_INFO
,
CLIENT_INFO
,
EXIT
};
enum
assistant
{
USER_INFO
,
CHECK_IN
};
enum
user
{
NAME
,
DOCUMENT
,
SEAT
,
BAGGAGE
,
BACK
};
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment