KernOS
VGA::Vga Class Reference

Manages access to VGA driver. More...

#include <vga.h>

Public Member Functions

 Vga ()
 
void Puts (const char *Str)
 Print string to display. More...
 
void PutChar (VgaChar Char, size_t Row, size_t Col)
 Put single character to display. More...
 
void SetColor (VgaColor Color)
 Set text color. More...
 

Detailed Description

Manages access to VGA driver.

Provides primitive console-like line printing, newline, and wrap-around

Definition at line 47 of file vga.h.

Constructor & Destructor Documentation

◆ Vga()

VGA::Vga::Vga ( )
inline

Definition at line 69 of file vga.h.

Member Function Documentation

◆ PutChar()

void VGA::Vga::PutChar ( VgaChar  Char,
size_t  Row,
size_t  Col 
)
inline

Put single character to display.

Parameters
Char
Row
Col

Definition at line 107 of file vga.h.

◆ Puts()

void VGA::Vga::Puts ( const char *  Str)

Print string to display.

Parameters
Str

Definition at line 54 of file vga.cpp.

◆ SetColor()

void VGA::Vga::SetColor ( VgaColor  Color)
inline

Set text color.

Parameters
VgaColortext color
See also
COLOR
Returns

Definition at line 112 of file vga.h.


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