Bugz Door Project
Public Member Functions | Public Attributes | List of all members
door::ColorOutput Class Reference

This holds an ANSIColor and text position + length. More...

#include <door.h>

Collaboration diagram for door::ColorOutput:
Collaboration graph
[legend]

Public Member Functions

 ColorOutput ()
 
void reset (void)
 

Public Attributes

ANSIColor c
 Color to use for this fragment.
 
int pos
 Starting position of Render.text.
 
int len
 Length.
 

Detailed Description

This holds an ANSIColor and text position + length.

This works with Render to create the output. This consists of ANSIColor and text position + length.

Constructor & Destructor Documentation

◆ ColorOutput()

door::ColorOutput::ColorOutput ( )

Construct a new Color Output:: Color Output object We default to BLACK/BLACK (not really a valid color), pos=0 and len=0.

Member Function Documentation

◆ reset()

void door::ColorOutput::reset ( void  )

Reset pos and len to 0.


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