<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>SFML - Simple and Fast Multimedia Library</title> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="tabs.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="logo"> <img src="./logo.jpg" width="770" height="200" title="SFML home" alt="SFML logo" /> </div> <!-- Generated by Doxygen 1.5.8 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.htm"><span>Main Page</span></a></li> <li><a href="namespaces.htm"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.htm"><span>Classes</span></a></li> <li><a href="files.htm"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.htm"><span>Class List</span></a></li> <li><a href="classes.htm"><span>Class Index</span></a></li> <li><a href="hierarchy.htm"><span>Class Hierarchy</span></a></li> <li><a href="functions.htm"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>WindowController Class Reference</h1><!-- doxytag: class="WindowController" --><a class="el" href="interfaceWindowController.htm" title="WindowController is a Cocoa notification receiver.">WindowController</a> is a Cocoa notification receiver. <a href="#_details">More...</a> <p> <code>#import <<a class="el" href="WindowController_8h-source.htm">WindowController.h</a>></code> <p> <p> <a href="classWindowController-members.htm">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">(<a class="el" href="interfaceWindowController.htm">WindowController</a> *) </td><td class="memItemRight" valign="bottom">- <a class="el" href="interfaceWindowController.htm#98ad1e38fe4de9572470fe2d5cb92d6d">initWithWindow:</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize a new <a class="el" href="interfaceWindowController.htm" title="WindowController is a Cocoa notification receiver.">WindowController</a> object and link it to the 'window' object. <a href="#98ad1e38fe4de9572470fe2d5cb92d6d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">(void) </td><td class="memItemRight" valign="bottom">- <a class="el" href="interfaceWindowController.htm#400fba3ac695c72dfbc7a11d7dac601d">viewFrameDidChange:</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Notification method receiver when OpenGL view size changes. <a href="#400fba3ac695c72dfbc7a11d7dac601d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">(void) </td><td class="memItemRight" valign="bottom">- <a class="el" href="interfaceWindowController.htm#6ce6c07813059e414b4498b66c628a4d">windowDidBecomeMain:</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Notification method receiver when the window gains focus. <a href="#6ce6c07813059e414b4498b66c628a4d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">(void) </td><td class="memItemRight" valign="bottom">- <a class="el" href="interfaceWindowController.htm#4e6f6e31f3192512f08e0756ea99fea6">windowDidResignMain:</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Notification method receiver when the window loses focus. <a href="#4e6f6e31f3192512f08e0756ea99fea6"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">(void) </td><td class="memItemRight" valign="bottom">- <a class="el" href="interfaceWindowController.htm#01d1957f341704d1c00cdbe8fc96029d">windowWillClose:</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Notification method receiver when the window closes. <a href="#01d1957f341704d1c00cdbe8fc96029d"></a><br></td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">(<a class="el" href="interfaceWindowController.htm">WindowController</a> *) </td><td class="memItemRight" valign="bottom">+ <a class="el" href="interfaceWindowController.htm#1b4f0eb89b8ea32da4561549e1739333">controllerWithWindow:</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return a new autoreleased <a class="el" href="interfaceWindowController.htm" title="WindowController is a Cocoa notification receiver.">WindowController</a> object linked to the 'window' WindowImplCocoa object. <a href="#1b4f0eb89b8ea32da4561549e1739333"></a><br></td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="71978b19cf3c2fae883749316752980e"></a><!-- doxytag: member="WindowController::parentWindow" ref="71978b19cf3c2fae883749316752980e" args="" --> sf::priv::WindowImplCocoa * </td><td class="memItemRight" valign="bottom"><b>parentWindow</b></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <a class="el" href="interfaceWindowController.htm" title="WindowController is a Cocoa notification receiver.">WindowController</a> is a Cocoa notification receiver. <p>Definition at line <a class="el" href="WindowController_8h-source.htm#l00037">37</a> of file <a class="el" href="WindowController_8h-source.htm">WindowController.h</a>.</p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="1b4f0eb89b8ea32da4561549e1739333"></a><!-- doxytag: member="WindowController::controllerWithWindow:" ref="1b4f0eb89b8ea32da4561549e1739333" args="(sf::priv::WindowImplCocoa *window)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">+ (<a class="el" href="interfaceWindowController.htm">WindowController</a> *) controllerWithWindow: </td> <td></td> <td class="paramtype">(sf::priv::WindowImplCocoa *) </td> <td class="paramname"> <em>window</em> </td> <td> </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Return a new autoreleased <a class="el" href="interfaceWindowController.htm" title="WindowController is a Cocoa notification receiver.">WindowController</a> object linked to the 'window' WindowImplCocoa object. <p> <p>Definition at line <a class="el" href="WindowController_8mm-source.htm#l00070">70</a> of file <a class="el" href="WindowController_8mm-source.htm">WindowController.mm</a>.</p> </div> </div><p> <a class="anchor" name="98ad1e38fe4de9572470fe2d5cb92d6d"></a><!-- doxytag: member="WindowController::initWithWindow:" ref="98ad1e38fe4de9572470fe2d5cb92d6d" args="(sf::priv::WindowImplCocoa *window)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (<a class="el" href="interfaceWindowController.htm">WindowController</a> *) initWithWindow: </td> <td></td> <td class="paramtype">(sf::priv::WindowImplCocoa *) </td> <td class="paramname"> <em>window</em> </td> <td> </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Initialize a new <a class="el" href="interfaceWindowController.htm" title="WindowController is a Cocoa notification receiver.">WindowController</a> object and link it to the 'window' object. <p> <p>Definition at line <a class="el" href="WindowController_8mm-source.htm#l00049">49</a> of file <a class="el" href="WindowController_8mm-source.htm">WindowController.mm</a>.</p> </div> </div><p> <a class="anchor" name="400fba3ac695c72dfbc7a11d7dac601d"></a><!-- doxytag: member="WindowController::viewFrameDidChange:" ref="400fba3ac695c72dfbc7a11d7dac601d" args="(NSNotification *notification)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) viewFrameDidChange: </td> <td></td> <td class="paramtype">(NSNotification *) </td> <td class="paramname"> <em>notification</em> </td> <td> </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Notification method receiver when OpenGL view size changes. <p> <p>Definition at line <a class="el" href="WindowController_8mm-source.htm#l00090">90</a> of file <a class="el" href="WindowController_8mm-source.htm">WindowController.mm</a>.</p> </div> </div><p> <a class="anchor" name="6ce6c07813059e414b4498b66c628a4d"></a><!-- doxytag: member="WindowController::windowDidBecomeMain:" ref="6ce6c07813059e414b4498b66c628a4d" args="(NSNotification *notification)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) windowDidBecomeMain: </td> <td></td> <td class="paramtype">(NSNotification *) </td> <td class="paramname"> <em>notification</em> </td> <td> </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Notification method receiver when the window gains focus. <p> <p>Definition at line <a class="el" href="WindowController_8mm-source.htm#l00106">106</a> of file <a class="el" href="WindowController_8mm-source.htm">WindowController.mm</a>.</p> </div> </div><p> <a class="anchor" name="4e6f6e31f3192512f08e0756ea99fea6"></a><!-- doxytag: member="WindowController::windowDidResignMain:" ref="4e6f6e31f3192512f08e0756ea99fea6" args="(NSNotification *notification)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) windowDidResignMain: </td> <td></td> <td class="paramtype">(NSNotification *) </td> <td class="paramname"> <em>notification</em> </td> <td> </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Notification method receiver when the window loses focus. <p> <p>Definition at line <a class="el" href="WindowController_8mm-source.htm#l00117">117</a> of file <a class="el" href="WindowController_8mm-source.htm">WindowController.mm</a>.</p> </div> </div><p> <a class="anchor" name="01d1957f341704d1c00cdbe8fc96029d"></a><!-- doxytag: member="WindowController::windowWillClose:" ref="01d1957f341704d1c00cdbe8fc96029d" args="(NSNotification *notification)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">- (void) windowWillClose: </td> <td></td> <td class="paramtype">(NSNotification *) </td> <td class="paramname"> <em>notification</em> </td> <td> </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Notification method receiver when the window closes. <p> <p>Definition at line <a class="el" href="WindowController_8mm-source.htm#l00128">128</a> of file <a class="el" href="WindowController_8mm-source.htm">WindowController.mm</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="WindowController_8h-source.htm">WindowController.h</a><li><a class="el" href="WindowController_8mm-source.htm">WindowController.mm</a></ul> </div> <p id="footer"> :: Copyright © 2007-2008 Laurent Gomila, all rights reserved :: Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen 1.5.2</a> :: </p> </body> </html>