cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

font_8h.html (21306B)


      1<!-- HTML header for doxygen 1.8.14-->
      2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      3<html xmlns="http://www.w3.org/1999/xhtml">
      4<head>
      5<meta http-equiv="cache-control" content="max-age=86400"/>
      6<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
      7<meta http-equiv="X-UA-Compatible" content="IE=9"/>
      8<meta name="generator" content="Doxygen 1.8.20"/>
      9<meta name="viewport" content="width=device-width, initial-scale=1"/>
     10<title>GBDK 2020 Docs: gbdk/font.h File Reference</title>
     11<link href="tabs.css" rel="stylesheet" type="text/css"/>
     12<script type="text/javascript" src="jquery.js"></script>
     13<script type="text/javascript" src="dynsections.js"></script>
     14<link href="navtree.css" rel="stylesheet" type="text/css"/>
     15<script type="text/javascript" src="resize.js"></script>
     16<script type="text/javascript" src="navtreedata.js"></script>
     17<script type="text/javascript" src="navtree.js"></script>
     18<link href="search/search.css" rel="stylesheet" type="text/css"/>
     19<script type="text/javascript" src="search/searchdata.js"></script>
     20<script type="text/javascript" src="search/search.js"></script>
     21<link href="doxygen.css" rel="stylesheet" type="text/css" />
     22<link href="doxygen_extra.css" rel="stylesheet" type="text/css"/>
     23</head>
     24<body>
     25<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
     26<div id="titlearea">
     27<table cellspacing="0" cellpadding="0">
     28 <tbody>
     29 <tr style="height: 56px;">
     30  <td id="projectalign" style="padding-left: 0.5em;">
     31   <div id="projectname">GBDK 2020 Docs
     32   &#160;<span id="projectnumber">4.0.6</span>
     33   </div>
     34   <div id="projectbrief">API Documentation for GBDK 2020</div>
     35  </td>
     36 </tr>
     37 </tbody>
     38</table>
     39</div>
     40<!-- end header part -->
     41<!-- Generated by Doxygen 1.8.20 -->
     42<script type="text/javascript">
     43/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
     44var searchBox = new SearchBox("searchBox", "search",false,'Search');
     45/* @license-end */
     46</script>
     47<script type="text/javascript" src="menudata.js"></script>
     48<script type="text/javascript" src="menu.js"></script>
     49<script type="text/javascript">
     50/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
     51$(function() {
     52  initMenu('',true,false,'search.php','Search');
     53  $(document).ready(function() { init_search(); });
     54});
     55/* @license-end */</script>
     56<div id="main-nav"></div>
     57</div><!-- top -->
     58<div id="side-nav" class="ui-resizable side-nav-resizable">
     59  <div id="nav-tree">
     60    <div id="nav-tree-contents">
     61      <div id="nav-sync" class="sync"></div>
     62    </div>
     63  </div>
     64  <div id="splitbar" style="-moz-user-select:none;" 
     65       class="ui-resizable-handle">
     66  </div>
     67</div>
     68<script type="text/javascript">
     69/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
     70$(document).ready(function(){initNavTree('font_8h.html',''); initResizable(); });
     71/* @license-end */
     72</script>
     73<div id="doc-content">
     74<!-- window showing the filter options -->
     75<div id="MSearchSelectWindow"
     76     onmouseover="return searchBox.OnSearchSelectShow()"
     77     onmouseout="return searchBox.OnSearchSelectHide()"
     78     onkeydown="return searchBox.OnSearchSelectKey(event)">
     79</div>
     80
     81<!-- iframe showing the search results (closed by default) -->
     82<div id="MSearchResultsWindow">
     83<iframe src="javascript:void(0)" frameborder="0" 
     84        name="MSearchResults" id="MSearchResults">
     85</iframe>
     86</div>
     87
     88<div class="header">
     89  <div class="summary">
     90<a href="#nested-classes">Data Structures</a> &#124;
     91<a href="#define-members">Macros</a> &#124;
     92<a href="#typedef-members">Typedefs</a> &#124;
     93<a href="#func-members">Functions</a> &#124;
     94<a href="#var-members">Variables</a>  </div>
     95  <div class="headertitle">
     96<div class="title">font.h File Reference</div>  </div>
     97</div><!--header-->
     98<div class="contents">
     99<div class="textblock"><code>#include &lt;types.h&gt;</code><br />
    100<code>#include &lt;<a class="el" href="stdint_8h_source.html">stdint.h</a>&gt;</code><br />
    101</div>
    102<p><a href="font_8h_source.html">Go to the source code of this file.</a></p>
    103<table class="memberdecls">
    104<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
    105Data Structures</h2></td></tr>
    106<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsfont__handle.html">sfont_handle</a></td></tr>
    107<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
    108</table><table class="memberdecls">
    109<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
    110Macros</h2></td></tr>
    111<tr class="memitem:a63b93b85724b26151ddc2f0fc8050bd8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="font_8h.html#a63b93b85724b26151ddc2f0fc8050bd8">FONT_256ENCODING</a>&#160;&#160;&#160;0</td></tr>
    112<tr class="separator:a63b93b85724b26151ddc2f0fc8050bd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
    113<tr class="memitem:a305ee4387ba051bd0e372b8a6dfb6905"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="font_8h.html#a305ee4387ba051bd0e372b8a6dfb6905">FONT_128ENCODING</a>&#160;&#160;&#160;1</td></tr>
    114<tr class="separator:a305ee4387ba051bd0e372b8a6dfb6905"><td class="memSeparator" colspan="2">&#160;</td></tr>
    115<tr class="memitem:a80d0f581e17313b62dd7824653462b55"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="font_8h.html#a80d0f581e17313b62dd7824653462b55">FONT_NOENCODING</a>&#160;&#160;&#160;2</td></tr>
    116<tr class="separator:a80d0f581e17313b62dd7824653462b55"><td class="memSeparator" colspan="2">&#160;</td></tr>
    117<tr class="memitem:a7c5452979723b3535d17e253beb5d604"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="font_8h.html#a7c5452979723b3535d17e253beb5d604">FONT_COMPRESSED</a>&#160;&#160;&#160;4</td></tr>
    118<tr class="separator:a7c5452979723b3535d17e253beb5d604"><td class="memSeparator" colspan="2">&#160;</td></tr>
    119</table><table class="memberdecls">
    120<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
    121Typedefs</h2></td></tr>
    122<tr class="memitem:a7c6b54e58c41763c66f15ec4528a1d4a"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="stdint_8h.html#adf4d876453337156dde61095e1f20223">uint16_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="font_8h.html#a7c6b54e58c41763c66f15ec4528a1d4a">font_t</a></td></tr>
    123<tr class="separator:a7c6b54e58c41763c66f15ec4528a1d4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
    124<tr class="memitem:aea1f63fe2ea8c7689b061ad93b485553"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structsfont__handle.html">sfont_handle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="font_8h.html#aea1f63fe2ea8c7689b061ad93b485553">mfont_handle</a></td></tr>
    125<tr class="separator:aea1f63fe2ea8c7689b061ad93b485553"><td class="memSeparator" colspan="2">&#160;</td></tr>
    126<tr class="memitem:a82e0e078fc8a8b6a18538131625dba3a"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structsfont__handle.html">sfont_handle</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="font_8h.html#a82e0e078fc8a8b6a18538131625dba3a">pmfont_handle</a></td></tr>
    127<tr class="separator:a82e0e078fc8a8b6a18538131625dba3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
    128</table><table class="memberdecls">
    129<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
    130Functions</h2></td></tr>
    131<tr class="memitem:a6b0459241994d549ae90776cdacede2d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="font_8h.html#a6b0459241994d549ae90776cdacede2d">font_init</a> ()</td></tr>
    132<tr class="separator:a6b0459241994d549ae90776cdacede2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
    133<tr class="memitem:ad089c09492dbd0423f4dd28f1a49a995"><td class="memItemLeft" align="right" valign="top"><a class="el" href="font_8h.html#a7c6b54e58c41763c66f15ec4528a1d4a">font_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="font_8h.html#ad089c09492dbd0423f4dd28f1a49a995">font_load</a> (void *font) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
    134<tr class="separator:ad089c09492dbd0423f4dd28f1a49a995"><td class="memSeparator" colspan="2">&#160;</td></tr>
    135<tr class="memitem:a7dee0ba7beb261727340b8cce7c5afcd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="font_8h.html#a7c6b54e58c41763c66f15ec4528a1d4a">font_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="font_8h.html#a7dee0ba7beb261727340b8cce7c5afcd">font_set</a> (<a class="el" href="font_8h.html#a7c6b54e58c41763c66f15ec4528a1d4a">font_t</a> font_handle) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
    136<tr class="separator:a7dee0ba7beb261727340b8cce7c5afcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
    137<tr class="memitem:a47b4964ef677dce9fdf1e9df29804721"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="font_8h.html#a47b4964ef677dce9fdf1e9df29804721">font_color</a> (<a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> forecolor, <a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> backcolor) <a class="el" href="asm_2types_8h.html#a0971918860055db2e50dacea4da8f3bc">OLDCALL</a></td></tr>
    138<tr class="separator:a47b4964ef677dce9fdf1e9df29804721"><td class="memSeparator" colspan="2">&#160;</td></tr>
    139</table><table class="memberdecls">
    140<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
    141Variables</h2></td></tr>
    142<tr class="memitem:ga1b59bbd85c12436eeef52d4c32c7345d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gbdk__fonts.html#ga1b59bbd85c12436eeef52d4c32c7345d">font_spect</a> []</td></tr>
    143<tr class="separator:ga1b59bbd85c12436eeef52d4c32c7345d"><td class="memSeparator" colspan="2">&#160;</td></tr>
    144<tr class="memitem:ga17e825a65ba38f34a658fe0a2c99d8d4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gbdk__fonts.html#ga17e825a65ba38f34a658fe0a2c99d8d4">font_italic</a> []</td></tr>
    145<tr class="separator:ga17e825a65ba38f34a658fe0a2c99d8d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
    146<tr class="memitem:ga6dcb04fed78fc39b95171988b776e6bb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gbdk__fonts.html#ga6dcb04fed78fc39b95171988b776e6bb">font_ibm</a> []</td></tr>
    147<tr class="separator:ga6dcb04fed78fc39b95171988b776e6bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
    148<tr class="memitem:gad8497ecbd9d845fc24a56688f157aad8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gbdk__fonts.html#gad8497ecbd9d845fc24a56688f157aad8">font_min</a> []</td></tr>
    149<tr class="separator:gad8497ecbd9d845fc24a56688f157aad8"><td class="memSeparator" colspan="2">&#160;</td></tr>
    150<tr class="memitem:gab8c52bed73e745f1ee910f2da60ddb4c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gbdk__fonts.html#gab8c52bed73e745f1ee910f2da60ddb4c">font_ibm_fixed</a> []</td></tr>
    151<tr class="separator:gab8c52bed73e745f1ee910f2da60ddb4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
    152</table>
    153<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
    154<div class="textblock"><p>Multiple font support for the GameBoy Michael Hope, 1999 <a href="#" onclick="location.href='mai'+'lto:'+'mic'+'ha'+'elh'+'@e'+'art'+'hl'+'ing'+'.n'+'et'; return false;">micha<span style="display: none;">.nosp@m.</span>elh@<span style="display: none;">.nosp@m.</span>earth<span style="display: none;">.nosp@m.</span>ling<span style="display: none;">.nosp@m.</span>.net</a> </p>
    155</div><h2 class="groupheader">Macro Definition Documentation</h2>
    156<a id="a63b93b85724b26151ddc2f0fc8050bd8"></a>
    157<h2 class="memtitle"><span class="permalink"><a href="#a63b93b85724b26151ddc2f0fc8050bd8">&#9670;&nbsp;</a></span>FONT_256ENCODING</h2>
    158
    159<div class="memitem">
    160<div class="memproto">
    161      <table class="memname">
    162        <tr>
    163          <td class="memname">#define FONT_256ENCODING&#160;&#160;&#160;0</td>
    164        </tr>
    165      </table>
    166</div><div class="memdoc">
    167<p>Various flags in the font header. </p>
    168
    169</div>
    170</div>
    171<a id="a305ee4387ba051bd0e372b8a6dfb6905"></a>
    172<h2 class="memtitle"><span class="permalink"><a href="#a305ee4387ba051bd0e372b8a6dfb6905">&#9670;&nbsp;</a></span>FONT_128ENCODING</h2>
    173
    174<div class="memitem">
    175<div class="memproto">
    176      <table class="memname">
    177        <tr>
    178          <td class="memname">#define FONT_128ENCODING&#160;&#160;&#160;1</td>
    179        </tr>
    180      </table>
    181</div><div class="memdoc">
    182
    183</div>
    184</div>
    185<a id="a80d0f581e17313b62dd7824653462b55"></a>
    186<h2 class="memtitle"><span class="permalink"><a href="#a80d0f581e17313b62dd7824653462b55">&#9670;&nbsp;</a></span>FONT_NOENCODING</h2>
    187
    188<div class="memitem">
    189<div class="memproto">
    190      <table class="memname">
    191        <tr>
    192          <td class="memname">#define FONT_NOENCODING&#160;&#160;&#160;2</td>
    193        </tr>
    194      </table>
    195</div><div class="memdoc">
    196
    197</div>
    198</div>
    199<a id="a7c5452979723b3535d17e253beb5d604"></a>
    200<h2 class="memtitle"><span class="permalink"><a href="#a7c5452979723b3535d17e253beb5d604">&#9670;&nbsp;</a></span>FONT_COMPRESSED</h2>
    201
    202<div class="memitem">
    203<div class="memproto">
    204      <table class="memname">
    205        <tr>
    206          <td class="memname">#define FONT_COMPRESSED&#160;&#160;&#160;4</td>
    207        </tr>
    208      </table>
    209</div><div class="memdoc">
    210
    211</div>
    212</div>
    213<h2 class="groupheader">Typedef Documentation</h2>
    214<a id="a7c6b54e58c41763c66f15ec4528a1d4a"></a>
    215<h2 class="memtitle"><span class="permalink"><a href="#a7c6b54e58c41763c66f15ec4528a1d4a">&#9670;&nbsp;</a></span>font_t</h2>
    216
    217<div class="memitem">
    218<div class="memproto">
    219      <table class="memname">
    220        <tr>
    221          <td class="memname">typedef <a class="el" href="stdint_8h.html#adf4d876453337156dde61095e1f20223">uint16_t</a> <a class="el" href="font_8h.html#a7c6b54e58c41763c66f15ec4528a1d4a">font_t</a></td>
    222        </tr>
    223      </table>
    224</div><div class="memdoc">
    225<p>font_t is a handle to a font loaded by <a class="el" href="font_8h.html#ad089c09492dbd0423f4dd28f1a49a995">font_load()</a>. It can be used with <a class="el" href="font_8h.html#a7dee0ba7beb261727340b8cce7c5afcd">font_set()</a> </p>
    226
    227</div>
    228</div>
    229<a id="aea1f63fe2ea8c7689b061ad93b485553"></a>
    230<h2 class="memtitle"><span class="permalink"><a href="#aea1f63fe2ea8c7689b061ad93b485553">&#9670;&nbsp;</a></span>mfont_handle</h2>
    231
    232<div class="memitem">
    233<div class="memproto">
    234      <table class="memname">
    235        <tr>
    236          <td class="memname">typedef struct <a class="el" href="structsfont__handle.html">sfont_handle</a> <a class="el" href="font_8h.html#aea1f63fe2ea8c7689b061ad93b485553">mfont_handle</a></td>
    237        </tr>
    238      </table>
    239</div><div class="memdoc">
    240<p>Internal representation of a font. What a font_t really is </p>
    241
    242</div>
    243</div>
    244<a id="a82e0e078fc8a8b6a18538131625dba3a"></a>
    245<h2 class="memtitle"><span class="permalink"><a href="#a82e0e078fc8a8b6a18538131625dba3a">&#9670;&nbsp;</a></span>pmfont_handle</h2>
    246
    247<div class="memitem">
    248<div class="memproto">
    249      <table class="memname">
    250        <tr>
    251          <td class="memname">typedef struct <a class="el" href="structsfont__handle.html">sfont_handle</a>* <a class="el" href="font_8h.html#a82e0e078fc8a8b6a18538131625dba3a">pmfont_handle</a></td>
    252        </tr>
    253      </table>
    254</div><div class="memdoc">
    255
    256</div>
    257</div>
    258<h2 class="groupheader">Function Documentation</h2>
    259<a id="a6b0459241994d549ae90776cdacede2d"></a>
    260<h2 class="memtitle"><span class="permalink"><a href="#a6b0459241994d549ae90776cdacede2d">&#9670;&nbsp;</a></span>font_init()</h2>
    261
    262<div class="memitem">
    263<div class="memproto">
    264      <table class="memname">
    265        <tr>
    266          <td class="memname">void font_init </td>
    267          <td>(</td>
    268          <td class="paramname"></td><td>)</td>
    269          <td></td>
    270        </tr>
    271      </table>
    272</div><div class="memdoc">
    273<p>Initializes the font system. Should be called before other font functions. </p>
    274
    275</div>
    276</div>
    277<a id="ad089c09492dbd0423f4dd28f1a49a995"></a>
    278<h2 class="memtitle"><span class="permalink"><a href="#ad089c09492dbd0423f4dd28f1a49a995">&#9670;&nbsp;</a></span>font_load()</h2>
    279
    280<div class="memitem">
    281<div class="memproto">
    282      <table class="memname">
    283        <tr>
    284          <td class="memname"><a class="el" href="font_8h.html#a7c6b54e58c41763c66f15ec4528a1d4a">font_t</a> font_load </td>
    285          <td>(</td>
    286          <td class="paramtype">void *&#160;</td>
    287          <td class="paramname"><em>font</em></td><td>)</td>
    288          <td></td>
    289        </tr>
    290      </table>
    291</div><div class="memdoc">
    292<p>Load a font and set it as the current font. </p><dl class="params"><dt>Parameters</dt><dd>
    293  <table class="params">
    294    <tr><td class="paramname">font</td><td>Pointer to a font to load (usually a gbdk font)</td></tr>
    295  </table>
    296  </dd>
    297</dl>
    298<dl class="section return"><dt>Returns</dt><dd>Handle to the loaded font, which can be used with <a class="el" href="font_8h.html#a7dee0ba7beb261727340b8cce7c5afcd">font_set()</a> </dd></dl>
    299<dl class="section see"><dt>See also</dt><dd><a class="el" href="font_8h.html#a6b0459241994d549ae90776cdacede2d">font_init()</a>, <a class="el" href="font_8h.html#a7dee0ba7beb261727340b8cce7c5afcd">font_set()</a>, <a class="el" href="group__gbdk__fonts.html">List of gbdk fonts</a> </dd></dl>
    300
    301</div>
    302</div>
    303<a id="a7dee0ba7beb261727340b8cce7c5afcd"></a>
    304<h2 class="memtitle"><span class="permalink"><a href="#a7dee0ba7beb261727340b8cce7c5afcd">&#9670;&nbsp;</a></span>font_set()</h2>
    305
    306<div class="memitem">
    307<div class="memproto">
    308      <table class="memname">
    309        <tr>
    310          <td class="memname"><a class="el" href="font_8h.html#a7c6b54e58c41763c66f15ec4528a1d4a">font_t</a> font_set </td>
    311          <td>(</td>
    312          <td class="paramtype"><a class="el" href="font_8h.html#a7c6b54e58c41763c66f15ec4528a1d4a">font_t</a>&#160;</td>
    313          <td class="paramname"><em>font_handle</em></td><td>)</td>
    314          <td></td>
    315        </tr>
    316      </table>
    317</div><div class="memdoc">
    318<p>Set the current font. </p><dl class="params"><dt>Parameters</dt><dd>
    319  <table class="params">
    320    <tr><td class="paramname">font_handle</td><td>handle of a font returned by <a class="el" href="font_8h.html#ad089c09492dbd0423f4dd28f1a49a995">font_load()</a></td></tr>
    321  </table>
    322  </dd>
    323</dl>
    324<dl class="section return"><dt>Returns</dt><dd>The previously used font handle. </dd></dl>
    325<dl class="section see"><dt>See also</dt><dd><a class="el" href="font_8h.html#a6b0459241994d549ae90776cdacede2d">font_init()</a>, <a class="el" href="font_8h.html#ad089c09492dbd0423f4dd28f1a49a995">font_load()</a> </dd></dl>
    326
    327</div>
    328</div>
    329<a id="a47b4964ef677dce9fdf1e9df29804721"></a>
    330<h2 class="memtitle"><span class="permalink"><a href="#a47b4964ef677dce9fdf1e9df29804721">&#9670;&nbsp;</a></span>font_color()</h2>
    331
    332<div class="memitem">
    333<div class="memproto">
    334      <table class="memname">
    335        <tr>
    336          <td class="memname">void font_color </td>
    337          <td>(</td>
    338          <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
    339          <td class="paramname"><em>forecolor</em>, </td>
    340        </tr>
    341        <tr>
    342          <td class="paramkey"></td>
    343          <td></td>
    344          <td class="paramtype"><a class="el" href="stdint_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td>
    345          <td class="paramname"><em>backcolor</em>&#160;</td>
    346        </tr>
    347        <tr>
    348          <td></td>
    349          <td>)</td>
    350          <td></td><td></td>
    351        </tr>
    352      </table>
    353</div><div class="memdoc">
    354<p>Set the current <b>foreground</b> colour (for pixels), <b>background</b> colour </p>
    355
    356</div>
    357</div>
    358</div><!-- contents -->
    359</div><!-- doc-content -->
    360<!-- HTML footer for doxygen 1.8.14-->
    361<!-- start footer part -->
    362<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
    363</div>
    364</body>
    365</html>