wut/include/coreinit/screen.h

61 lines
949 B
C
Raw Normal View History

2016-07-24 23:03:22 +02:00
#pragma once
#include <wut.h>
/**
* \defgroup coreinit_screen Screen
* \ingroup coreinit
* @{
*/
2016-07-24 23:03:22 +02:00
#ifdef __cplusplus
extern "C" {
#endif
typedef enum OSScreenID
{
SCREEN_TV = 0,
SCREEN_DRC = 1,
} OSScreenID;
void
2016-07-24 23:03:22 +02:00
OSScreenInit();
2017-04-07 02:24:16 +02:00
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,
2016-07-24 23:03:22 +02:00
uint32_t colour);
void
OSScreenEnableEx(OSScreenID screen,
BOOL enable);
2016-07-24 23:03:22 +02:00
#ifdef __cplusplus
}
#endif
/** @} */