summaryrefslogtreecommitdiff
path: root/doc/html/interfaceWindowController.htm
blob: 97896d362e1aead64cb59e10a05ca736c9412b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!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&nbsp;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&nbsp;List</span></a></li>
      <li><a href="classes.htm"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.htm"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.htm"><span>Class&nbsp;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 &lt;<a class="el" href="WindowController_8h-source.htm">WindowController.h</a>&gt;</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> *)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interfaceWindowController.htm#98ad1e38fe4de9572470fe2d5cb92d6d">initWithWindow:</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interfaceWindowController.htm#400fba3ac695c72dfbc7a11d7dac601d">viewFrameDidChange:</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interfaceWindowController.htm#6ce6c07813059e414b4498b66c628a4d">windowDidBecomeMain:</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interfaceWindowController.htm#4e6f6e31f3192512f08e0756ea99fea6">windowDidResignMain:</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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)&nbsp;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interfaceWindowController.htm#01d1957f341704d1c00cdbe8fc96029d">windowWillClose:</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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> *)&nbsp;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interfaceWindowController.htm#1b4f0eb89b8ea32da4561549e1739333">controllerWithWindow:</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</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 *)&nbsp;</td>
          <td class="paramname"> <em>window</em>          </td>
          <td>&nbsp;</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 *)&nbsp;</td>
          <td class="paramname"> <em>window</em>          </td>
          <td>&nbsp;</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 *)&nbsp;</td>
          <td class="paramname"> <em>notification</em>          </td>
          <td>&nbsp;</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 *)&nbsp;</td>
          <td class="paramname"> <em>notification</em>          </td>
          <td>&nbsp;</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 *)&nbsp;</td>
          <td class="paramname"> <em>notification</em>          </td>
          <td>&nbsp;</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 *)&nbsp;</td>
          <td class="paramname"> <em>notification</em>          </td>
          <td>&nbsp;</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">
            &nbsp;::&nbsp; Copyright &copy; 2007-2008 Laurent Gomila, all rights reserved &nbsp;::&nbsp;
            Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen 1.5.2</a> &nbsp;::&nbsp;
        </p>

    </body>
</html>