wut/screen_8h.html
2020-03-26 16:49:18 +11:00

138 lines
12 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: /home/ash/Code/wut2/include/coreinit/screen.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">wut
&#160;<span id="projectnumber">1.0.0-beta9</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_5050f3de292bd66075be80c4b119f1df.html">coreinit</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">screen.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="wut_8h_source.html">wut.h</a>&gt;</code><br />
</div>
<p><a href="screen_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gac61fff8beb9265220bdfabcca9e5da08"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__coreinit__screen.html#ga31055493febf1e72ada55aa0b2380f37">OSScreenID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__screen.html#gac61fff8beb9265220bdfabcca9e5da08">OSScreenID</a></td></tr>
<tr class="memdesc:gac61fff8beb9265220bdfabcca9e5da08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the ID of a display usable with OSScreen. <a href="group__coreinit__screen.html#gac61fff8beb9265220bdfabcca9e5da08">More...</a><br /></td></tr>
<tr class="separator:gac61fff8beb9265220bdfabcca9e5da08"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga31055493febf1e72ada55aa0b2380f37"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__screen.html#ga31055493febf1e72ada55aa0b2380f37">OSScreenID</a> { <br />
&#160;&#160;<a class="el" href="group__coreinit__screen.html#gga31055493febf1e72ada55aa0b2380f37a258310cb1445b158bc6ed1dac866754a">SCREEN_TV</a> = 0,
<br />
&#160;&#160;<a class="el" href="group__coreinit__screen.html#gga31055493febf1e72ada55aa0b2380f37a282d5ab88bd9929a9d5a2be6a3df4b81">SCREEN_DRC</a> = 1
<br />
}</td></tr>
<tr class="memdesc:ga31055493febf1e72ada55aa0b2380f37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines the ID of a display usable with OSScreen. <a href="group__coreinit__screen.html#ga31055493febf1e72ada55aa0b2380f37">More...</a><br /></td></tr>
<tr class="separator:ga31055493febf1e72ada55aa0b2380f37"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gac678395798fae82a857a824eedebd7de"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__screen.html#gac678395798fae82a857a824eedebd7de">OSScreenInit</a> ()</td></tr>
<tr class="memdesc:gac678395798fae82a857a824eedebd7de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialises the OSScreen library for use. <a href="group__coreinit__screen.html#gac678395798fae82a857a824eedebd7de">More...</a><br /></td></tr>
<tr class="separator:gac678395798fae82a857a824eedebd7de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga10098ced2ffbf0107930932af69665a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__screen.html#ga10098ced2ffbf0107930932af69665a3">OSScreenShutdown</a> ()</td></tr>
<tr class="memdesc:ga10098ced2ffbf0107930932af69665a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cleans up and shuts down the OSScreen library. <a href="group__coreinit__screen.html#ga10098ced2ffbf0107930932af69665a3">More...</a><br /></td></tr>
<tr class="separator:ga10098ced2ffbf0107930932af69665a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14a0a2e005fc00ddd23ac58aff566ee5"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__screen.html#ga14a0a2e005fc00ddd23ac58aff566ee5">OSScreenGetBufferSizeEx</a> (<a class="el" href="group__coreinit__screen.html#ga31055493febf1e72ada55aa0b2380f37">OSScreenID</a> screen)</td></tr>
<tr class="memdesc:ga14a0a2e005fc00ddd23ac58aff566ee5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the amount of memory required to fit both buffers of a given screen. <a href="group__coreinit__screen.html#ga14a0a2e005fc00ddd23ac58aff566ee5">More...</a><br /></td></tr>
<tr class="separator:ga14a0a2e005fc00ddd23ac58aff566ee5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae7f7bf93df292c52972baf07b0ba8116"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__screen.html#gae7f7bf93df292c52972baf07b0ba8116">OSScreenSetBufferEx</a> (<a class="el" href="group__coreinit__screen.html#ga31055493febf1e72ada55aa0b2380f37">OSScreenID</a> screen, void *addr)</td></tr>
<tr class="memdesc:gae7f7bf93df292c52972baf07b0ba8116"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the memory location for both buffers of a given screen. <a href="group__coreinit__screen.html#gae7f7bf93df292c52972baf07b0ba8116">More...</a><br /></td></tr>
<tr class="separator:gae7f7bf93df292c52972baf07b0ba8116"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa265bdc1d4e801a8e9495ab4f4cabafe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__screen.html#gaa265bdc1d4e801a8e9495ab4f4cabafe">OSScreenClearBufferEx</a> (<a class="el" href="group__coreinit__screen.html#ga31055493febf1e72ada55aa0b2380f37">OSScreenID</a> screen, uint32_t colour)</td></tr>
<tr class="memdesc:gaa265bdc1d4e801a8e9495ab4f4cabafe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the work buffer of the given screen by setting all of its pixels to a given colour. <a href="group__coreinit__screen.html#gaa265bdc1d4e801a8e9495ab4f4cabafe">More...</a><br /></td></tr>
<tr class="separator:gaa265bdc1d4e801a8e9495ab4f4cabafe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga09b9072ab8dd2095f97ba39e24e3b76b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__screen.html#ga09b9072ab8dd2095f97ba39e24e3b76b">OSScreenFlipBuffersEx</a> (<a class="el" href="group__coreinit__screen.html#ga31055493febf1e72ada55aa0b2380f37">OSScreenID</a> screen)</td></tr>
<tr class="memdesc:ga09b9072ab8dd2095f97ba39e24e3b76b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Swap the buffers of the given screen. <a href="group__coreinit__screen.html#ga09b9072ab8dd2095f97ba39e24e3b76b">More...</a><br /></td></tr>
<tr class="separator:ga09b9072ab8dd2095f97ba39e24e3b76b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf5e67a9873092ab755c3af2db421a01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__screen.html#gacf5e67a9873092ab755c3af2db421a01">OSScreenPutFontEx</a> (<a class="el" href="group__coreinit__screen.html#ga31055493febf1e72ada55aa0b2380f37">OSScreenID</a> screen, uint32_t row, uint32_t column, const char *buffer)</td></tr>
<tr class="memdesc:gacf5e67a9873092ab755c3af2db421a01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws text at the given position. <a href="group__coreinit__screen.html#gacf5e67a9873092ab755c3af2db421a01">More...</a><br /></td></tr>
<tr class="separator:gacf5e67a9873092ab755c3af2db421a01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3f4b6594fdc62b57e5ceb6cdc0e57d5a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__screen.html#ga3f4b6594fdc62b57e5ceb6cdc0e57d5a">OSScreenPutPixelEx</a> (<a class="el" href="group__coreinit__screen.html#ga31055493febf1e72ada55aa0b2380f37">OSScreenID</a> screen, uint32_t x, uint32_t y, uint32_t colour)</td></tr>
<tr class="memdesc:ga3f4b6594fdc62b57e5ceb6cdc0e57d5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a single pixel at the given position. <a href="group__coreinit__screen.html#ga3f4b6594fdc62b57e5ceb6cdc0e57d5a">More...</a><br /></td></tr>
<tr class="separator:ga3f4b6594fdc62b57e5ceb6cdc0e57d5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0dd2476b23f7f4e52a5167f2335773e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__screen.html#ga0dd2476b23f7f4e52a5167f2335773e3">OSScreenEnableEx</a> (<a class="el" href="group__coreinit__screen.html#ga31055493febf1e72ada55aa0b2380f37">OSScreenID</a> screen, <a class="el" href="wut__types_8h.html#a975dbe9e4396bf9e0064ce01827fa372">BOOL</a> enable)</td></tr>
<tr class="memdesc:ga0dd2476b23f7f4e52a5167f2335773e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables a given screen. <a href="group__coreinit__screen.html#ga0dd2476b23f7f4e52a5167f2335773e3">More...</a><br /></td></tr>
<tr class="separator:ga0dd2476b23f7f4e52a5167f2335773e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>