mirror of
https://github.com/rfivet/uemacs.git
synced 2024-11-16 01:26:06 -05:00
46 lines
1.1 KiB
C
46 lines
1.1 KiB
C
#ifndef _DISPLAY_H_
|
|
#define _DISPLAY_H_
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include "estruct.h"
|
|
#include "utf8.h"
|
|
|
|
extern int mpresf ; /* Stuff in message line */
|
|
extern int scrollcount ; /* number of lines to scroll */
|
|
extern int discmd ; /* display command flag */
|
|
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) ;
|
|
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) ;
|
|
void vmlwrite( const char *fmt, va_list ap) ;
|
|
void mlwrite( const char *fmt, ...) ;
|
|
void ostring( const char *s) ;
|
|
void echoc( unicode_t c) ;
|
|
void echos( const char *s) ;
|
|
void rubout( void) ;
|
|
void getscreensize( int *widthp, int *heightp) ;
|
|
|
|
#if UNIX
|
|
#include <signal.h>
|
|
#ifdef SIGWINCH
|
|
extern int chg_width, chg_height ;
|
|
|
|
void sizesignal( int signr) ;
|
|
#endif
|
|
#endif
|
|
|
|
#endif
|