📄 classwgui_1_1cbitmapresourcehandle.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>wGui::CBitmapResourceHandle class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> </center><hr><h1>wGui::CBitmapResourceHandle Class Reference</h1><code>#include <<a class="el" href="wg__resource__handle_8h-source.html">wg_resource_handle.h</a>></code><p><p>Inheritance diagram for wGui::CBitmapResourceHandle:<p><center><img src="classwGui_1_1CBitmapResourceHandle.png" usemap="#wGui::CBitmapResourceHandle_map" border="0" alt=""></center><map name="wGui::CBitmapResourceHandle_map"><area href="classwGui_1_1CResourceHandle.html" alt="wGui::CResourceHandle" shape="rect" coords="108,0,315,24"><area href="classwGui_1_1CBitmapFileResourceHandle.html" alt="wGui::CBitmapFileResourceHandle" shape="rect" coords="0,112,207,136"><area href="classwGui_1_1CwgBitmapResourceHandle.html" alt="wGui::CwgBitmapResourceHandle" shape="rect" coords="217,112,424,136"></map><h2>Public Methods</h2><ul><li><a class="el" href="classwGui_1_1CBitmapResourceHandle.html#a0">CBitmapResourceHandle</a> (TResourceId resId)<li><a name="a1" doxytag="wGui::CBitmapResourceHandle::CBitmapResourceHandle"></a><a class="el" href="classwGui_1_1CBitmapResourceHandle.html#a1">CBitmapResourceHandle</a> (const CBitmapResourceHandle &resHandle)<dl class="el"><dd><font size=-1><em><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>resHandle</em> </td><td>An existing resource handle that will be cloned</td></tr></table></dl><br><br></em></font></dl><li><a name="a2" doxytag="wGui::CBitmapResourceHandle::~CBitmapResourceHandle"></a>virtual <a class="el" href="classwGui_1_1CBitmapResourceHandle.html#a2">~CBitmapResourceHandle</a> (void)<dl class="el"><dd><font size=-1><em>Standard destructor, which frees the bitmap if the refcount is zero.<br><br></em></font></dl><li><a name="a3" doxytag="wGui::CBitmapResourceHandle::Bitmap"></a>SDL_Surface * <a class="el" href="classwGui_1_1CBitmapResourceHandle.html#a3">Bitmap</a> (void) const<dl class="el"><dd><font size=-1><em><dl compact><dt><b>Returns: </b></dt><dd>An SDL_Surface pointer (the bitmap)</dl><br><br></em></font></dl></ul><h2>Static Protected Attributes</h2><ul><li><a name="q0" doxytag="wGui::CBitmapResourceHandle::m_BitmapMap"></a>std::map< TResourceId, SDL_Surface * > <a class="el" href="classwGui_1_1CBitmapResourceHandle.html#q0">m_BitmapMap</a><dl class="el"><dd><font size=-1><em>The map of bitmaps held by the handles.<br><br></em></font></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2><a class="el" href="classwGui_1_1CBitmapResourceHandle.html">CBitmapResourceHandle</a> is a resource handle for bitmaps It will allocate the bitmaps as needed and can be cast as a bitmap <p><p>Definition at line <a class="el" href="wg__resource__handle_8h-source.html#l00082">82</a> of file <a class="el" href="wg__resource__handle_8h-source.html">wg_resource_handle.h</a>.<hr><h2>Constructor & Destructor Documentation</h2><a name="a0" doxytag="wGui::CBitmapResourceHandle::CBitmapResourceHandle"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> wGui::CBitmapResourceHandle::CBitmapResourceHandle </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">TResourceId </td> <td class="mdname1" valign="top" nowrap> <em>resId</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>CBitmapResourceHandles must be instantiated with a valid resource ID <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>resId</em> </td><td>The ID of the resource which the handle will represent </td></tr></table></dl><p>Definition at line <a class="el" href="wg__resource__handle_8h-source.html#l00087">87</a> of file <a class="el" href="wg__resource__handle_8h-source.html">wg_resource_handle.h</a>. </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="wg__resource__handle_8h-source.html">wg_resource_handle.h</a><li><a class="el" href="wg__resource__handle_8cpp-source.html">wg_resource_handle.cpp</a></ul><hr><address style="align: right;"><small>Generated on Sat Oct 25 12:43:27 2003 for wGui by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -