You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
931 B

#ifndef __CLI_GENERAL_HEADER__
#define __CLI_GENERAL_HEADER__
#include <stdlib.h>
#include <vector>
//#define TURBOVISION
#define NEWT_CLI
#ifndef TURBOVISION
#ifdef NEWT_CLI
#include <newt.h>
#endif
#include <ncurses.h>
#include <cdk/cdk.h>
typedef struct _win_border_struct {
chtype ls, rs, ts, bs, tl, tr, bl, br;
} WIN_BORDER;
typedef struct _CTRL_struct{
EObjectType type;
void *CTL; /* ADT Style */
} CTRL;
#else
#define Uses_TApplication
#define Uses_TButton
#define Uses_TDeskTop
#define Uses_TDialog
#define Uses_TKeys
#define Uses_TMenuBar
#define Uses_TMenuItem
#define Uses_TSubMenu
#define Uses_TStaticText
#define Uses_TCommandSet
#define Uses_TParamText
#define Uses_TStatusDef
#define Uses_TStatusItem
#define Uses_TStatusLine
#define Uses_TWindow
#include "tv.h"
#endif
#endif