Cleanup OSScreen function declarations.

This commit is contained in:
James Benton 2016-07-25 22:28:43 +01:00
parent f3b251baf3
commit cc50c182cf

View File

@ -6,42 +6,49 @@
* \ingroup coreinit * \ingroup coreinit
* @{ * @{
*/ */
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
void typedef enum OSScreenID
{
SCREEN_TV = 0,
SCREEN_DRC = 1,
} OSScreenID;
void
OSScreenInit(); OSScreenInit();
unsigned int uint32_t
OSScreenGetBufferSizeEx(unsigned int bufferNum); OSScreenGetBufferSizeEx(OSScreenID screen);
int void
OSScreenSetBufferEx(unsigned int bufferNum, void * addr); OSScreenSetBufferEx(OSScreenID screen,
void *addr);
int void
OSScreenClearBufferEx(unsigned int bufferNum, OSScreenClearBufferEx(OSScreenID screen,
unsigned int temp); uint32_t colour);
int void
OSScreenFlipBuffersEx(unsigned int bufferNum); OSScreenFlipBuffersEx(OSScreenID screen);
int void
OSScreenPutFontEx(unsigned int bufferNum, OSScreenPutFontEx(OSScreenID screen,
unsigned int posX, uint32_t row,
unsigned int posY, uint32_t column,
const char * buffer); const char *buffer);
void void
OSScreenPutPixelEx(int bufferNum, OSScreenPutPixelEx(OSScreenID screen,
uint32_t posX, uint32_t x,
uint32_t posY, uint32_t y,
uint32_t colour); uint32_t colour);
int void
OSScreenEnableEx(unsigned int bufferNum, OSScreenEnableEx(OSScreenID screen,
int enable); BOOL enable);
#ifdef __cplusplus #ifdef __cplusplus
} }