[Previous] [Contents] [Index] [Next]

PtConsoleSwitch()

Switch to another virtual console

Synopsis:

int PtConsoleSwitch( int console );

Description:

This function causes PWM to switch the current display to the virtual console console (where console is a number in the range 0 to 8):


Arrangement of virtual consoles


Numbering for Photon's virtual consoles.


Virtual consoles are numbered from 0 through 8, with 0 at the top left, and 8 at the lower right. The coordinates of the top left corner of console 0 are (0,0). The coordinates of the other consoles depend on your screen size.

Returns:

0
Success.
-1
An error occurred. Check the value of errno for more information.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtWindowConsoleSwitch()


[Previous] [Contents] [Index] [Next]