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

FBVgaPlanes Class Reference

#include <fbvgaplanes.h>

Inheritance diagram for FBVgaPlanes:

List of all members.


Detailed Description

Author:
huyong, based on kernel drivers/video/fbcon-vga-planes.c

Definition at line 28 of file fbvgaplanes.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 (int xres, int yres, int depth)
static OPEN_RC TryOpen ()

Static Public Attributes

static int mBlankLineHeight = 0
static GraphDev * mpGraphDev = NULL

Static Protected Attributes

static __u16 blue16 []
static __u16 green16 []
static struct CharBitMap mAsc
static int mBlockHeight = 0
static int mBlockWidth = 0
static struct CharBitMap mDbl
static int mFd = -1
static unsigned long mNextLine = 0
static unsigned long mNextPlane = 0
static BaseFont * mpAscFont = NULL
static char * mpBuf = NULL
static int mpBufLen = 0
static BaseFont * mpDblFont = NULL
static int mXres = 0
static int mYres = 0
static __u16 red16 []

Static Private Member Functions

static void selectmask (void)
static void setcolor (int color)
static void SetDefaultMode ()
static void setindex (int index)
static void setmask (int mask)
static void setmode (int mode)
static void setop (int op)
static void setsr (int sr)

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

Generated by  Doxygen 1.6.0   Back to index