#include <display.h>
Public Members | |||
![]() | ![]() | NativeDisplayTester () | |
![]() | ![]() | ~NativeDisplayTester () | |
![]() | ![]() | void | TestDepth ( int depth ) |
![]() | ![]() | int | BestDetectedFormat () |
![]() | ![]() | BOOL | BestDetectedInvert () |
Static Public Members | |||
![]() | ![]() | int | CurrentScreenBitDepth () |
![]() | ![]() | U32 | CurrentScreenColors () |
Given the depth, computes the best PixelFormat. BestDetectedFormat and BestDetectedInvert should be valid after this call. Example: given a bit depth of 16, this could determine whether to use pix16A or pix16. For format choices, see the PixelFormat structure.
The PixelFormat, valid after a call to TestDepth.
"invert" refers to the orientation of display memory relative to the screen. If you display is drawn upside down, change this value.
[static]
CurrentScreenBitDepth returns the current depth of the display.
[static]The number of colors the screen can display.