Syntax
int GtGetDesktopDepth( void );
Arguments
No arguments.
Return value
The desktop color depth in bits per pixel.
Description
Use this for desktop diagnostics. The terminal render target can use its own color depth, reported by GtGetScreenDepth().
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
printf( "Desktop depth (bits per pixel): %d\n", GtGetDesktopDepth() );
return 0;
}