Home |
RTTarget-32 Programming Manual Function RTDisplaySet System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTDisplaySetFunction RTDisplaySet can be used to define a few display properties: int RTDisplaySet(int Col, int Row, int Cols, int Rows, WORD Blank); ParametersColColumn of the upper left hand corner of the rectangle to use as a display. In text mode, this value must be 0. In graphics mode, it may have any value such that Col+Cols is <= the width of the whole display. If -1 is specified in graphics mode, the function will select a value such that the used display area in centered on the screen. The default is 0. RowRow of the upper left hand corner of the rectangle to use as a display. In text mode, this value must be 0. In graphics mode, it may have any value such that Row+Rows is <= the hight of the whole display. If -1 is specified in graphics mode, the function will select a value such that the used display area in centered on the screen. The default is 0. ColsNumber of columns to use. In text mode, this value must span the whole width of the screen. In graphics mode, any value <= the width of the whole screen is supported. The default is 80. RowsNumber of rows to use. In text mode, this value must span the whole hight of the screen. In graphics mode, any value <= the hight of the whole screen is supported. The default is 25. BlankThe lower 8 bits are ignored. The upper 8 bits define the colors to use for characters with no attribute bits set. For details, please see function RTDisplayCharAt. This parameter is ignored if 0.
|