| 1 |
/*************************************************************************** |
/*************************************************************************** |
| 2 |
screen.h - description |
screen.h - description |
| 3 |
------------------- |
------------------- |
| 4 |
begin : Mon Oct 18 2004 |
copyright : (C) 2004-2025 by Leaflet |
|
copyright : (C) 2004 by Leaflet |
|
| 5 |
email : leaflet@leafok.com |
email : leaflet@leafok.com |
| 6 |
***************************************************************************/ |
***************************************************************************/ |
| 7 |
|
|
| 9 |
* * |
* * |
| 10 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
| 11 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
| 12 |
* the Free Software Foundation; either version 2 of the License, or * |
* the Free Software Foundation; either version 3 of the License, or * |
| 13 |
* (at your option) any later version. * |
* (at your option) any later version. * |
| 14 |
* * |
* * |
| 15 |
***************************************************************************/ |
***************************************************************************/ |
| 17 |
#ifndef _SCREEN_H_ |
#ifndef _SCREEN_H_ |
| 18 |
#define _SCREEN_H_ |
#define _SCREEN_H_ |
| 19 |
|
|
|
extern int screen_rows; |
|
|
extern int screen_cols; |
|
|
|
|
| 20 |
extern void moveto(int row, int col); |
extern void moveto(int row, int col); |
| 21 |
|
|
| 22 |
extern void clrtoeol(); |
extern void clrtoeol(); |
| 35 |
|
|
| 36 |
extern int get_data(int row, int col, char *prompt, char *buffer, int buffer_length, int echo_mode); |
extern int get_data(int row, int col, char *prompt, char *buffer, int buffer_length, int echo_mode); |
| 37 |
|
|
|
extern int display_file(const char *filename); |
|
|
|
|
| 38 |
extern int display_file_ex(const char *filename, int begin_line, int wait); |
extern int display_file_ex(const char *filename, int begin_line, int wait); |
| 39 |
|
|
| 40 |
extern int show_top(char *status); |
extern int show_top(const char *status); |
| 41 |
|
|
| 42 |
extern int show_bottom(char *msg); |
extern int show_bottom(const char *msg); |
| 43 |
|
|
| 44 |
extern int show_active_board(); |
extern int show_active_board(); |
| 45 |
|
|