wut  v1.7.0
Wii U Toolchain
Typedefs | Enumerations | Functions
screen.h File Reference
#include <wut.h>
Include dependency graph for screen.h:

Go to the source code of this file.

Typedefs

typedef enum OSScreenID OSScreenID
 Defines the ID of a display usable with OSScreen. More...
 

Enumerations

enum  OSScreenID {
  SCREEN_TV = 0 ,
  SCREEN_DRC = 1
}
 Defines the ID of a display usable with OSScreen. More...
 

Functions

void OSScreenInit ()
 Initialises the OSScreen library for use. More...
 
void OSScreenShutdown ()
 Cleans up and shuts down the OSScreen library. More...
 
uint32_t OSScreenGetBufferSizeEx (OSScreenID screen)
 Gets the amount of memory required to fit both buffers of a given screen. More...
 
void OSScreenSetBufferEx (OSScreenID screen, void *addr)
 Sets the memory location for both buffers of a given screen. More...
 
void OSScreenClearBufferEx (OSScreenID screen, uint32_t colour)
 Clear the work buffer of the given screen by setting all of its pixels to a given colour. More...
 
void OSScreenFlipBuffersEx (OSScreenID screen)
 Swap the buffers of the given screen. More...
 
void OSScreenPutFontEx (OSScreenID screen, uint32_t column, uint32_t row, const char *buffer)
 Draws text at the given position. More...
 
void OSScreenPutPixelEx (OSScreenID screen, uint32_t x, uint32_t y, uint32_t colour)
 Draws a single pixel at the given position. More...
 
void OSScreenEnableEx (OSScreenID screen, BOOL enable)
 Enables or disables a given screen. More...