[571] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
---|
| 3 | <title>G4UIWin32.cc File Reference</title> |
---|
| 4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 5 | </head><body> |
---|
| 6 | <!-- Generated by Doxygen 1.3.4 --> |
---|
| 7 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> |
---|
| 8 | <h1>G4UIWin32.cc File Reference</h1> |
---|
| 9 | <p> |
---|
| 10 | <a href="G4UIWin32_8cc-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
| 11 | <tr><td></td></tr> |
---|
| 12 | <tr><td colspan=2><br><h2>Classes</h2></td></tr> |
---|
| 13 | <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classTextBuffer.html">TextBuffer</a></td></tr> |
---|
| 14 | |
---|
| 15 | <tr><td colspan=2><br><h2>Functions</h2></td></tr> |
---|
| 16 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4bool </td><td class="memItemRight" valign=bottom><a class="el" href="G4UIWin32_8cc.html#a8">ConvertStringToInt</a> (const char *, int &)</td></tr> |
---|
| 17 | |
---|
| 18 | <tr><td colspan=2><br><h2>Variables</h2></td></tr> |
---|
| 19 | <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="G4UIWin32_8cc.html#a0">mainClassName</a> [] = "G4UIWin32"</td></tr> |
---|
| 20 | |
---|
| 21 | <tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="G4UIWin32_8cc.html#a1">textClassName</a> [] = "G4UIWin32/Text"</td></tr> |
---|
| 22 | |
---|
| 23 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4bool </td><td class="memItemRight" valign=bottom><a class="el" href="G4UIWin32_8cc.html#a2">exitSession</a> = true</td></tr> |
---|
| 24 | |
---|
| 25 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4bool </td><td class="memItemRight" valign=bottom><a class="el" href="G4UIWin32_8cc.html#a3">exitPause</a> = true</td></tr> |
---|
| 26 | |
---|
| 27 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4bool </td><td class="memItemRight" valign=bottom><a class="el" href="G4UIWin32_8cc.html#a4">exitHelp</a> = true</td></tr> |
---|
| 28 | |
---|
| 29 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4UIsession * </td><td class="memItemRight" valign=bottom><a class="el" href="G4UIWin32_8cc.html#a5">tmpSession</a> = NULL</td></tr> |
---|
| 30 | |
---|
| 31 | <tr><td class="memItemLeft" nowrap align=right valign=top>WNDPROC </td><td class="memItemRight" valign=bottom><a class="el" href="G4UIWin32_8cc.html#a6">oldEditWindowProc</a></td></tr> |
---|
| 32 | |
---|
| 33 | <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="G4UIWin32_8cc.html#a7">actionIdentifier</a> = 0</td></tr> |
---|
| 34 | |
---|
| 35 | </table> |
---|
| 36 | <hr><h2>Function Documentation</h2> |
---|
| 37 | <a class="anchor" name="a8" doxytag="G4UIWin32.cc::ConvertStringToInt" ></a><p> |
---|
| 38 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 39 | <tr> |
---|
| 40 | <td class="mdRow"> |
---|
| 41 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 42 | <tr> |
---|
| 43 | <td class="md" nowrap valign="top"> G4bool ConvertStringToInt </td> |
---|
| 44 | <td class="md" valign="top">( </td> |
---|
| 45 | <td class="md" nowrap valign="top">const char * </td> |
---|
| 46 | <td class="mdname" nowrap> <em>aString</em>, </td> |
---|
| 47 | </tr> |
---|
| 48 | <tr> |
---|
| 49 | <td></td> |
---|
| 50 | <td></td> |
---|
| 51 | <td class="md" nowrap>int & </td> |
---|
| 52 | <td class="mdname" nowrap> <em>aInt</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 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// |
---|
| 73 | <p> |
---|
| 74 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00706">706</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
| 75 | <p> |
---|
| 76 | <div class="fragment"><pre>00712 { |
---|
| 77 | 00713 aInt = 0; |
---|
| 78 | 00714 <span class="keywordflow">if</span>(aString==NULL) <span class="keywordflow">return</span> <span class="keyword">false</span>; |
---|
| 79 | 00715 <span class="keywordtype">char</span>* s; |
---|
| 80 | 00716 <span class="keywordtype">long</span> value = strtol(aString,&s,10); |
---|
| 81 | 00717 <span class="keywordflow">if</span>(s==aString) <span class="keywordflow">return</span> <span class="keyword">false</span>; |
---|
| 82 | 00718 aInt = value; |
---|
| 83 | 00719 <span class="keywordflow">return</span> <span class="keyword">true</span>; |
---|
| 84 | 00720 } |
---|
| 85 | </pre></div> </td> |
---|
| 86 | </tr> |
---|
| 87 | </table> |
---|
| 88 | <hr><h2>Variable Documentation</h2> |
---|
| 89 | <a class="anchor" name="a7" doxytag="G4UIWin32.cc::actionIdentifier" ></a><p> |
---|
| 90 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 91 | <tr> |
---|
| 92 | <td class="mdRow"> |
---|
| 93 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 94 | <tr> |
---|
| 95 | <td class="md" nowrap valign="top"> int <a class="el" href="G4UIWin32_8cc.html#a7">actionIdentifier</a> = 0<code> [static]</code> |
---|
| 96 | </table> |
---|
| 97 | </td> |
---|
| 98 | </tr> |
---|
| 99 | </table> |
---|
| 100 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 101 | <tr> |
---|
| 102 | <td> |
---|
| 103 | |
---|
| 104 | </td> |
---|
| 105 | <td> |
---|
| 106 | |
---|
| 107 | <p> |
---|
| 108 | |
---|
| 109 | <p> |
---|
| 110 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00179">179</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
| 111 | <p> |
---|
| 112 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00407">G4UIWin32::AddButton()</a>. </td> |
---|
| 113 | </tr> |
---|
| 114 | </table> |
---|
| 115 | <a class="anchor" name="a4" doxytag="G4UIWin32.cc::exitHelp" ></a><p> |
---|
| 116 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 117 | <tr> |
---|
| 118 | <td class="mdRow"> |
---|
| 119 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 120 | <tr> |
---|
| 121 | <td class="md" nowrap valign="top"> G4bool <a class="el" href="G4UIXm_8cc.html#a2">exitHelp</a> = true<code> [static]</code> |
---|
| 122 | </table> |
---|
| 123 | </td> |
---|
| 124 | </tr> |
---|
| 125 | </table> |
---|
| 126 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 127 | <tr> |
---|
| 128 | <td> |
---|
| 129 | |
---|
| 130 | </td> |
---|
| 131 | <td> |
---|
| 132 | |
---|
| 133 | <p> |
---|
| 134 | |
---|
| 135 | <p> |
---|
| 136 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00173">173</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
| 137 | <p> |
---|
| 138 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00587">G4UIWin32::EditWindowProc()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00358">G4UIWin32::GetHelpChoice()</a>. </td> |
---|
| 139 | </tr> |
---|
| 140 | </table> |
---|
| 141 | <a class="anchor" name="a3" doxytag="G4UIWin32.cc::exitPause" ></a><p> |
---|
| 142 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 143 | <tr> |
---|
| 144 | <td class="mdRow"> |
---|
| 145 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 146 | <tr> |
---|
| 147 | <td class="md" nowrap valign="top"> G4bool <a class="el" href="G4UIXm_8cc.html#a1">exitPause</a> = true<code> [static]</code> |
---|
| 148 | </table> |
---|
| 149 | </td> |
---|
| 150 | </tr> |
---|
| 151 | </table> |
---|
| 152 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 153 | <tr> |
---|
| 154 | <td> |
---|
| 155 | |
---|
| 156 | </td> |
---|
| 157 | <td> |
---|
| 158 | |
---|
| 159 | <p> |
---|
| 160 | |
---|
| 161 | <p> |
---|
| 162 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00172">172</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
| 163 | <p> |
---|
| 164 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00587">G4UIWin32::EditWindowProc()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00435">G4UIWin32::MainWindowProc()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00321">G4UIWin32::SecondaryLoop()</a>. </td> |
---|
| 165 | </tr> |
---|
| 166 | </table> |
---|
| 167 | <a class="anchor" name="a2" doxytag="G4UIWin32.cc::exitSession" ></a><p> |
---|
| 168 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 169 | <tr> |
---|
| 170 | <td class="mdRow"> |
---|
| 171 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 172 | <tr> |
---|
| 173 | <td class="md" nowrap valign="top"> G4bool <a class="el" href="G4UIXm_8cc.html#a0">exitSession</a> = true<code> [static]</code> |
---|
| 174 | </table> |
---|
| 175 | </td> |
---|
| 176 | </tr> |
---|
| 177 | </table> |
---|
| 178 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 179 | <tr> |
---|
| 180 | <td> |
---|
| 181 | |
---|
| 182 | </td> |
---|
| 183 | <td> |
---|
| 184 | |
---|
| 185 | <p> |
---|
| 186 | |
---|
| 187 | <p> |
---|
| 188 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00171">171</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
| 189 | <p> |
---|
| 190 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00587">G4UIWin32::EditWindowProc()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00435">G4UIWin32::MainWindowProc()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00272">G4UIWin32::SessionStart()</a>. </td> |
---|
| 191 | </tr> |
---|
| 192 | </table> |
---|
| 193 | <a class="anchor" name="a0" doxytag="G4UIWin32.cc::mainClassName" ></a><p> |
---|
| 194 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 195 | <tr> |
---|
| 196 | <td class="mdRow"> |
---|
| 197 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 198 | <tr> |
---|
| 199 | <td class="md" nowrap valign="top"> char <a class="el" href="G4UIWin32_8cc.html#a0">mainClassName</a>[] = "G4UIWin32"<code> [static]</code> |
---|
| 200 | </table> |
---|
| 201 | </td> |
---|
| 202 | </tr> |
---|
| 203 | </table> |
---|
| 204 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 205 | <tr> |
---|
| 206 | <td> |
---|
| 207 | |
---|
| 208 | </td> |
---|
| 209 | <td> |
---|
| 210 | |
---|
| 211 | <p> |
---|
| 212 | |
---|
| 213 | <p> |
---|
| 214 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00169">169</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
| 215 | <p> |
---|
| 216 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32::G4UIWin32()</a>. </td> |
---|
| 217 | </tr> |
---|
| 218 | </table> |
---|
| 219 | <a class="anchor" name="a6" doxytag="G4UIWin32.cc::oldEditWindowProc" ></a><p> |
---|
| 220 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 221 | <tr> |
---|
| 222 | <td class="mdRow"> |
---|
| 223 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 224 | <tr> |
---|
| 225 | <td class="md" nowrap valign="top"> WNDPROC <a class="el" href="G4UIWin32_8cc.html#a6">oldEditWindowProc</a><code> [static]</code> |
---|
| 226 | </table> |
---|
| 227 | </td> |
---|
| 228 | </tr> |
---|
| 229 | </table> |
---|
| 230 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 231 | <tr> |
---|
| 232 | <td> |
---|
| 233 | |
---|
| 234 | </td> |
---|
| 235 | <td> |
---|
| 236 | |
---|
| 237 | <p> |
---|
| 238 | |
---|
| 239 | <p> |
---|
| 240 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00176">176</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
| 241 | <p> |
---|
| 242 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00587">G4UIWin32::EditWindowProc()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00435">G4UIWin32::MainWindowProc()</a>. </td> |
---|
| 243 | </tr> |
---|
| 244 | </table> |
---|
| 245 | <a class="anchor" name="a1" doxytag="G4UIWin32.cc::textClassName" ></a><p> |
---|
| 246 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 247 | <tr> |
---|
| 248 | <td class="mdRow"> |
---|
| 249 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 250 | <tr> |
---|
| 251 | <td class="md" nowrap valign="top"> char <a class="el" href="G4UIWin32_8cc.html#a1">textClassName</a>[] = "G4UIWin32/Text"<code> [static]</code> |
---|
| 252 | </table> |
---|
| 253 | </td> |
---|
| 254 | </tr> |
---|
| 255 | </table> |
---|
| 256 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 257 | <tr> |
---|
| 258 | <td> |
---|
| 259 | |
---|
| 260 | </td> |
---|
| 261 | <td> |
---|
| 262 | |
---|
| 263 | <p> |
---|
| 264 | |
---|
| 265 | <p> |
---|
| 266 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00170">170</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
| 267 | <p> |
---|
| 268 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32::G4UIWin32()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00435">G4UIWin32::MainWindowProc()</a>. </td> |
---|
| 269 | </tr> |
---|
| 270 | </table> |
---|
| 271 | <a class="anchor" name="a5" doxytag="G4UIWin32.cc::tmpSession" ></a><p> |
---|
| 272 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
| 273 | <tr> |
---|
| 274 | <td class="mdRow"> |
---|
| 275 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 276 | <tr> |
---|
| 277 | <td class="md" nowrap valign="top"> G4UIsession* <a class="el" href="G4UIWin32_8cc.html#a5">tmpSession</a> = NULL<code> [static]</code> |
---|
| 278 | </table> |
---|
| 279 | </td> |
---|
| 280 | </tr> |
---|
| 281 | </table> |
---|
| 282 | <table cellspacing=5 cellpadding=0 border=0> |
---|
| 283 | <tr> |
---|
| 284 | <td> |
---|
| 285 | |
---|
| 286 | </td> |
---|
| 287 | <td> |
---|
| 288 | |
---|
| 289 | <p> |
---|
| 290 | |
---|
| 291 | <p> |
---|
| 292 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00174">174</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
| 293 | <p> |
---|
| 294 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32::G4UIWin32()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00435">G4UIWin32::MainWindowProc()</a>. </td> |
---|
| 295 | </tr> |
---|
| 296 | </table> |
---|
| 297 | <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 22 11:07:03 2007 by |
---|
| 298 | <a href="http://www.doxygen.org/index.html"> |
---|
| 299 | <img src="doxygen.png" alt="doxygen" align="middle" border=0 > |
---|
| 300 | </a>1.3.4 </small></address> |
---|
| 301 | </body> |
---|
| 302 | </html> |
---|