mirror of https://github.com/libAthena/athena.git
215 lines
12 KiB
HTML
215 lines
12 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.11"/>
|
|
<title>Athena IO Library: athena::Sakura::SpriteFrame Class 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>
|
|
<script type="text/javascript">
|
|
$(document).ready(initResizable);
|
|
$(window).load(resizeHeight);
|
|
</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>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</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">Athena IO Library
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</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">
|
|
$(document).ready(function(){initNavTree('classathena_1_1_sakura_1_1_sprite_frame.html','');});
|
|
</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> |
|
|
<a href="classathena_1_1_sakura_1_1_sprite_frame-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">athena::Sakura::SpriteFrame Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="dynheader">
|
|
Collaboration diagram for athena::Sakura::SpriteFrame:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classathena_1_1_sakura_1_1_sprite_frame__coll__graph.png" border="0" usemap="#athena_1_1_sakura_1_1_sprite_frame_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="athena_1_1_sakura_1_1_sprite_frame_coll__map" id="athena_1_1_sakura_1_1_sprite_frame_coll__map">
|
|
</map>
|
|
</div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a78fa688098ffd841a601c9ae7492128b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78fa688098ffd841a601c9ae7492128b"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_frame.html#a78fa688098ffd841a601c9ae7492128b">SpriteFrame</a> ()</td></tr>
|
|
<tr class="memdesc:a78fa688098ffd841a601c9ae7492128b"><td class="mdescLeft"> </td><td class="mdescRight">SSpriteFrame. <br /></td></tr>
|
|
<tr class="separator:a78fa688098ffd841a601c9ae7492128b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2fc7ca49ce96064dfa090b174004ea24"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2fc7ca49ce96064dfa090b174004ea24"></a>
|
|
 </td><td class="memItemRight" valign="bottom"><b>SpriteFrame</b> (<a class="el" href="classathena_1_1_sakura_1_1_sprite.html">Sprite</a> *root)</td></tr>
|
|
<tr class="separator:a2fc7ca49ce96064dfa090b174004ea24"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5809bd9a1cf714c1f6c8ae802b9dae20"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_frame.html#a5809bd9a1cf714c1f6c8ae802b9dae20">setFrameTime</a> (float <a class="el" href="classathena_1_1_sakura_1_1_sprite_frame.html#a749114f1c1c64927bf790a98ab4e4492">frameTime</a>)</td></tr>
|
|
<tr class="memdesc:a5809bd9a1cf714c1f6c8ae802b9dae20"><td class="mdescLeft"> </td><td class="mdescRight">setFrameTime <a href="#a5809bd9a1cf714c1f6c8ae802b9dae20">More...</a><br /></td></tr>
|
|
<tr class="separator:a5809bd9a1cf714c1f6c8ae802b9dae20"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a749114f1c1c64927bf790a98ab4e4492"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_sakura_1_1_sprite_frame.html#a749114f1c1c64927bf790a98ab4e4492">frameTime</a> () const </td></tr>
|
|
<tr class="memdesc:a749114f1c1c64927bf790a98ab4e4492"><td class="mdescLeft"> </td><td class="mdescRight">frameTime <a href="#a749114f1c1c64927bf790a98ab4e4492">More...</a><br /></td></tr>
|
|
<tr class="separator:a749114f1c1c64927bf790a98ab4e4492"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a952bfd430f0fa3561622683b4aa8dedd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a952bfd430f0fa3561622683b4aa8dedd"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>setParts</b> (std::vector< <a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html">SpritePart</a> * > parts)</td></tr>
|
|
<tr class="separator:a952bfd430f0fa3561622683b4aa8dedd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a29a90bb90046842b83c753566bb1d147"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a29a90bb90046842b83c753566bb1d147"></a>
|
|
std::vector< <a class="el" href="classathena_1_1_sakura_1_1_sprite_part.html">SpritePart</a> * > </td><td class="memItemRight" valign="bottom"><b>parts</b> () const </td></tr>
|
|
<tr class="separator:a29a90bb90046842b83c753566bb1d147"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9307e9b4198b63f15ca2013f0aeb6367"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9307e9b4198b63f15ca2013f0aeb6367"></a>
|
|
atUint32 </td><td class="memItemRight" valign="bottom"><b>partCount</b> () const </td></tr>
|
|
<tr class="separator:a9307e9b4198b63f15ca2013f0aeb6367"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a91d95b8a772c00738b8307f3c584b830"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91d95b8a772c00738b8307f3c584b830"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>setRoot</b> (<a class="el" href="classathena_1_1_sakura_1_1_sprite.html">Sprite</a> *root)</td></tr>
|
|
<tr class="separator:a91d95b8a772c00738b8307f3c584b830"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acef710874c14732e5600cbcc0096c699"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acef710874c14732e5600cbcc0096c699"></a>
|
|
<a class="el" href="classathena_1_1_sakura_1_1_sprite.html">Sprite</a> * </td><td class="memItemRight" valign="bottom"><b>root</b> () const </td></tr>
|
|
<tr class="separator:acef710874c14732e5600cbcc0096c699"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock">
|
|
<p>Definition at line <a class="el" href="_sprite_frame_8hpp_source.html#l00023">23</a> of file <a class="el" href="_sprite_frame_8hpp_source.html">SpriteFrame.hpp</a>.</p>
|
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
|
<a class="anchor" id="a749114f1c1c64927bf790a98ab4e4492"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float athena::Sakura::SpriteFrame::frameTime </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>frameTime </p>
|
|
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5809bd9a1cf714c1f6c8ae802b9dae20"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void athena::Sakura::SpriteFrame::setFrameTime </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>frameTime</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>setFrameTime </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">frameTime</td><td></td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>include/athena/<a class="el" href="_sprite_frame_8hpp_source.html">SpriteFrame.hpp</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"><b>athena</b></li><li class="navelem"><b>Sakura</b></li><li class="navelem"><a class="el" href="classathena_1_1_sakura_1_1_sprite_frame.html">SpriteFrame</a></li>
|
|
<li class="footer">Generated on Sat Sep 17 2016 13:10:09 for Athena IO Library by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|