2002-11-21 05:40:49 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< html > < head > < meta http-equiv = "Content-Type" content = "text/html;charset=iso-8859-1" >
2002-12-01 07:56:17 +00:00
< title > /include/ZE_ZImage.h Source File< / title >
2002-11-21 05:40:49 +00:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" >
< / head > < body >
2002-12-01 07:56:17 +00:00
<!-- Generated by Doxygen 1.2.18 -->
2002-11-21 05:40:49 +00:00
< center >
< a class = "qindex" href = "index.html" > Main Page< / a > < a class = "qindex" href = "namespaces.html" > Namespace List< / a > < a class = "qindex" href = "hierarchy.html" > Class Hierarchy< / a > < a class = "qindex" href = "annotated.html" > Compound List< / a > < a class = "qindex" href = "files.html" > File List< / a > < a class = "qindex" href = "namespacemembers.html" > Namespace Members< / a > < a class = "qindex" href = "functions.html" > Compound Members< / a > < a class = "qindex" href = "globals.html" > File Members< / a > < / center >
2002-12-01 07:56:17 +00:00
< hr > < h1 > /include/ZE_ZImage.h< / h1 > < a href = "ZE__ZImage_8h.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < pre > 00001 < span class = "comment" > /*******************************************************************************< / span >
2002-11-21 05:40:49 +00:00
00002 < span class = "comment" > This file is Part of the ZEngine Library for SDL Game Development.< / span >
00003 < span class = "comment" > Copyright (C) 2002 ConceptOfZero.net< / span >
00004 < span class = "comment" > < / span >
00005 < span class = "comment" > Licensed under the BSD License, see licensing.txt.< / span >
00006 < span class = "comment" > < / span >
00007 < span class = "comment" > The maintainer of this library is James Turk (jturk@conceptofzero.net) < / span >
00008 < span class = "comment" > and the home of this Library is http://www.conceptofzero.net/< / span >
00009 < span class = "comment" > *******************************************************************************/< / span >
00010
00024 < span class = "preprocessor" > #ifndef __ze_zimage_h__< / span >
00025 < span class = "preprocessor" > < / span > < span class = "preprocessor" > #define __ze_zimage_h__< / span >
00026 < span class = "preprocessor" > < / span >
00027 < span class = "preprocessor" > #include "< a class = "code" href = "ZE__ZObject_8h.html" > ZE_ZObject.h< / a > "< / span >
00028
00029 < span class = "keyword" > namespace < / span > ZE
00030 {
00031
2002-12-01 07:56:17 +00:00
< a name = "l00037" > < / a > < a class = "code" href = "classZE_1_1ZImage.html" > 00037< / a > < span class = "keyword" > class < / span > < a class = "code" href = "classZE_1_1ZImage.html" > ZImage< / a > : < span class = "keyword" > public< / span > < a class = "code" href = "classZE_1_1ZObject.html" > ZObject< / a >
2002-11-21 05:40:49 +00:00
00038 {
2002-12-01 07:56:17 +00:00
00039 < span class = "keyword" > protected< / span > :
< a name = "l00041" > < / a > < a class = "code" href = "classZE_1_1ZImage.html#n0" > 00041< / a > GLfloat < a class = "code" href = "classZE_1_1ZImage.html#n0" > rTexMaxX< / a > ;
< a name = "l00043" > < / a > < a class = "code" href = "classZE_1_1ZImage.html#n1" > 00043< / a > GLfloat < a class = "code" href = "classZE_1_1ZImage.html#n1" > rTexMaxY< / a > ;
< a name = "l00045" > < / a > < a class = "code" href = "classZE_1_1ZImage.html#n2" > 00045< / a > SDL_Surface *< a class = "code" href = "classZE_1_1ZImage.html#n2" > rImage< / a > ;
< a name = "l00047" > < / a > < a class = "code" href = "classZE_1_1ZImage.html#n3" > 00047< / a > < span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZImage.html#n3" > rTexID< / a > ;
< a name = "l00049" > < / a > < a class = "code" href = "classZE_1_1ZImage.html#n4" > 00049< / a > < span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZImage.html#n4" > rWidth< / a > ;
< a name = "l00051" > < / a > < a class = "code" href = "classZE_1_1ZImage.html#n5" > 00051< / a > < span class = "keywordtype" > unsigned< / span > < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZImage.html#n5" > rHeight< / a > ;
00052
00053 < span class = "keyword" > public< / span > :
00054
00060 < a class = "code" href = "classZE_1_1ZImage.html#a0" > ZImage< / a > ();
00061
00068 < a class = "code" href = "classZE_1_1ZImage.html#a0" > ZImage< / a > (string filename);
00069
00076 < a class = "code" href = "classZE_1_1ZImage.html#a0" > ZImage< / a > (SDL_Surface *surface);
00077
00089 < a class = "code" href = "classZE_1_1ZImage.html#a0" > ZImage< / a > (SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
00090
00096 < a class = "code" href = "classZE_1_1ZImage.html#a4" > ~ZImage< / a > ();
00097
00099 < span class = "comment" > //Opening and Closing//< / span >
00101 < span class = "comment" > < / span >
00108 < span class = "comment" > < / span > < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZImage.html#a5" > Open< / a > (string filename);
00109
00121 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZImage.html#a6" > OpenFromImage< / a > (SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h);
00122
00129 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZImage.html#a7" > Attach< / a > (SDL_Surface *surface);
00130
00136 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZImage.html#a8" > Release< / a > ();
00137
00139 < span class = "comment" > //Graphics//< / span >
00141 < span class = "comment" > < / span >
00150 < span class = "comment" > < / span > < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZImage.html#a9" > SetColorKey< / a > (Uint8 red, Uint8 green, Uint8 blue);
00151
00158 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZImage.html#a10" > Bind< / a > ();
00159
00167 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZImage.html#a11" > Draw< / a > (< span class = "keywordtype" > int< / span > x, < span class = "keywordtype" > int< / span > y);
00168
00170 < span class = "comment" > //Accessors//< / span >
00172 < span class = "comment" > < / span >
00179 < span class = "comment" > < / span > < span class = "keywordtype" > bool< / span > < a class = "code" href = "classZE_1_1ZImage.html#a12" > IsLoaded< / a > ();
00180
00186 SDL_Surface *< a class = "code" href = "classZE_1_1ZImage.html#a13" > Surface< / a > ();
00187
00194 < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZImage.html#a14" > Width< / a > ();
00195
00202 < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZImage.html#a15" > Height< / a > ();
00203 };
00204
00205 }
00206
00207 < span class = "preprocessor" > #endif< / span >
< / pre > < / div > < hr > < address style = "align: right;" > < small > Generated on Sun Dec 1 02:44:14 2002 for ZEngine by
2002-11-21 05:40:49 +00:00
< a href = "http://www.doxygen.org/index.html" >
< img src = "doxygen.png" alt = "doxygen" align = "middle" border = 0
2002-12-01 07:56:17 +00:00
width=110 height=53>< / a > 1.2.18 < / small > < / address >
2002-11-21 05:40:49 +00:00
< / body >
< / html >