/[LeafOK_CVS]/lbbs/include/screen.h
ViewVC logotype

Contents of /lbbs/include/screen.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Fri May 2 03:34:58 2025 UTC (10 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.1: +3 -0 lines
Content type: text/x-chdr
Refine

1 /***************************************************************************
2 screen.h - description
3 -------------------
4 begin : Mon Oct 18 2004
5 copyright : (C) 2004 by Leaflet
6 email : leaflet@leafok.com
7 ***************************************************************************/
8
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18 #ifndef _SCREEN_H_
19 #define _SCREEN_H_
20
21 extern int screen_rows;
22 extern int screen_cols;
23
24 extern void moveto(int row, int col);
25
26 extern void clrtoeol();
27
28 extern void clrline(int line_begin, int line_end);
29
30 extern void clrtobot(int line_begin);
31
32 extern void clearscr();
33
34 extern int press_any_key();
35
36 extern void set_input_echo(int echo);
37
38 extern int str_input(char *buffer, int buffer_length, int echo_mode);
39
40 extern int get_data(int row, int col, char *prompt, char *buffer, int buffer_length, int echo_mode);
41
42 extern int display_file(const char *filename);
43
44 extern int display_file_ex(const char *filename, int begin_line, int wait);
45
46 extern int show_top(char *status);
47
48 extern int show_bottom(char *msg);
49
50 extern int show_active_board();
51
52 #endif //_SCREEN_H_

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1