-
Notifications
You must be signed in to change notification settings - Fork 0
/
TUIDLGS.H
36 lines (25 loc) · 1.27 KB
/
TUIDLGS.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef _TUIDLGS_H
#define _TUIDLGS_H
#define FILE_OPEN 0
#define FILE_SAVE 1
extern "C" { void InitTui(void); }
extern "C" { void ResetTui(void); }
extern "C" { void SetDesktop(char ch, char attr); };
extern "C" { void ShowDesktop( void ); }
extern "C" { void HideDesktop( void ); }
extern "C" { void StatusLine( char* ); }
extern "C" { int MessageBox( char* head, char* msg ); }
extern "C" { int ErrorBox( char* head, char* msg ); }
extern "C" { int QuestionBox( char* head, char* msg, int flags ); }
extern "C" { int EditBox( char* head, char* msg, char* text, int len=32 ); }
extern "C" { int PassBox( char* head, char* msg, char* text, int len=32 ); }
extern "C" { int FileOpen( char* mask, char* fullname ); }
extern "C" { int FileSave( char* mask, char* fullname ); }
extern "C" { void ProgressBar( unsigned long size, unsigned long pos, char* head, char* msg, unsigned long subsize=0, unsigned long subpos=0 ); }
extern "C" { void HideProgressBar( void ); }
extern "C" { int MenuList( int x, int y, char*, char* ); }
//extern "C" { int SelectList( int x, int y, char* ); }
//extern "C" { int ListList( int x, int y, char* ); }
extern "C" { void TuiBeep( int freq, int msec ); }
extern "C" { void TuiGreet( void ); }
#endif