U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » U++ Developers corner » Console decoration for DOS (windows)
Console decoration for DOS (windows) [message #36418] Fri, 25 May 2012 17:28 Go to previous message
ratah is currently offline  ratah
Messages: 107
Registered: July 2010
Experienced Member
Hello all,

I share you a modified Stream version to allow
- text coloration (foreground and background)
- cursor positionning
for DOS operating system.

I added these functions to Stream.h

void GetConsoleCursorPos(COORD& posCur)
void SetConsoleCursorPos(const COORD& posCur)
void Colorize(int foreground,int background)

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Web framework - Skylark - first taste
Next Topic: CodeEditor with user-definable syntax highlighting
Goto Forum:
  


Current Time: Sat Apr 25 21:37:13 GMT+2 2026

Total time taken to generate the page: 0.00488 seconds