1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-11-10 14:36:13 -05:00
uemacs/display.h

45 lines
1.1 KiB
C
Raw Normal View History

#ifndef _DISPLAY_H_
#define _DISPLAY_H_
2015-06-12 05:05:43 -04:00
#include <stdarg.h>
#include "estruct.h"
extern int mpresf ; /* Stuff in message line */
extern int scrollcount ; /* number of lines to scroll */
extern int discmd ; /* display command flag */
2016-03-11 23:58:05 -05:00
extern int disinp ; /* display input characters (echo) */
extern int gfcolor ; /* global forgrnd color (white) */
extern int gbcolor ; /* global backgrnd color (black) */
void vtinit( void) ;
void vtfree( void) ;
void vttidy( void) ;
void vtmove( int row, int col) ;
int upscreen( int f, int n) ;
int update( int force) ;
void updpos( void) ;
void upddex( void) ;
void updgar( void) ;
int updupd( int force) ;
void upmode( void) ;
void movecursor( int row, int col) ;
void mlerase( void) ;
2015-06-12 05:05:43 -04:00
void vmlwrite( const char *fmt, va_list ap) ;
void mlwrite( const char *fmt, ...) ;
2016-03-11 23:58:05 -05:00
void ostring( char *s) ;
void echoc( char c) ;
void echos( char *s) ;
void getscreensize( int *widthp, int *heightp) ;
2013-10-09 02:56:43 -04:00
#if UNIX
#include <signal.h>
2013-10-09 02:56:43 -04:00
#ifdef SIGWINCH
extern int chg_width, chg_height ;
void sizesignal( int signr) ;
2013-10-09 02:56:43 -04:00
#endif
#endif
#endif