Alexandre Salconi-Denis / debug_addon_graphique_ASCII
Embed: (wiki syntax)

« Back to documentation index

AnsiGraphicalConsole.h File Reference

AnsiGraphicalConsole.h File Reference

Addon to use with debug console. More...

Go to the source code of this file.

Functions

void createSLbox (int posX, int posY, int height, int width, const char *title=0)
 Use to create a single line box.
void createDLbox (int posX, int posY, int height, int width, const char *title=0)
 Use to create a double line box.
void setText (int posX, int posY, const char *title,...)
 Use to create a double line box.
void clearscreen (void)
 Use to clear the screen.

Detailed Description

Addon to use with debug console.

Easy way to use an Ansi console. I use Tera term but any terminal ANSI work.

See also:
https://ttssh2.osdn.jp/index.html.en

This file is subject to the terms and conditions of the GNU Lesser General Public License v2.1. See the file LICENSE in the top level directory for more details.

Author:
Salco <JeSuisSalco@gmail.com>

Definition in file AnsiGraphicalConsole.h.


Function Documentation

void clearscreen ( void   )

Use to clear the screen.

Definition at line 152 of file AnsiGraphicalConsole.cpp.

void createDLbox ( int  posX,
int  posY,
int  height,
int  width,
const char *  title = 0 
)

Use to create a double line box.

Note:
the position X=0,Y=0 is at the top left.
Parameters:
[in]posXposition in X to put the box.
[in]posYposition in X to put the box.
[in]heightlenght of the box for Y.
[in]widthlenght of the box for X.
[in]titleTitle to show on top of the box.

Definition at line 79 of file AnsiGraphicalConsole.cpp.

void createSLbox ( int  posX,
int  posY,
int  height,
int  width,
const char *  title = 0 
)

Use to create a single line box.

Note:
the position X=0,Y=0 is at the top left.
Parameters:
[in]posXposition in X to put the box.
[in]posYposition in X to put the box.
[in]heightlenght of the box for Y.
[in]widthlenght of the box for X.
[in]titleTitle to show on top of the box.

Definition at line 6 of file AnsiGraphicalConsole.cpp.

void setText ( int  posX,
int  posY,
const char *  title,
  ... 
)

Use to create a double line box.

Note:
the position X=0,Y=0 is at the top left.
Parameters:
[in]posXposition in X to put the text.
[in]posYposition in X to put the text.
[in]titleText to show on screen.(Use like printf and other).

Definition at line 156 of file AnsiGraphicalConsole.cpp.