Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
MonoClass Class Reference

#include <MONO.H>

Public Types

enum  MonoAttribute {
  INVISIBLE =0x00 , UNDERLINE =0x01 , BLINKING =0x90 , NORMAL =0x02 ,
  INVERSE =0x70
}
 
typedef enum MonoClass::MonoAttribute MonoAttribute
 

Public Member Functions

 MonoClass (void)
 
 ~MonoClass (void)
 
void Sub_Window (int x=0, int y=0, int w=80, int h=25)
 
void Fill_Attrib (int x, int y, int w, int h, MonoAttribute attrib)
 
void Clear (void)
 
void Set_Cursor (int x, int y)
 
void Print (char const *text)
 
void Print (int text)
 
void Printf (char const *text,...)
 
void Printf (int text,...)
 
void Text_Print (char const *text, int x, int y, MonoAttribute attrib=NORMAL)
 
void Text_Print (int text, int x, int y, MonoAttribute attrib=NORMAL)
 
void View (void)
 
void Scroll (int lines=1)
 
void Pan (int cols=1)
 
void Set_Default_Attribute (MonoAttribute attrib)
 
 MonoClass (MonoClass const &)
 

Static Public Member Functions

static void Enable (void)
 
static void Disable (void)
 
static bool Is_Enabled (void)
 

Static Public Attributes

static MonoClassCurrent
 

Detailed Description

Definition at line 45 of file MONO.H.

Member Typedef Documentation

◆ MonoAttribute

Member Enumeration Documentation

◆ MonoAttribute

Enumerator
INVISIBLE 
UNDERLINE 
BLINKING 
NORMAL 
INVERSE 

Definition at line 47 of file MONO.H.

Constructor & Destructor Documentation

◆ MonoClass() [1/2]

MonoClass::MonoClass ( void )

Definition at line 100 of file mono.cpp.

◆ ~MonoClass()

MonoClass::~MonoClass ( void )

Definition at line 127 of file mono.cpp.

◆ MonoClass() [2/2]

MonoClass::MonoClass ( MonoClass const & )

Member Function Documentation

◆ Clear()

void MonoClass::Clear ( void )

Definition at line 259 of file mono.cpp.

◆ Disable()

static void MonoClass::Disable ( void )
inlinestatic

Definition at line 59 of file MONO.H.

◆ Enable()

static void MonoClass::Enable ( void )
inlinestatic

Definition at line 58 of file MONO.H.

◆ Fill_Attrib()

void MonoClass::Fill_Attrib ( int x,
int y,
int w,
int h,
MonoAttribute attrib )

Definition at line 292 of file mono.cpp.

◆ Is_Enabled()

static bool MonoClass::Is_Enabled ( void )
inlinestatic

Definition at line 60 of file MONO.H.

◆ Pan()

void MonoClass::Pan ( int cols = 1)

Definition at line 158 of file mono.cpp.

◆ Print() [1/2]

void MonoClass::Print ( char const * text)

Definition at line 441 of file mono.cpp.

◆ Print() [2/2]

void MonoClass::Print ( int text)

Definition at line 551 of file mono.cpp.

◆ Printf() [1/2]

void MonoClass::Printf ( char const * text,
... )

Definition at line 359 of file mono.cpp.

◆ Printf() [2/2]

void MonoClass::Printf ( int text,
... )

Definition at line 400 of file mono.cpp.

◆ Scroll()

void MonoClass::Scroll ( int lines = 1)

Definition at line 331 of file mono.cpp.

◆ Set_Cursor()

void MonoClass::Set_Cursor ( int x,
int y )

Definition at line 225 of file mono.cpp.

◆ Set_Default_Attribute()

void MonoClass::Set_Default_Attribute ( MonoAttribute attrib)

Definition at line 467 of file mono.cpp.

◆ Sub_Window()

void MonoClass::Sub_Window ( int x = 0,
int y = 0,
int w = 80,
int h = 25 )

Definition at line 188 of file mono.cpp.

◆ Text_Print() [1/2]

void MonoClass::Text_Print ( char const * text,
int x,
int y,
MonoAttribute attrib = NORMAL )

Definition at line 498 of file mono.cpp.

◆ Text_Print() [2/2]

void MonoClass::Text_Print ( int text,
int x,
int y,
MonoAttribute attrib = NORMAL )

Definition at line 531 of file mono.cpp.

◆ View()

void MonoClass::View ( void )

Definition at line 577 of file mono.cpp.

Member Data Documentation

◆ Current

MonoClass * MonoClass::Current
static

Definition at line 83 of file MONO.H.


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