wut/include/coreinit/screen.h
2017-04-07 01:24:37 +01:00

61 lines
949 B
C

#pragma once
#include <wut.h>
/**
* \defgroup coreinit_screen Screen
* \ingroup coreinit
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
typedef enum OSScreenID
{
SCREEN_TV = 0,
SCREEN_DRC = 1,
} OSScreenID;
void
OSScreenInit();
void
OSScreenShutdown();
uint32_t
OSScreenGetBufferSizeEx(OSScreenID screen);
void
OSScreenSetBufferEx(OSScreenID screen,
void *addr);
void
OSScreenClearBufferEx(OSScreenID screen,
uint32_t colour);
void
OSScreenFlipBuffersEx(OSScreenID screen);
void
OSScreenPutFontEx(OSScreenID screen,
uint32_t row,
uint32_t column,
const char *buffer);
void
OSScreenPutPixelEx(OSScreenID screen,
uint32_t x,
uint32_t y,
uint32_t colour);
void
OSScreenEnableEx(OSScreenID screen,
BOOL enable);
#ifdef __cplusplus
}
#endif
/** @} */