\i C V C byte::screen byte::viewport bool::copy_content word::pos_x word::pos_y
Parameter | Type | Range | Description |
---|---|---|---|
screen | byte | M, 0 ... number of screens - 1 | index of the screen to copied to (M = main screen) |
viewport | byte | 1 ... 8 | index of the new viewport |
copy_content | bool | 0 ... 1 | copy display content (1) or just the parameters (0) |
pos_x | word | 0 ... display width - 1 | x coordinate for the new viewport's origin |
pos_y | word | 0 ... display height - 1 | y coordinate for the new viewport's origin |
Creates a new viewport with viewport as index at the specified position (pos_x and pos_y) of the selected screen and assigns all attributes of the currently selected viewport to it.
Note
Response: | [ACK] |
Example
\iCVC\0\2\1\D45\D60
On screen #0, a new viewport with an index of 2 and the same dimensions as the previously selected viewport is created. It has the same content as the selected viewport, its origin is at the coordinates x = 45 and y = 60. The cursor position of screen #0 is also set to this position.
Not supported by: DPC3020, DPC2060, DPC10xx
See also:
Copyright © demmel products gmbh. All rights reserved.