This documenta- tion describes the current state of development.
Note that interfaces and functionality may still change.

Prokee Modules:
  A
  B
  C
  D
  E
  F
  G
  I
  L
  M
  N
  O
  P
  R
  S
  T
  U
  W

     open all    |    close all

GUI Elements:
  B
  C
  I
  M
  P
  R
  S
  T

     open all    |    close all

GUI Interactions:
  B
  F
  H
  S

     open all    |    close all

GUI Layouts:
  L

     open all    |    close all

Games/Demos:
  M

     open all    |    close all

Third Party Libraries:
  P
  F
  Z

     open all    |    close all

Information about this Website / Informationen zu dieser Webseite:
In case of any questions, or comments, please feel free to contact me via email at apoll500@gmail.com.

Module aprint [Version: v01]

This documentation describes the Prokee module interface.


Static Methods:
main
int aprint::main(int argc,char **argv)
cls (version 1)
void aprint::cls()
cls (version 2)
void aprint::cls(int n)
cll (version 1)
void aprint::cll()
cll (version 2)
void aprint::cll(int n)
locate
void aprint::locate(int row,int col)
save
void aprint::save()
restore
void aprint::restore()
hide
void aprint::hide()
show
void aprint::show()
moveUp
void aprint::moveUp(int n)
moveDown
void aprint::moveDown(int n)
moveRight
void aprint::moveRight(int n)
moveLeft
void aprint::moveLeft(int n)
font
void aprint::font(int n)
reset
void aprint::reset()
bold
void aprint::bold()
faint
void aprint::faint()
normal
void aprint::normal()
blink
void aprint::blink()
inv
void aprint::inv()
color (version 1)
void aprint::color(int c)
color (version 2)
void aprint::color(unsigned char r,unsigned char g,unsigned char b)
bgcolor (version 1)
void aprint::bgcolor(int c)
bgcolor (version 2)
void aprint::bgcolor(unsigned char r,unsigned char g,unsigned char b)
colorHigh
void aprint::colorHigh(int c)
bgcolorHigh
void aprint::bgcolorHigh(int c)
rotate
void aprint::rotate()
loadstat
void aprint::loadstat(float state,int size)
command (version 1)
void aprint::command(char c)
command (version 2)
void aprint::command(int n,char c)
command (version 3)
void aprint::command(int n,int m,char c)

Motivation


Static Methods

   main


Runs aprint as if it would be called from the command-line.

See Commandline-Interface.

Signature:
int aprint::main(int argc,char **argv)

Parameters:
Type Name Direction Description
int argcThe number of command-line parameters.
char **argv[IN]The command-line parameters.

Return value:
Exit status.

   cls (version 1)


Clears the screen.

Signature:
void aprint::cls()

Code: toggle

   cls (version 2)


Clears the screen.

Signature:
void aprint::cls(int n)

Parameters:
Type Name Direction Description
int nParameter.

Code: toggle

   cll (version 1)


Clears the screen.

Signature:
void aprint::cll()

Code: toggle

   cll (version 2)


Clears the screen.

Signature:
void aprint::cll(int n)

Parameters:
Type Name Direction Description
int nParameter.

Code: toggle

   locate


Places the cursor at line row and column col.

Signature:
void aprint::locate(int row,int col)

Parameters:
Type Name Direction Description
int rowNumber of the line.
int colNumber of the column.

Code: toggle

   save


Stores the current position of the cursor.

Signature:
void aprint::save()

Code: toggle

   restore


Restores the position of the cursor to the last stored position.

Signature:
void aprint::restore()

Code: toggle

   hide


Hides the cursor.

Signature:
void aprint::hide()

Code: toggle

   show


Shows the cursor (makes the cursor visible).

Signature:
void aprint::show()

Code: toggle

   moveUp


Moves the cursor.

Signature:
void aprint::moveUp(int n)

Parameters:
Type Name Direction Description
int nDistance

Code: toggle

   moveDown


Moves the cursor.

Signature:
void aprint::moveDown(int n)

Parameters:
Type Name Direction Description
int nDistance

Code: toggle

   moveRight


Moves the cursor.

Signature:
void aprint::moveRight(int n)

Parameters:
Type Name Direction Description
int nDistance

Code: toggle

   moveLeft


Moves the cursor.

Signature:
void aprint::moveLeft(int n)

Parameters:
Type Name Direction Description
int nDistance

Code: toggle

   font


Selects a font.

Signature:
void aprint::font(int n)

Parameters:
Type Name Direction Description
int nNumber of the font.

Code: toggle

   reset


Resets the font.

Signature:
void aprint::reset()

Code: toggle

   bold


Bold font.

Signature:
void aprint::bold()

Code: toggle

   faint


Faint font.

Signature:
void aprint::faint()

Code: toggle

   normal


Normal font.

Signature:
void aprint::normal()

Code: toggle

   inv


Font with inverted colors.

Signature:
void aprint::inv()

Code: toggle

   color (version 1)


Sets the foreground color.

Signature:
void aprint::color(int c)

Parameters:
Type Name Direction Description
int cColor index.

Code: toggle

   color (version 2)


Sets the foreground color.

Signature:
void aprint::color(unsigned char r,unsigned char g,unsigned char b)

Parameters:
Type Name Direction Description
unsigned char rred.
unsigned char ggreen.
unsigned char bblue.

Code: toggle

   bgcolor (version 1)


Sets the background color.

Signature:
void aprint::bgcolor(int c)

Parameters:
Type Name Direction Description
int cColor index.

Code: toggle

   bgcolor (version 2)


Sets the background color.

Signature:
void aprint::bgcolor(unsigned char r,unsigned char g,unsigned char b)

Parameters:
Type Name Direction Description
unsigned char rred.
unsigned char ggreen.
unsigned char bblue.

Code: toggle

   colorHigh


Sets the foreground color.

Signature:
void aprint::colorHigh(int c)

Parameters:
Type Name Direction Description
int cColor index.

Code: toggle

   bgcolorHigh


Sets the background color.

Signature:
void aprint::bgcolorHigh(int c)

Parameters:
Type Name Direction Description
int cColor index.

Code: toggle

   rotate


Prints a simple animation.

Signature:
void aprint::rotate()

Code: toggle

   loadstat


Prints a progress bar.

Signature:
void aprint::loadstat(float state,int size)

Parameters:
Type Name Direction Description
float stateProgress state, a value between 0.0 and 1.0.
int sizeThe size of the progress bar in characters.

Code: toggle

   command (version 1)


Prints a command.

Signature:
void aprint::command(char c)

Parameters:
Type Name Direction Description
char cCommand.

Code: toggle

   command (version 2)


Prints a command.

Signature:
void aprint::command(int n,char c)

Parameters:
Type Name Direction Description
int nParameter.
char cCommand.

Code: toggle

   command (version 3)


Prints a command.

Signature:
void aprint::command(int n,int m,char c)

Parameters:
Type Name Direction Description
int nParameter.
int mParameter.
char cCommand.

Code: toggle


Copyright © 2017 - 2019 by Andreas Pollhammer