clutchlog/docs/structclutchlog_1_1fmt_1_1bg__16_m.html
2024-09-10 16:21:54 +02:00

348 lines
28 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=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>clutchlog: clutchlog::fmt::bg_16M Struct 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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" />
<link href="doxygen-style.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 id="projectrow">
<td id="projectlogo"><img alt="Logo" src="clutchlog_logo.svg"/></td>
<td id="projectalign">
<div id="projectname">clutchlog<span id="projectnumber">&#160;0.17</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('structclutchlog_1_1fmt_1_1bg__16_m.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="structclutchlog_1_1fmt_1_1bg__16_m-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">clutchlog::fmt::bg_16M Struct Reference<div class="ingroups"><a class="el" href="group__colors256__16_m.html">Internal colors management in 256 and 16M colors modes.</a></div></div></div>
</div><!--header-->
<div class="contents">
<p>background in 256-colors mode.
<a href="structclutchlog_1_1fmt_1_1bg__16_m.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for clutchlog::fmt::bg_16M:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="structclutchlog_1_1fmt_1_1bg__16_m__inherit__graph.svg" width="180" height="187"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for clutchlog::fmt::bg_16M:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="structclutchlog_1_1fmt_1_1bg__16_m__coll__graph.svg" width="180" height="187"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >background in 256-colors mode. </p>
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l00678">678</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a363c314ab6a8aa22951b5500d7a78ad0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1bg__16_m.html#a363c314ab6a8aa22951b5500d7a78ad0">bg_16M</a> ()</td></tr>
<tr class="memdesc:a363c314ab6a8aa22951b5500d7a78ad0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty constructor: no color. <a href="structclutchlog_1_1fmt_1_1bg__16_m.html#a363c314ab6a8aa22951b5500d7a78ad0">More...</a><br /></td></tr>
<tr class="separator:a363c314ab6a8aa22951b5500d7a78ad0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace018922ae99f32b48bf5cacaec91501"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1bg__16_m.html#ace018922ae99f32b48bf5cacaec91501">bg_16M</a> (short r, short g, short b)</td></tr>
<tr class="memdesc:ace018922ae99f32b48bf5cacaec91501"><td class="mdescLeft">&#160;</td><td class="mdescRight">Numeric triplet constructor. <a href="structclutchlog_1_1fmt_1_1bg__16_m.html#ace018922ae99f32b48bf5cacaec91501">More...</a><br /></td></tr>
<tr class="separator:ace018922ae99f32b48bf5cacaec91501"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcd5bd1e69e76e3b36015cf687693c97"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1bg__16_m.html#adcd5bd1e69e76e3b36015cf687693c97">bg_16M</a> (const std::string &amp;srgb)</td></tr>
<tr class="memdesc:adcd5bd1e69e76e3b36015cf687693c97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hex triplet string constructor. <a href="structclutchlog_1_1fmt_1_1bg__16_m.html#adcd5bd1e69e76e3b36015cf687693c97">More...</a><br /></td></tr>
<tr class="separator:adcd5bd1e69e76e3b36015cf687693c97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68f8cb4ab78a1cfb3b7b8e1e95bee11d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1bg__16_m.html#a68f8cb4ab78a1cfb3b7b8e1e95bee11d">bg_16M</a> (const <a class="el" href="group__colors16.html#ga1cf3e27e4041250ffea0a6d58010da1e">bg</a> &amp;)</td></tr>
<tr class="memdesc:a68f8cb4ab78a1cfb3b7b8e1e95bee11d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Conversion constructor from 16-colors mode. <a href="structclutchlog_1_1fmt_1_1bg__16_m.html#a68f8cb4ab78a1cfb3b7b8e1e95bee11d">More...</a><br /></td></tr>
<tr class="separator:a68f8cb4ab78a1cfb3b7b8e1e95bee11d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structclutchlog_1_1fmt_1_1color__16_m')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="structclutchlog_1_1fmt_1_1color__16_m.html">clutchlog::fmt::color_16M</a></td></tr>
<tr class="memitem:aea10e881fb9b570267f5751fb67c4282 inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1color__16_m.html#aea10e881fb9b570267f5751fb67c4282">color_16M</a> (<a class="el" href="structclutchlog_1_1fmt_1_1color.html#ad4d10c015b3af3cc10d1cf40fe38e4f0">ground</a> t)</td></tr>
<tr class="memdesc:aea10e881fb9b570267f5751fb67c4282 inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="structclutchlog_1_1fmt_1_1color__16_m.html#aea10e881fb9b570267f5751fb67c4282">More...</a><br /></td></tr>
<tr class="separator:aea10e881fb9b570267f5751fb67c4282 inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36d9cf42044fec34b7858142d86137d3 inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1color__16_m.html#a36d9cf42044fec34b7858142d86137d3">color_16M</a> (<a class="el" href="structclutchlog_1_1fmt_1_1color.html#ad4d10c015b3af3cc10d1cf40fe38e4f0">ground</a> t, short r, short g, short b)</td></tr>
<tr class="memdesc:a36d9cf42044fec34b7858142d86137d3 inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="mdescLeft">&#160;</td><td class="mdescRight">Numeric triplet constructor. <a href="structclutchlog_1_1fmt_1_1color__16_m.html#a36d9cf42044fec34b7858142d86137d3">More...</a><br /></td></tr>
<tr class="separator:a36d9cf42044fec34b7858142d86137d3 inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55e39e7eb3ced3095c00914eff52470c inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1color__16_m.html#a55e39e7eb3ced3095c00914eff52470c">color_16M</a> (<a class="el" href="structclutchlog_1_1fmt_1_1color.html#ad4d10c015b3af3cc10d1cf40fe38e4f0">ground</a> t, const std::string &amp;srgb)</td></tr>
<tr class="memdesc:a55e39e7eb3ced3095c00914eff52470c inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hex triplet string constructor. <a href="structclutchlog_1_1fmt_1_1color__16_m.html#a55e39e7eb3ced3095c00914eff52470c">More...</a><br /></td></tr>
<tr class="separator:a55e39e7eb3ced3095c00914eff52470c inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a780c11e42bb140732ffd37cf4eef9e1d inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1color__16_m.html#a780c11e42bb140732ffd37cf4eef9e1d">is_set</a> () const</td></tr>
<tr class="memdesc:a780c11e42bb140732ffd37cf4eef9e1d inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the underying representation encodes an existing color. <a href="structclutchlog_1_1fmt_1_1color__16_m.html#a780c11e42bb140732ffd37cf4eef9e1d">More...</a><br /></td></tr>
<tr class="separator:a780c11e42bb140732ffd37cf4eef9e1d inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6a4b8650ea7e9171fc76d6226015005 inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1color__16_m.html#ac6a4b8650ea7e9171fc76d6226015005">print_on</a> (std::ostream &amp;os) const</td></tr>
<tr class="memdesc:ac6a4b8650ea7e9171fc76d6226015005 inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print the color RGB triplet on the given stream. <a href="structclutchlog_1_1fmt_1_1color__16_m.html#ac6a4b8650ea7e9171fc76d6226015005">More...</a><br /></td></tr>
<tr class="separator:ac6a4b8650ea7e9171fc76d6226015005 inherit pub_methods_structclutchlog_1_1fmt_1_1color__16_m"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structclutchlog_1_1fmt_1_1color"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structclutchlog_1_1fmt_1_1color')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="structclutchlog_1_1fmt_1_1color.html">clutchlog::fmt::color</a></td></tr>
<tr class="memitem:a741d0165287350d8fcacb1f472ce5dac inherit pub_methods_structclutchlog_1_1fmt_1_1color"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1color.html#a741d0165287350d8fcacb1f472ce5dac">color</a> (<a class="el" href="classclutchlog_1_1fmt.html#a4d0b3c87ba935addf3581b000c0d7502">ansi</a> a, <a class="el" href="structclutchlog_1_1fmt_1_1color.html#ad4d10c015b3af3cc10d1cf40fe38e4f0">ground</a> g)</td></tr>
<tr class="memdesc:a741d0165287350d8fcacb1f472ce5dac inherit pub_methods_structclutchlog_1_1fmt_1_1color"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="structclutchlog_1_1fmt_1_1color.html#a741d0165287350d8fcacb1f472ce5dac">More...</a><br /></td></tr>
<tr class="separator:a741d0165287350d8fcacb1f472ce5dac inherit pub_methods_structclutchlog_1_1fmt_1_1color"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96d7161ef1e7cc631ae670cd3f364603 inherit pub_methods_structclutchlog_1_1fmt_1_1color"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1color.html#a96d7161ef1e7cc631ae670cd3f364603">is_set</a> () const =0</td></tr>
<tr class="memdesc:a96d7161ef1e7cc631ae670cd3f364603 inherit pub_methods_structclutchlog_1_1fmt_1_1color"><td class="mdescLeft">&#160;</td><td class="mdescRight">Should return true if the underying representation encodes an existing color. <a href="structclutchlog_1_1fmt_1_1color.html#a96d7161ef1e7cc631ae670cd3f364603">More...</a><br /></td></tr>
<tr class="separator:a96d7161ef1e7cc631ae670cd3f364603 inherit pub_methods_structclutchlog_1_1fmt_1_1color"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a121619a01bf48e53b3478d23989c0c59 inherit pub_methods_structclutchlog_1_1fmt_1_1color"><td class="memItemLeft" align="right" valign="top">virtual std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1color.html#a121619a01bf48e53b3478d23989c0c59">print_on</a> (std::ostream &amp;os) const =0</td></tr>
<tr class="memdesc:a121619a01bf48e53b3478d23989c0c59 inherit pub_methods_structclutchlog_1_1fmt_1_1color"><td class="mdescLeft">&#160;</td><td class="mdescRight">Should print the underlying representation on the given stream. <a href="structclutchlog_1_1fmt_1_1color.html#a121619a01bf48e53b3478d23989c0c59">More...</a><br /></td></tr>
<tr class="separator:a121619a01bf48e53b3478d23989c0c59 inherit pub_methods_structclutchlog_1_1fmt_1_1color"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_structclutchlog_1_1fmt_1_1color__16_m"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_structclutchlog_1_1fmt_1_1color__16_m')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="structclutchlog_1_1fmt_1_1color__16_m.html">clutchlog::fmt::color_16M</a></td></tr>
<tr class="memitem:a19e1517a9afb75a4e6224f718ed11c61 inherit pub_attribs_structclutchlog_1_1fmt_1_1color__16_m"><td class="memItemLeft" align="right" valign="top">short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1color__16_m.html#a19e1517a9afb75a4e6224f718ed11c61">red</a></td></tr>
<tr class="memdesc:a19e1517a9afb75a4e6224f718ed11c61 inherit pub_attribs_structclutchlog_1_1fmt_1_1color__16_m"><td class="mdescLeft">&#160;</td><td class="mdescRight">The encoded RGB indices. <a href="structclutchlog_1_1fmt_1_1color__16_m.html#a19e1517a9afb75a4e6224f718ed11c61">More...</a><br /></td></tr>
<tr class="separator:a19e1517a9afb75a4e6224f718ed11c61 inherit pub_attribs_structclutchlog_1_1fmt_1_1color__16_m"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac94eaa04e4f5de4ca6cfe7105ec1c4d4 inherit pub_attribs_structclutchlog_1_1fmt_1_1color__16_m"><td class="memItemLeft" align="right" valign="top">short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1color__16_m.html#ac94eaa04e4f5de4ca6cfe7105ec1c4d4">green</a></td></tr>
<tr class="separator:ac94eaa04e4f5de4ca6cfe7105ec1c4d4 inherit pub_attribs_structclutchlog_1_1fmt_1_1color__16_m"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedcfa3e0597d9dd883b1783e931bb9af inherit pub_attribs_structclutchlog_1_1fmt_1_1color__16_m"><td class="memItemLeft" align="right" valign="top">short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1color__16_m.html#aedcfa3e0597d9dd883b1783e931bb9af">blue</a></td></tr>
<tr class="separator:aedcfa3e0597d9dd883b1783e931bb9af inherit pub_attribs_structclutchlog_1_1fmt_1_1color__16_m"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_structclutchlog_1_1fmt_1_1color"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_structclutchlog_1_1fmt_1_1color')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="structclutchlog_1_1fmt_1_1color.html">clutchlog::fmt::color</a></td></tr>
<tr class="memitem:aacbc3cd9447fdb7d51e02b29b5028a6b inherit pub_attribs_structclutchlog_1_1fmt_1_1color"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classclutchlog_1_1fmt.html#a4d0b3c87ba935addf3581b000c0d7502">ansi</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1color.html#aacbc3cd9447fdb7d51e02b29b5028a6b">mode</a></td></tr>
<tr class="separator:aacbc3cd9447fdb7d51e02b29b5028a6b inherit pub_attribs_structclutchlog_1_1fmt_1_1color"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fd18c290567bd5c4971663a1aed12ae inherit pub_attribs_structclutchlog_1_1fmt_1_1color"><td class="memItemLeft" align="right" valign="top"><a id="a3fd18c290567bd5c4971663a1aed12ae" name="a3fd18c290567bd5c4971663a1aed12ae"></a>
enum <a class="el" href="structclutchlog_1_1fmt_1_1color.html#ad4d10c015b3af3cc10d1cf40fe38e4f0">clutchlog::fmt::color::ground</a>&#160;</td><td class="memItemRight" valign="bottom"><b>type</b></td></tr>
<tr class="memdesc:a3fd18c290567bd5c4971663a1aed12ae inherit pub_attribs_structclutchlog_1_1fmt_1_1color"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of color (foreground or background). <br /></td></tr>
<tr class="separator:a3fd18c290567bd5c4971663a1aed12ae inherit pub_attribs_structclutchlog_1_1fmt_1_1color"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_structclutchlog_1_1fmt_1_1color"><td colspan="2" onclick="javascript:toggleInherit('pub_types_structclutchlog_1_1fmt_1_1color')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="structclutchlog_1_1fmt_1_1color.html">clutchlog::fmt::color</a></td></tr>
<tr class="memitem:ad4d10c015b3af3cc10d1cf40fe38e4f0 inherit pub_types_structclutchlog_1_1fmt_1_1color"><td class="memItemLeft" align="right" valign="top">enum class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structclutchlog_1_1fmt_1_1color.html#ad4d10c015b3af3cc10d1cf40fe38e4f0">ground</a> { <b>fore</b> = 38
, <b>back</b> = 48
}</td></tr>
<tr class="memdesc:ad4d10c015b3af3cc10d1cf40fe38e4f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Codes for representing foreground or background. <a href="structclutchlog_1_1fmt_1_1color.html#ad4d10c015b3af3cc10d1cf40fe38e4f0">More...</a><br /></td></tr>
<tr class="separator:ad4d10c015b3af3cc10d1cf40fe38e4f0 inherit pub_types_structclutchlog_1_1fmt_1_1color"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a363c314ab6a8aa22951b5500d7a78ad0" name="a363c314ab6a8aa22951b5500d7a78ad0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a363c314ab6a8aa22951b5500d7a78ad0">&#9670;&nbsp;</a></span>bg_16M() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">clutchlog::fmt::bg_16M::bg_16M </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Empty constructor: no color. </p>
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l00680">680</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
</div>
</div>
<a id="ace018922ae99f32b48bf5cacaec91501" name="ace018922ae99f32b48bf5cacaec91501"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace018922ae99f32b48bf5cacaec91501">&#9670;&nbsp;</a></span>bg_16M() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">clutchlog::fmt::bg_16M::bg_16M </td>
<td>(</td>
<td class="paramtype">short&#160;</td>
<td class="paramname"><em>r</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">short&#160;</td>
<td class="paramname"><em>g</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">short&#160;</td>
<td class="paramname"><em>b</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Numeric triplet constructor. </p>
<p >Parameters are expected to be in [0,255].</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">r</td><td>Red color component. </td></tr>
<tr><td class="paramname">g</td><td>Green color component. </td></tr>
<tr><td class="paramname">b</td><td>Blue color component. </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l00690">690</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
</div>
</div>
<a id="adcd5bd1e69e76e3b36015cf687693c97" name="adcd5bd1e69e76e3b36015cf687693c97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcd5bd1e69e76e3b36015cf687693c97">&#9670;&nbsp;</a></span>bg_16M() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">clutchlog::fmt::bg_16M::bg_16M </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>srgb</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Hex triplet string constructor. </p>
<dl class="section note"><dt>Note</dt><dd>If the given string is ill-formed, it will silently encode a "no color".</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">srgb</td><td>A "web color" hexadecimal triplet of two characters, starting with a leading number sign (e.g. "#0055ff"). </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l00698">698</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
</div>
</div>
<a id="a68f8cb4ab78a1cfb3b7b8e1e95bee11d" name="a68f8cb4ab78a1cfb3b7b8e1e95bee11d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68f8cb4ab78a1cfb3b7b8e1e95bee11d">&#9670;&nbsp;</a></span>bg_16M() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">clutchlog::fmt::bg_16M::bg_16M </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__colors16.html#ga1cf3e27e4041250ffea0a6d58010da1e">bg</a> &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Conversion constructor from 16-colors mode. </p>
<dl class="section warning"><dt>Warning</dt><dd>Only encodes "no color", whatever is passed. </dd></dl>
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l00703">703</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="clutchlog_8h_source.html">clutchlog.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="classclutchlog.html">clutchlog</a></li><li class="navelem"><a class="el" href="classclutchlog_1_1fmt.html">fmt</a></li><li class="navelem"><a class="el" href="structclutchlog_1_1fmt_1_1bg__16_m.html">bg_16M</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4 </li>
</ul>
</div>
</body>
</html>