Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 44bd5d625680eebe550891a3ff0d6d21 > files > 171

libSDLmm0.1-devel-0.1.8-12mdv2008.0.i586.rpm

<!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>sdlmm_videoinfo.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.8.1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>sdlmm_videoinfo.h</h1><a href="sdlmm__videoinfo_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font>
00002 <font class="comment"> * SDLmm - a C++ wrapper for SDL and related libraries</font>
00003 <font class="comment"> * Copyright © 2001 David Hedbor &lt;david@hedbor.org&gt;</font>
00004 <font class="comment"> * </font>
00005 <font class="comment"> * This program is free software; you can redistribute it and/or</font>
00006 <font class="comment"> * modify it under the terms of the GNU General Public License as</font>
00007 <font class="comment"> * published by the Free Software Foundation; either version 2 of the</font>
00008 <font class="comment"> * License, or (at your option) any later version.</font>
00009 <font class="comment"> * </font>
00010 <font class="comment"> * This program is distributed in the hope that it will be useful, but</font>
00011 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font>
00012 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</font>
00013 <font class="comment"> * General Public License for more details.</font>
00014 <font class="comment"> * </font>
00015 <font class="comment"> * You should have received a copy of the GNU General Public License</font>
00016 <font class="comment"> * along with this program; if not, write to the Free Software</font>
00017 <font class="comment"> * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</font>
00018 <font class="comment"> *</font>
00019 <font class="comment"> */</font>
00020 
00021 <font class="comment">// SDL Video Info class.</font>
00022 
00023 <font class="preprocessor">#ifndef SDLMM_VIDEOINFO_H</font>
00024 <font class="preprocessor"></font><font class="preprocessor">#define SDLMM_VIDEOINFO_H</font>
00025 <font class="preprocessor"></font>
00026 <font class="preprocessor">#include "<a class="code" href="sdlmm__pixelformat_8h.html">sdlmm_pixelformat.h</a>"</font>
00027 
00028 <font class="keyword">namespace </font>SDLmm {
00030 
<a name="l00043"></a><a class="code" href="classSDLmm_1_1VideoInfo.html">00043</a>   <font class="keyword">class </font>VideoInfo {
00044   <font class="keyword">public</font>:
00046 
<a name="l00052"></a><a class="code" href="classSDLmm_1_1VideoInfo.html#m0">00052</a>     <font class="keyword">const</font> SDL_VideoInfo *me;
00053 
00055 
00063     <font class="keywordtype">bool</font> <a class="code" href="classSDLmm_1_1VideoInfo.html#a0">GetVideoInfo</a>();
00064     
00066     <font class="keywordtype">bool</font> <a class="code" href="classSDLmm_1_1VideoInfo.html#a1">hw_available</a>();
00067 
00069     <font class="keywordtype">bool</font> <a class="code" href="classSDLmm_1_1VideoInfo.html#a2">wm_available</a>();
00070 
00072     <font class="keywordtype">bool</font> <a class="code" href="classSDLmm_1_1VideoInfo.html#a3">blit_hw</a>();
00073 
00075     <font class="keywordtype">bool</font> <a class="code" href="classSDLmm_1_1VideoInfo.html#a4">blit_hw_CC</a>();
00076 
00078     <font class="keywordtype">bool</font> <a class="code" href="classSDLmm_1_1VideoInfo.html#a5">blit_hw_A</a>();
00079 
00081     <font class="keywordtype">bool</font> <a class="code" href="classSDLmm_1_1VideoInfo.html#a6">blit_sw</a>();
00082 
00084     <font class="keywordtype">bool</font> <a class="code" href="classSDLmm_1_1VideoInfo.html#a7">blit_sw_CC</a>();
00085 
00087     <font class="keywordtype">bool</font> <a class="code" href="classSDLmm_1_1VideoInfo.html#a8">blit_sw_A</a>();
00088 
00090     <font class="keywordtype">bool</font> <a class="code" href="classSDLmm_1_1VideoInfo.html#a9">blit_fill</a>();
00091 
00093     Uint32 <a class="code" href="classSDLmm_1_1VideoInfo.html#a10">video_mem</a>();
00094 
<a name="l00096"></a><a class="code" href="classSDLmm_1_1VideoInfo.html#a11">00096</a>     <font class="keyword">const</font> PixelFormat <a class="code" href="classSDLmm_1_1VideoInfo.html#a11">GetPixelFormat</a>()<font class="keyword"> const </font>{ <font class="keywordflow">return</font> PixelFormat(me-&gt;vfmt); }
<a name="l00097"></a><a class="code" href="classSDLmm_1_1VideoInfo.html#a12">00097</a>     PixelFormat <a class="code" href="classSDLmm_1_1VideoInfo.html#a11">GetPixelFormat</a>()<font class="keyword"> </font>{ <font class="keywordflow">return</font> PixelFormat(me-&gt;vfmt); }
00098   };
00099 }
00100 <font class="preprocessor">#endif // SDLMM_VIDEOINFO_H</font>
00101 <font class="preprocessor"></font>
</pre></div><hr>
<table cellspacing=10 cellpadding=0 border=0 width=100%>
<tr valign=middle><td><font size=-1>Documentation automatically generated by <a
href="http://www.stack.nl/~dimitri/doxygen/"><img border=0 align=center src="doxygen.gif" alt="doxygen"></a> written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>.</font></td>
<td align=right><font size=-1>Project hosted at <br><a href="http://sourceforge.net"><img align=middle src="http://sourceforge.net/sflogo.php?group_id=25445&type=1" width="88" height="31" border="0"  alt="Hosted by SourceForge"></a></font></td></tr></table>