home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
progc
/
ultrawi1.arj
/
UW_PROTO.H
< prev
next >
Wrap
Text File
|
1990-10-28
|
7KB
|
178 lines
/*-------------------- function prototypes in uw_term.c --------------------*/
void wn_claol( WINDOW *wnp );
void wn_cleol( WINDOW *wnp );
void wn_clbol( WINDOW *wnp );
void wn_cleos( WINDOW *wnp );
void wn_clbos( WINDOW *wnp );
void wn_claos( WINDOW *wnp );
void wn_cln(int qty, WINDOW *wnp);
void wn_clear_tabs( WINDOW *wnp );
void wn_init_tabs( int space, WINDOW *wnp );
void wn_set_tab( WINDOW *wnp );
void wn_reset_tab( WINDOW *wnp );
void wn_tab_right( int cnt, WINDOW *wnp );
void wn_tab_left( int cnt, WINDOW *wnp );
void wn_ins_del_chars(int mode, int c, int cnt, WINDOW *wnp );
void wn_ins_del_lines(int mode, int c, int cnt, WINDOW *wnp );
void wn_csr_dn( int qty, WINDOW *wnp );
void wn_csr_up( int qty, WINDOW *wnp );
void wn_csr_left( int qty, WINDOW *wnp );
void wn_csr_right( int qty, WINDOW *wnp );
void wn_csr_pos( int line, int col, WINDOW *wnp );
void wn_scroll_reg( int line_s, int line_e, WINDOW *wnp );
void wn_bksp( int qty, WINDOW *wnp );
/*-------------------- function prototypes in uw_prtf.c --------------------*/
int wn_printf( WINDOW *wnp, char *fmt, ... );
/*-------------------- function prototypes in uw_vid.c ---------------------*/
void set_25_rows();
int get_num_rows();
void get_v_mode();
void init_video(int cols, int rows);
void set_vid_addr( int segment, int offset );
void force_video(int force_mode, int cols, int rows);
void end_video();
void wn_move( int col, int row, WINDOW *wnp );
uchar swap_nibbles( uchar c );
uchar get_att( uchar att );
/*--------------------- function prototypes in uw_ch.c ---------------------*/
void wn_ch( int c, WINDOW *wnp );
uchar wn_och( WINDOW *wnp );
void wn_qch( int cnt, uchar c, WINDOW *wnp );
/*--------------------- function prototypes in uw_st.c ---------------------*/
void wn_st( char *s, WINDOW *wnp );
void wn_st_qty( char *s, int qty, WINDOW *wnp );
void wn_plst( int col, int line, char *s, WINDOW *wnp );
/*-------------------- function prototypes in uw_mask.c --------------------*/
void adjust_mask_col( int x_pos, int y_min, int y_max, int amount, WINDOW *wnp );
void adjust_mask_row( int y_pos, int x_min, int x_max, int amount, WINDOW *wnp );
void set_mask( int mode, WINDOW *wnp1, WINDOW *wnp2 );
void clear_mask( WINDOW *wnp );
/*--------------------- function prototypes in uw_bdr.c --------------------*/
void wn_co( int cnt, uchar c, WINDOW *wnp );
void wn_border( WINDOW *wnp );
void wn_hline(int row, int style, WINDOW *wnp);
void wn_vline(int col, int style, WINDOW *wnp);
/*--------------------- function prototypes in uw_ll.c ---------------------*/
int _csr_adj( WINDOW *wnp );
void _scroll( int dir, WINDOW *wnp );
uchar far *_calc_scr_addr(WINDOW *wnp);
uchar *_calc_buff_addr(WINDOW *wnp);
uchar *_calc_mask_addr(WINDOW *wnp);
void _calc_all_addr(uchar far **scr, uchar **buff, uchar **mask, WINDOW *wnp);
/*--------------------- function prototypes in uw_wn.c ---------------------*/
int wn_create( int x_min, int y_min, int x_max, int y_max,
int bdr, int mode, WINDOW *wnp );
void wn_destroy( WINDOW *wnp );
void wn_set( WINDOW *wnp );
void wn_clear( WINDOW *wnp );
/*-------------------- function prototypes in uw_csr.c ---------------------*/
void rd_csr( int *col, int *line );
void mv_csr( int col, int line );
void csr_style( int style );
void csr_hide();
void csr_show();
void pl_csr( WINDOW *wnp );
/*------------------- function prototypes in uw_rfsh.c ---------------------*/
void wn_io( int dir, int area, WINDOW *wnp );
void wn_rfsh_line( int line, WINDOW *wnp );
void wn_rfsh_col( int col, WINDOW *wnp );
/*------------------- function prototypes in uw_menu.c ---------------------*/
void menu_st( MENU *mnp, int csr, int inx);
void menu_create(int x_min, int y_min, int x_max, int y_max, int direction,
int back_att, int bdr_att, int csr_att, int first_att,
int bdr, int type, MENU *mnp);
void item_add( char *entry, int id, int first_pos, MENU *mnp );
void menu_set( MENU *mnp );
void menu_restore( MENU *mnp );
void menu_destroy( MENU *mnp );
void decrement_csr( int *csr, int min, int max);
void increment_csr( int *csr, int min, int max);
int menu_horiz( MENU *mnp, int proc_mode );
int menu_vert( MENU *mnp, int proc_mode );
int do_menu( MENU *mnp, int proc_mode );
int menu_system( MENU *top_mnp, MENU *dropmenu[], int draw_top );
/*------------------ function prototypes in uw_entry.c ---------------------*/
void disp_entry( int c, int r, int m_att, char *s, char *m, WINDOW *wnp );
void g_insert( char *s, char *m, char *t, int pos );
void g_delete( char *s, char *m, char *t, int pos );
void add_mask( char *s, char *m, char *t );
void rmv_mask( char *s, char *t );
int validate( char *c, char t );
void strip_entry( char *s, char *m );
int wn_gets( char *str, char *mask, char *template, int m_att,
int strip_mode, WINDOW *wnp );
/*------------------ function prototypes in uw_event.c ---------------------*/
void m_reset(M_RESET *m);
void m_colrange( int col_min, int col_max );
void m_rowrange( int row_min, int row_max );
void init_mouse();
void end_mouse();
void m_show();
void m_hide();
void m_pos( M_LOC *m );
void m_moveto( int col, int row );
void m_pressed( int button, M_LOC *m );
void m_released( int button, M_LOC *m );
void m_textcursor(int curstype, unsigned arg1, unsigned arg2);
void m_motion( M_MOVE *m );
void m_lpen_on();
void m_lpen_off();
void m_ratio( int horiz, int vert );
void wait_ticks( clock_t ticks );
int get_key();
int check_key();
int event_pending();
void set_idle_func( int (*func_ptr)() );
void wait_event();
/*-------------------- function prototypes in uw_win.c ---------------------*/
void reset_all_masks();
void refresh_desktop();
void refresh_column( int col );
void refresh_row( int row );
void refresh_rect( RECT r );
void add_wn_mask( WINDOW *wnp );
void remove_wn_mask( WINDOW *wnp );
void col_wn_mask( int x_pos, int y_min, int y_max, int amount );
void row_wn_mask( int y_pos, int x_min, int x_max, int amount );
void set_window_attr();
WINDOW *end_window( WINDOW *wnp );
WINDOW *cr_inwindow( int col, int row );
WINDOW *add_window( WINDOW *wnp );
int remove_window( WINDOW *wnp );
void pull_to_top( WINDOW *this );
int make_top_window( WINDOW *wnp );
void mask_flags_on();
void move_wn_left( int cols, WINDOW *wnp );
void move_wn_right( int cols, WINDOW *wnp );
void move_wn_up( int rows, WINDOW *wnp );
void move_wn_down( int rows, WINDOW *wnp );
void set_rect(RECT *rectp, int x1, int y1, int x2, int y2);
int rect_equal(RECT r1, RECT r2);
int rect_enclosed(RECT *r1, RECT *r2);
int rect_overlap(RECT *r1, RECT *r2);
void offset_rect(RECT *rectp, int col, int row);
int cr_inrect(int col, int row, RECT rect);
/*-------------------- function prototypes in uw_win.c ---------------------*/
void check_desq();
void mode43();
void mode25();
/**** END OF FILE ****/