|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Display and framebuffer configuration More...
Topics | |
| Framebuffer | |
| API for framebuffer management | |
| Modes | |
| Video display modes and management | |
Files | |
| file | video.h |
| Functions related to video output. | |
Functions | |
| uint32_t | vid_border_color (uint8_t r, uint8_t g, uint8_t b) |
| Set the border color of the display. | |
| bool | vid_get_enabled (void) |
| Get the state of video output. | |
| void | vid_set_enabled (bool val) |
| Enable/disable the display. | |
Display and framebuffer configuration
| uint32_t vid_border_color | ( | uint8_t | r, |
| uint8_t | g, | ||
| uint8_t | b ) |
Set the border color of the display.
This sets the color of the border area of the display.
| r | The red value of the color (0-255). |
| g | The green value of the color (0-255). |
| b | The blue value of the color (0-255). |
| bool vid_get_enabled | ( | void | ) |
Get the state of video output.
This function gets the state of video output as set via vid_set_enabled.
| void vid_set_enabled | ( | bool | val | ) |
Enable/disable the display.
This function enables or disables video output
| val | true to enable video output, false to disable. |