Logo Search packages:      
Sourcecode: zhcon version File versions  Download package

VGADev Class Reference

#include <vgadev.h>

Inheritance diagram for VGADev:

List of all members.

Detailed Description

Rick Lei

Definition at line 31 of file vgadev.h.

Public Member Functions

void ClearScr ()
void DrawChar (int x, int y, int fg, int bg, struct CharBitMap *pFont)
void DrawLine (int x1, int y1, int x2, int y2, int color)
void DrawRect (int x1, int y1, int x2, int y2, int color)
void FillRect (int x1, int y1, int x2, int y2, int color)
int Height ()
void OutChar (int x, int y, int fg, int bg, char c1, char c2)
void OutChar (int x, int y, int fg, int bg, char c)
void PutPixel (int x, int y, int color)
void RevRect (int x1, int y1, int x2, int y2)
void SwitchToGraph ()
void SwitchToText ()
int Width ()

Static Public Member Functions

static int BlockHeight ()
static int BlockWidth ()
static void Close ()
static bool Open (int xres, int yres, int depth)
static bool Open ()
static void SetAscFont (BaseFont *pAscFont)
static void SetDblFont (BaseFont *pDblFont)
static bool TryOpen ()

Static Public Attributes

static int mBlankLineHeight = 0
static GraphDev * mpGraphDev = NULL

Static Protected Attributes

static struct CharBitMap mAsc
static int mBlockHeight = 0
static int mBlockWidth = 0
static struct CharBitMap mDbl
static BaseFont * mpAscFont = NULL
static BaseFont * mpDblFont = NULL
static int mXres = 0
static int mYres = 0

Static Private Member Functions

static void DisableIOPerm ()
static void EnableIOPerm ()
static void SetBitMask (char mask)
static void SetColor (int color)
static void SetDefaultMode ()
static void SetOper (int op)
static bool SetVideoMode (int mode)
static void SetWriteMode (int mode)

Static Private Attributes

static int mBufLen
static int mFd
static unsigned long mNextLine
static char * mpBuf

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index