AllocCModeListTagList
Get an exec list with requested modes
Declaration
Source position: cybergraphics.pas line 299
Arguments
ModeListTags |
|
Pointer to an optional tag list which may be used to control the number of returned modes |
Function result
nil if no modes are available, a pointer to a exec list if there are modes which fit your needs. Use FreeCModeList to free it after use.
Description
Allocates a list structure which contains all requested modes (All nodes are of type CyberModeNode). See defines for more information about the structure of this nodes.
Available Tags:
- CYBRMREQ_MinWidth
- (LongWord) The minimum display width to let the user choose. Default is 320.
- CYBRMREQ_MaxWidth
- (LongWord) The maximum display width to let the user choose. Default is 1600.
- CYBRMREQ_MinHeight
- (LongWord) The minimum display height to let the user choose. Default is 240.
- CYBRMREQ_MaxHeight
- (LongWord) The maximum display height to let the user choose. Default is 1200.
- CYBRMREQ_MinDepth
- (Word) The minimum display depth to let the user choose. Default is 8.
- CYBRMREQ_MaxDepth
- (Word) The maximum display depth to let the user choose. Default is 32.
- CYBRMREQ_CModelArray
- (PWord) Array of color models which should be available for screenmode selection. Currently supported colormodels are: PIXFMT_LUT8, PIXFMT_RGB15, PIXFMT_BGR15, PIXFMT_RGB15PC, PIXFMT_BGR15PC, PIXFMT_RGB16, PIXFMT_BGR16, PIXFMT_RGB16PC, PIXFMT_BGR16PC, PIXFMT_RGB24, PIXFMT_BGR24, PIXFMT_ARGB32, PIXFMT_BGRA32, PIXFMT_RGBA32 default is all colormodels available, nothing filtered
See also