wut v1.8.0
Wii U Toolchain
Loading...
Searching...
No Matches
screen.h
Go to the documentation of this file.
1#pragma once
2#include <wut.h>
3
39#ifdef __cplusplus
40extern "C" {
41#endif
42
51
62void
64
72void
74
85uint32_t
87
104void
106 void *addr);
107
131void
133 uint32_t colour);
134
146void
148
177void
179 uint32_t column,
180 uint32_t row,
181 const char *buffer);
182
209void
211 uint32_t x,
212 uint32_t y,
213 uint32_t colour);
214
224void
226 BOOL enable);
227
228#ifdef __cplusplus
229}
230#endif
231
void OSScreenFlipBuffersEx(OSScreenID screen)
Swap the buffers of the given screen.
void OSScreenEnableEx(OSScreenID screen, BOOL enable)
Enables or disables a given screen.
void OSScreenShutdown()
Cleans up and shuts down the OSScreen library.
uint32_t OSScreenGetBufferSizeEx(OSScreenID screen)
Gets the amount of memory required to fit both buffers of a given screen.
OSScreenID
Defines the ID of a display usable with OSScreen.
Definition screen.h:45
void OSScreenPutPixelEx(OSScreenID screen, uint32_t x, uint32_t y, uint32_t colour)
Draws a single pixel at the given position.
void OSScreenPutFontEx(OSScreenID screen, uint32_t column, uint32_t row, const char *buffer)
Draws text at the given position.
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.
void OSScreenInit()
Initialises the OSScreen library for use.
void OSScreenSetBufferEx(OSScreenID screen, void *addr)
Sets the memory location for both buffers of a given screen.
@ SCREEN_TV
Represents the TV connected to the system.
Definition screen.h:47
@ SCREEN_DRC
Represents the screen in the DRC (gamepad).
Definition screen.h:49
int32_t BOOL
Definition wut_types.h:7