00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef DisplayModeInfo_H
00025 #define DisplayModeInfo_H
00026
00027 #include "basetype.h"
00028
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif
00032
00033
00034 enum DisplayModeInfo_Flags
00035 {
00036 SYSTEM =1,
00037 VIDEO =2,
00038 HARDWARE =4,
00039 DMABLT =8,
00040 FASTBLT =16,
00041 SAFEBLT =32,
00042 FLIP =64,
00043 DMAPAGELOCKREQUIRED =128,
00044 DMAASYNCH =256,
00045 STRETCHMODE =512,
00046 MODEXMODE =1024
00047 };
00048
00049 typedef struct DisplayModeInfo DisplayModeInfo;
00050
00051 DisplayModeInfo * DisplayModeInfo_Create( void );
00052
00053 void DisplayModeInfo_Destroy( DisplayModeInfo **Info );
00054
00055 int DisplayModeInfo_GetModeCount( DisplayModeInfo *Info);
00056
00057 geBoolean DisplayModeInfo_AddEntry( DisplayModeInfo *Info,
00058 int Width,
00059 int Height,
00060 int BitsPerPixel,
00061 uint32 Flags );
00062
00063 geBoolean DisplayModeInfo_GetNth( DisplayModeInfo *Info,
00064 int Nth,
00065 int *Width,
00066 int *Height,
00067 int *BitsPerPixel,
00068 uint32 *Flags);
00069
00070 #ifdef __cplusplus
00071 }
00072 #endif
00073
00074
00075 #endif
00076