Window Definition and Handling

  #include <vv_sys.h>

#include <vv_wnkt.h>

All except as noted below

wn_browse ( ), wn_drag ( )

   
WINDOWPTR curwnp ()

Returns a pointer to the current window

void se_wnsetstepq (int stepq)

Sets the number of steps to put up or take down exploding and rolling windows

int wn_adj (WINDOWPTR wnp)

Adjusts window buffer origin so that the virtual cursor falls within the window

int wn_browse (WINDOWPTR wnp)

Allows the user to view and scroll a memory screen buffer in a window

void wn_clr (WINDOWPTR wnp)

Clears the window

WINDOWPTR wn_def (int rb, int cb, int rowq, int colq, UCHAR att, BORDERPTR bdrp)

Allocates and initializes a window structure

int wn_dn (WINDOWPTR wnp)

Removes a window from the screen by calling its down function

int wn_drag (WINDOWPTR wnp)

Allows the user to drag a window image across the screen

int wn_expset (WINDOWPTR wnp)

Sets the window on the screen by exploding it

int wn_expunset (WINDOWPTR wnp)

Unsets the window with an implosion

void wn_free (WINDOWPTR wnp)

Frees all memory allocated for a window

ULONG wn_isup (WINDOWPTR wnp)

Determines if the window is up on the screen

WINDOWPTR wn_mfdef (int rb, int cb, int rowq, int colq, UCHAR att, BORDERPTR bdrp, MFILEPTR mfp)

Allocates and initializes a window structure with a memory file buffer

int wn_mod (int rb, int cb, int rowq, int colq, WINDOWPTR wnp)

Modifies the size and location of a previously defined window

SCRPTR wn_msbuf (WINDOWPTR wnp)

Returns the pointer to the memory screeen buffer for the window

int wn_msmod (WINDOWPTR wnp)

Modifies a window's memory screen to match the window's inside dimensions

int wn_mv (int rb, int cb, WINDOWPTR wnp)

Moves a window to a new location on the screen

WINDOWPTR wn_namptr (UCHAR *name_stp)

Returns a pointer to the specified window

WINDOWPTR wn_nbdef (int rb, int cb, int rowq, int colq, UCHAR att, BORDERPTR bdrp)

Allocates and initializes a window structure with no buffer

int wn_print (WINDOWPTR wnp)

Copies the character contents of a window image to a printer

int wn_proc (WINDOWPTR wnp)

Allows user to process a window

UCHAR * wn_ptrnam (WINDOWPTR wnp)

Returns the name of the specified window

int wn_resize (wnp)

Allows the user to resize the window on the screen

int wn_rollset (WINDOWPTR wnp)

Displays the window on the screen by rolling

int wn_rollunset (WINDOWPTR wnp)

Removes the window from the screen by rolling

int wn_set (WINDOWPTR wnp)

Displays a window on the screen

void wn_top (WINDOWPTR wnp, int scope)

Brings a window to the top of the linked list

void wn_unset (WINDOWPTR wnp)

Removes a window from the screen

int wn_up (WINDOWPTR wnp)

Displays the specified window by calling its up function

int wn_upd (WINDOWPTR wnp)

Redisplays (updates) the window

int wn_updrgn (int wn_rb, int wn_cb, int wn_re, int wn_ce, WINDOWPTR wnp)

Redisplays (updates) a region of the window on the screen

WINDOWPTR wn_vdef; (int rb, int cb, int rowq, int colq, UCHAR att, BORDERPTR bdrp, int ms_rowq, int ms_colq)

Allocates and initializes a window structure with a memory screen buffer of a specific size

int wn_wr; (UCHAR *filespec, UCHAR *dmode, WINDOWPTR wnp)

Writes the character contents of a window to a disk file



Home Contents Previous Next