display.h (most-5.1.0) | : | display.h (most-5.2.0) | ||
---|---|---|---|---|
#ifndef _MOST_DISPLAY_H_ | ||||
#define _MOST_DISPLAY_H_ 1 | ||||
/* | /* | |||
This file is part of MOST. | This file is part of MOST. | |||
Copyright (c) 1991, 1999, 2002, 2005-2018, 2019 John E. Davis | Copyright (c) 1991, 1999, 2002, 2005-2021, 2022 John E. Davis | |||
This program is free software; you can redistribute it and/or modify it | This program is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by the Free | under the terms of the GNU General Public License as published by the Free | |||
Software Foundation; either version 2 of the License, or (at your option) | Software Foundation; either version 2 of the License, or (at your option) | |||
any later version. | any later version. | |||
This program is distributed in the hope that it will be useful, but WITHOUT | This program is distributed in the hope that it will be useful, but WITHOUT | |||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |||
more details. | more details. | |||
You should have received a copy of the GNU General Public License along | You should have received a copy of the GNU General Public License along | |||
with this program; if not, write to the Free Software Foundation, Inc., 675 | with this program; if not, write to the Free Software Foundation, Inc., 675 | |||
Mass Ave, Cambridge, MA 02139, USA. | Mass Ave, Cambridge, MA 02139, USA. | |||
*/ | */ | |||
/* These numbers match ANSI escape sequences of form ESC [ x m */ | ||||
#define MOST_BOLD_COLOR 1 | ||||
#define MOST_ULINE_COLOR 4 | ||||
#define MOST_STATUS_COLOR 7 | ||||
#define MOST_EMBEDDED_COLOR_OFFSET 32 | ||||
extern void most_tt_set_color (int color); | extern void most_tt_set_color (int color); | |||
extern void most_tt_reverse_video(void); | extern void most_tt_reverse_video(void); | |||
extern void most_tt_bold_video(void); | extern void most_tt_bold_video(void); | |||
extern void most_tt_underline_video(void); | extern void most_tt_underline_video(void); | |||
extern void most_tt_normal_video(void); | extern void most_tt_normal_video(void); | |||
extern void most_wide_width(void); | extern void most_wide_width(void); | |||
extern void most_narrow_width(void); | extern void most_narrow_width(void); | |||
extern void most_enable_cursor_keys(void); | extern void most_enable_cursor_keys(void); | |||
extern void most_goto_rc (int, int); | extern void most_goto_rc (int, int); | |||
extern void most_setup_colors (void); | ||||
#endif | ||||
End of changes. 4 change blocks. | ||||
8 lines changed or deleted | 4 lines changed or added |