E:/Projects/AvrLib/include/CursesDev.h File Reference

#include <curses.h>

Include dependency graph for CursesDev.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _Wparams

Defines

#define CURSESDEV_XIO_CREATEWINDOW   0

Functions

void CursesDevInit (void)
IOCBCioAttatchWindow (char *devname, WINDOW *pW)
void InitWParams (struct _Wparams *pWP, int xpos, int ypos, int xsize, int ysize, int fg, int bg, int mode)


Detailed Description

Curses Device Driver...allows for use of FILE streams for sending data to a curses window

Definition in file CursesDev.h.


Define Documentation

#define CURSESDEV_XIO_CREATEWINDOW   0

XIO Command:Create Window for open channel

Definition at line 12 of file CursesDev.h.

Referenced by WXio().


Function Documentation

IOCB* CioAttatchWindow ( char *  devname,
WINDOW pW 
)

void CursesDevInit ( void   ) 

Initialize curses device driver

Definition at line 198 of file CursesDev.c.

References WInit().

void InitWParams ( struct _Wparams pWP,
int  xpos,
int  ypos,
int  xsize,
int  ysize,
int  fg,
int  bg,
int  mode 
)

Initialize Windows Parameter Block

Parameters:
pWP pointer to windows parameter block to initialize
xpos X coordinate for upper left hand corner of window
ypos Y coordinate for upper left hand corner of window
xsize Horizontal width of window (including border)
ysize Vertical height of window (including border)
fg Forground color (color of characters)
bg Background color (color of screen)
mode border=1, no border = 0

Definition at line 216 of file CursesDev.c.

References _Wparams::bg, _Wparams::fg, _Wparams::mode, _Wparams::xpos, _Wparams::xsize, _Wparams::ypos, and _Wparams::ysize.


Generated on Sun Aug 31 13:30:23 2008 for FrankenRTOS by  doxygen 1.5.6