Main Page | Class List | File List | Class Members | File Members

resize.c File Reference

#include <sys/types.h>
#include <signal.h>
#include <sys/ioctl.h>
#include "config.h"
#include "screen.h"
#include "extern.h"

Defines

#define OLDWIN(y)
#define NEWWIN(y)   ((y < hi) ? &nhlines[y] : &nmlines[y - hi])

Functions

void CheckScreenSize (int change_flag)
void ChangeScreenSize (int wi, int he, int change_fore)
void ResizeLayersToCanvases ()
int MayResizeLayer (struct layer *l)
void ResizeLayer (struct layer *l, int wi, int he, struct display *norefdisp)
char * xrealloc (char *mem, int len)
int ChangeWindowSize (struct win *p, int wi, int he, int hi)
void FreeAltScreen (struct win *p)
void EnterAltScreen (struct win *p)
void LeaveAltScreen (struct win *p)

Variables

layerflayer
displaydisplay
displaydisplays
unsigned char * blank
unsigned char * null
mline mline_blank mline_null mline_old
winwindows
int Z0width
int Z1width
int captionalways

Define Documentation

#define NEWWIN  )     ((y < hi) ? &nhlines[y] : &nmlines[y - hi])
 

#define OLDWIN  ) 
 

Value:

((y < p->w_histheight) \
        ? &p->w_hlines[(p->w_histidx + y) % p->w_histheight] \
        : &p->w_mlines[y - p->w_histheight])


Function Documentation

void ChangeScreenSize int  wi,
int  he,
int  change_fore
 

int ChangeWindowSize struct win p,
int  wi,
int  he,
int  hi
 

void CheckScreenSize int  change_flag  ) 
 

void EnterAltScreen struct win p  ) 
 

void FreeAltScreen struct win p  ) 
 

void LeaveAltScreen struct win p  ) 
 

int MayResizeLayer struct layer l  ) 
 

void ResizeLayer struct layer l,
int  wi,
int  he,
struct display norefdisp
 

void ResizeLayersToCanvases  ) 
 

char* xrealloc char *  mem,
int  len
 


Variable Documentation

unsigned char* blank
 

int captionalways
 

struct display* display
 

struct display * displays
 

struct layer* flayer
 

struct mline mline_blank mline_null mline_old
 

unsigned char * null
 

struct win* windows
 

int Z0width
 

int Z1width
 


Generated on Sat Jul 2 20:56:17 2005 for GNU Screen by  doxygen 1.4.3