[692] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <title>Ogre::GLXUtils class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
| 4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
| 5 | </head> |
---|
| 6 | |
---|
| 7 | <body> |
---|
| 8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
| 9 | <div class="qindex"><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="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class 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">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
| 10 | <h1>Ogre::GLXUtils Class Reference</h1><code>#include <<a class="el" href="OgreGLXUtils_8h-source.html">OgreGLXUtils.h</a>></code> |
---|
| 11 | <p> |
---|
| 12 | <a href="classOgre_1_1GLXUtils-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
| 13 | <tr><td></td></tr> |
---|
| 14 | <tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> |
---|
| 15 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLXUtils.html#Ogre_1_1GLXUtilse0">LoadIcon</a> (Display *mDisplay, Window rootWindow, const std::string &name, Pixmap *pix, Pixmap *mask)</td></tr> |
---|
| 16 | |
---|
| 17 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads an icon from an <a class="el" href="namespaceOgre.html">Ogre</a> resource into the X Server. <a href="#Ogre_1_1GLXUtilse0"></a><br><br></td></tr> |
---|
| 18 | <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLXUtils.html#Ogre_1_1GLXUtilse1">findBestVisual</a> (Display *dpy, int scrnum, int multisample=-1)</td></tr> |
---|
| 19 | |
---|
| 20 | <tr><td class="memItemLeft" nowrap align=right valign=top>GLXFBConfig </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1GLXUtils.html#Ogre_1_1GLXUtilse2">findBestMatch</a> (Display *dpy, int scrnum, const int *attribs, const int *ideal)</td></tr> |
---|
| 21 | |
---|
| 22 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Find best FBConfig given a list required and a list of desired properties. <a href="#Ogre_1_1GLXUtilse2"></a><br><br></td></tr> |
---|
| 23 | </table> |
---|
| 24 | <hr><h2>Member Function Documentation</h2> |
---|
| 25 | <a class="anchor" name="Ogre_1_1GLXUtilse2" doxytag="Ogre::GLXUtils::findBestMatch" ></a><p> |
---|
| 26 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 27 | <tr> |
---|
| 28 | <td class="mdRow"> |
---|
| 29 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 30 | <tr> |
---|
| 31 | <td class="md" nowrap valign="top"> GLXFBConfig Ogre::GLXUtils::findBestMatch </td> |
---|
| 32 | <td class="md" valign="top">( </td> |
---|
| 33 | <td class="md" nowrap valign="top">Display * </td> |
---|
| 34 | <td class="mdname" nowrap> <em>dpy</em>, </td> |
---|
| 35 | </tr> |
---|
| 36 | <tr> |
---|
| 37 | <td class="md" nowrap align="right"></td> |
---|
| 38 | <td></td> |
---|
| 39 | <td class="md" nowrap>int </td> |
---|
| 40 | <td class="mdname" nowrap> <em>scrnum</em>, </td> |
---|
| 41 | </tr> |
---|
| 42 | <tr> |
---|
| 43 | <td class="md" nowrap align="right"></td> |
---|
| 44 | <td></td> |
---|
| 45 | <td class="md" nowrap>const int * </td> |
---|
| 46 | <td class="mdname" nowrap> <em>attribs</em>, </td> |
---|
| 47 | </tr> |
---|
| 48 | <tr> |
---|
| 49 | <td class="md" nowrap align="right"></td> |
---|
| 50 | <td></td> |
---|
| 51 | <td class="md" nowrap>const int * </td> |
---|
| 52 | <td class="mdname" nowrap> <em>ideal</em></td> |
---|
| 53 | </tr> |
---|
| 54 | <tr> |
---|
| 55 | <td></td> |
---|
| 56 | <td class="md">) </td> |
---|
| 57 | <td class="md" colspan="2"><code> [static]</code></td> |
---|
| 58 | </tr> |
---|
| 59 | |
---|
| 60 | </table> |
---|
| 61 | </td> |
---|
| 62 | </tr> |
---|
| 63 | </table> |
---|
| 64 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 65 | <tr> |
---|
| 66 | <td> |
---|
| 67 | |
---|
| 68 | </td> |
---|
| 69 | <td> |
---|
| 70 | |
---|
| 71 | <p> |
---|
| 72 | Find best FBConfig given a list required and a list of desired properties. |
---|
| 73 | <p> |
---|
| 74 | </td> |
---|
| 75 | </tr> |
---|
| 76 | </table> |
---|
| 77 | <a class="anchor" name="Ogre_1_1GLXUtilse1" doxytag="Ogre::GLXUtils::findBestVisual" ></a><p> |
---|
| 78 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 79 | <tr> |
---|
| 80 | <td class="mdRow"> |
---|
| 81 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 82 | <tr> |
---|
| 83 | <td class="md" nowrap valign="top"> int Ogre::GLXUtils::findBestVisual </td> |
---|
| 84 | <td class="md" valign="top">( </td> |
---|
| 85 | <td class="md" nowrap valign="top">Display * </td> |
---|
| 86 | <td class="mdname" nowrap> <em>dpy</em>, </td> |
---|
| 87 | </tr> |
---|
| 88 | <tr> |
---|
| 89 | <td class="md" nowrap align="right"></td> |
---|
| 90 | <td></td> |
---|
| 91 | <td class="md" nowrap>int </td> |
---|
| 92 | <td class="mdname" nowrap> <em>scrnum</em>, </td> |
---|
| 93 | </tr> |
---|
| 94 | <tr> |
---|
| 95 | <td class="md" nowrap align="right"></td> |
---|
| 96 | <td></td> |
---|
| 97 | <td class="md" nowrap>int </td> |
---|
| 98 | <td class="mdname" nowrap> <em>multisample</em> = -1</td> |
---|
| 99 | </tr> |
---|
| 100 | <tr> |
---|
| 101 | <td></td> |
---|
| 102 | <td class="md">) </td> |
---|
| 103 | <td class="md" colspan="2"><code> [static]</code></td> |
---|
| 104 | </tr> |
---|
| 105 | |
---|
| 106 | </table> |
---|
| 107 | </td> |
---|
| 108 | </tr> |
---|
| 109 | </table> |
---|
| 110 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 111 | <tr> |
---|
| 112 | <td> |
---|
| 113 | |
---|
| 114 | </td> |
---|
| 115 | <td> |
---|
| 116 | |
---|
| 117 | <p> |
---|
| 118 | </td> |
---|
| 119 | </tr> |
---|
| 120 | </table> |
---|
| 121 | <a class="anchor" name="Ogre_1_1GLXUtilse0" doxytag="Ogre::GLXUtils::LoadIcon" ></a><p> |
---|
| 122 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 123 | <tr> |
---|
| 124 | <td class="mdRow"> |
---|
| 125 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 126 | <tr> |
---|
| 127 | <td class="md" nowrap valign="top"> bool Ogre::GLXUtils::LoadIcon </td> |
---|
| 128 | <td class="md" valign="top">( </td> |
---|
| 129 | <td class="md" nowrap valign="top">Display * </td> |
---|
| 130 | <td class="mdname" nowrap> <em>mDisplay</em>, </td> |
---|
| 131 | </tr> |
---|
| 132 | <tr> |
---|
| 133 | <td class="md" nowrap align="right"></td> |
---|
| 134 | <td></td> |
---|
| 135 | <td class="md" nowrap>Window </td> |
---|
| 136 | <td class="mdname" nowrap> <em>rootWindow</em>, </td> |
---|
| 137 | </tr> |
---|
| 138 | <tr> |
---|
| 139 | <td class="md" nowrap align="right"></td> |
---|
| 140 | <td></td> |
---|
| 141 | <td class="md" nowrap>const std::string & </td> |
---|
| 142 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
| 143 | </tr> |
---|
| 144 | <tr> |
---|
| 145 | <td class="md" nowrap align="right"></td> |
---|
| 146 | <td></td> |
---|
| 147 | <td class="md" nowrap>Pixmap * </td> |
---|
| 148 | <td class="mdname" nowrap> <em>pix</em>, </td> |
---|
| 149 | </tr> |
---|
| 150 | <tr> |
---|
| 151 | <td class="md" nowrap align="right"></td> |
---|
| 152 | <td></td> |
---|
| 153 | <td class="md" nowrap>Pixmap * </td> |
---|
| 154 | <td class="mdname" nowrap> <em>mask</em></td> |
---|
| 155 | </tr> |
---|
| 156 | <tr> |
---|
| 157 | <td></td> |
---|
| 158 | <td class="md">) </td> |
---|
| 159 | <td class="md" colspan="2"><code> [static]</code></td> |
---|
| 160 | </tr> |
---|
| 161 | |
---|
| 162 | </table> |
---|
| 163 | </td> |
---|
| 164 | </tr> |
---|
| 165 | </table> |
---|
| 166 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 167 | <tr> |
---|
| 168 | <td> |
---|
| 169 | |
---|
| 170 | </td> |
---|
| 171 | <td> |
---|
| 172 | |
---|
| 173 | <p> |
---|
| 174 | Loads an icon from an <a class="el" href="namespaceOgre.html">Ogre</a> resource into the X Server. |
---|
| 175 | <p> |
---|
| 176 | This currently only works for 24 and 32 bit displays. The image must be findable by the <a class="el" href="namespaceOgre.html">Ogre</a> resource system, and of format PF_A8R8G8B8.<p> |
---|
| 177 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
| 178 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
| 179 | <tr><td valign=top><em>mDisplay,rootWindow</em> </td><td>X resources to use </td></tr> |
---|
| 180 | <tr><td valign=top><em>name</em> </td><td>Name of image to load </td></tr> |
---|
| 181 | <tr><td valign=top><em>pix</em> </td><td>Receiver for the output pixmap </td></tr> |
---|
| 182 | <tr><td valign=top><em>mask</em> </td><td>Receiver for the output mask (alpha bitmap) </td></tr> |
---|
| 183 | </table> |
---|
| 184 | </dl> |
---|
| 185 | <dl compact><dt><b>Returns:</b></dt><dd>true on success </dd></dl> |
---|
| 186 | </td> |
---|
| 187 | </tr> |
---|
| 188 | </table> |
---|
| 189 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
| 190 | <li><a class="el" href="OgreGLXUtils_8h-source.html">OgreGLXUtils.h</a></ul> |
---|
| 191 | <hr> |
---|
| 192 | <p> |
---|
| 193 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
| 194 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
| 195 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
| 196 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
| 197 | <Work rdf:about=""> |
---|
| 198 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
| 199 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
| 200 | </Work> |
---|
| 201 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
| 202 | |
---|
| 203 | Last modified Sun Mar 12 14:51:35 2006 |
---|
| 204 | </p> |
---|
| 205 | </body> |
---|
| 206 | </html> |
---|