Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
ON THIS PAGE
|
...
Code Block | ||
---|---|---|
| ||
vm = CreateObject("roVideoMode") sm = vm.GetScreenModes() sm[0].video_mode="1920x1080x60p" sm[0].transform = "normal" sm[0].display_x=0 sm[0].display_y=0 sm[0].enabled=true sm[1].video_mode="1920x1080x60p" sm[1].transform = "normal" sm[1].display_x=0 sm[1].display_y=1080 sm[1].enabled=true sm[0].video_mode ="1920x1080x60p" sm[1].enabled = true sm[1].video_mode ="1920x1080x60p" sm[1].display_x = 0 sm[1].display_y = 1080 vm.SetScreenModes(sm) |
...
Specifies the target video mode of the device the next time it reboots. Once a video mode is specified using SetMode()
, it can only be changed by a device reboot.
SetCustomModeline(roString modeline) As roBool
Sets the custom videomode with the supplied modeline (see Applying a Custom Resolution). The custom videomode can then be selected using SetMode.
GetModeForNextBoot() As String
...