Bugz Door Project
door-example.cpp

Construct a new Door object using the commandline parameters given to the main function.

#include "door.h"
int main(int argc, char *argv[]) {
door::Door door("example", argc, argv);
// reset colors, clear screen.
// set Yellow on Blue
// display text, reset colors, NewLine.
door << "Welcome YELLOW on BLUE! Press a key to continue... " << door::reset
door.sleep_key(door.inactivity); // Wait for a keypress before exiting
}
door::Door
Definition: door.h:193
door::ATTR::BOLD
@ BOLD
BOLD is the same as BRIGHT.
door::ANSIColor
Foreground, Background and Attributes.
Definition: door.h:131
door::cls
Clrscr cls
Definition: door.cpp:1221
door::nl
NewLine nl
Definition: door.cpp:1249
door::COLOR::YELLOW
@ YELLOW
YELLOW (3)
door::reset
ANSIColor reset(ATTR::RESET)
reset colors to normal
Definition: door.h:400
door
The BBS door project. This is an attempt at writing a C++ BBS door toolkit.
Definition: ansicolor.cpp:9
door::COLOR::BLUE
@ BLUE
BLUE (4)