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 class 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 Class Reference</h1><code>#include <<a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>></code> |
---|
9 | <p> |
---|
10 | Inheritance diagram for G4UIWin32:<p><center><img src="classG4UIWin32__inherit__graph.png" border="0" usemap="#G4UIWin32__inherit__map" alt="Inheritance graph"></center> |
---|
11 | <map name="G4UIWin32__inherit__map"> |
---|
12 | <area href="classG4VBasicShell.html" shape="rect" coords="8,8,218,392" alt=""> |
---|
13 | <area href="classG4VInteractiveSession.html" shape="rect" coords="242,112,426,288" alt=""> |
---|
14 | </map> |
---|
15 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for G4UIWin32:<p><center><img src="classG4UIWin32__coll__graph.png" border="0" usemap="#G4UIWin32__coll__map" alt="Collaboration graph"></center> |
---|
16 | <map name="G4UIWin32__coll__map"> |
---|
17 | <area href="classG4VBasicShell.html" shape="rect" coords="8,184,218,568" alt=""> |
---|
18 | <area href="classG4VInteractiveSession.html" shape="rect" coords="242,288,426,464" alt=""> |
---|
19 | <area href="classG4VInteractorManager.html" shape="rect" coords="450,8,672,744" alt=""> |
---|
20 | </map> |
---|
21 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classG4UIWin32-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
22 | <tr><td></td></tr> |
---|
23 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
24 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a0">G4UIWin32</a> ()</td></tr> |
---|
25 | |
---|
26 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4UIsession * </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a1">SessionStart</a> ()</td></tr> |
---|
27 | |
---|
28 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a2">AddMenu</a> (const char *, const char *)</td></tr> |
---|
29 | |
---|
30 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a3">AddButton</a> (const char *, const char *, const char *)</td></tr> |
---|
31 | |
---|
32 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a4">~G4UIWin32</a> ()</td></tr> |
---|
33 | |
---|
34 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a5">Prompt</a> (G4String)</td></tr> |
---|
35 | |
---|
36 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a6">SessionTerminate</a> ()</td></tr> |
---|
37 | |
---|
38 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a7">PauseSessionStart</a> (G4String)</td></tr> |
---|
39 | |
---|
40 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4int </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a8">ReceiveG4cout</a> (G4String)</td></tr> |
---|
41 | |
---|
42 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4int </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a9">ReceiveG4cerr</a> (G4String)</td></tr> |
---|
43 | |
---|
44 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4String </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a10">GetCommand</a> (int)</td></tr> |
---|
45 | |
---|
46 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#a11">TextAppendString</a> (char *)</td></tr> |
---|
47 | |
---|
48 | <tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr> |
---|
49 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#d0">SecondaryLoop</a> (G4String)</td></tr> |
---|
50 | |
---|
51 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4bool </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#d1">GetHelpChoice</a> (G4int &)</td></tr> |
---|
52 | |
---|
53 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#d2">ExitHelp</a> ()</td></tr> |
---|
54 | |
---|
55 | <tr><td colspan=2><br><h2>Static Private Member Functions</h2></td></tr> |
---|
56 | <tr><td class="memItemLeft" nowrap align=right valign=top>LRESULT CALLBACK </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#h0">MainWindowProc</a> (HWND, UINT, WPARAM, LPARAM)</td></tr> |
---|
57 | |
---|
58 | <tr><td class="memItemLeft" nowrap align=right valign=top>LRESULT CALLBACK </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#h1">TextWindowProc</a> (HWND, UINT, WPARAM, LPARAM)</td></tr> |
---|
59 | |
---|
60 | <tr><td class="memItemLeft" nowrap align=right valign=top>LRESULT CALLBACK </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#h2">EditWindowProc</a> (HWND, UINT, WPARAM, LPARAM)</td></tr> |
---|
61 | |
---|
62 | <tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> |
---|
63 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classG4VInteractorManager.html">G4VInteractorManager</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r0">interactorManager</a></td></tr> |
---|
64 | |
---|
65 | <tr><td class="memItemLeft" nowrap align=right valign=top>HWND </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r1">mainWindow</a></td></tr> |
---|
66 | |
---|
67 | <tr><td class="memItemLeft" nowrap align=right valign=top>HWND </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r2">textWindow</a></td></tr> |
---|
68 | |
---|
69 | <tr><td class="memItemLeft" nowrap align=right valign=top>HWND </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r3">editWindow</a></td></tr> |
---|
70 | |
---|
71 | <tr><td class="memItemLeft" nowrap align=right valign=top>HMENU </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r4">menuBar</a></td></tr> |
---|
72 | |
---|
73 | <tr><td class="memItemLeft" nowrap align=right valign=top>HMENU </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r5">defaultMenu</a></td></tr> |
---|
74 | |
---|
75 | <tr><td class="memItemLeft" nowrap align=right valign=top>std::map< int, G4String, std::less<<br> |
---|
76 | int > > </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r6">commands</a></td></tr> |
---|
77 | |
---|
78 | <tr><td class="memItemLeft" nowrap align=right valign=top>void * </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r7">textBuffer</a></td></tr> |
---|
79 | |
---|
80 | <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r8">textRows</a></td></tr> |
---|
81 | |
---|
82 | <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r9">textCols</a></td></tr> |
---|
83 | |
---|
84 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4bool </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r10">fHelp</a></td></tr> |
---|
85 | |
---|
86 | <tr><td class="memItemLeft" nowrap align=right valign=top>G4int </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r11">fHelpChoice</a></td></tr> |
---|
87 | |
---|
88 | <tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< G4String > </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r12">fHistory</a></td></tr> |
---|
89 | |
---|
90 | <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classG4UIWin32.html#r13">fHistoryPos</a></td></tr> |
---|
91 | |
---|
92 | </table> |
---|
93 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
94 | <a class="anchor" name="a0" doxytag="G4UIWin32::G4UIWin32" ></a><p> |
---|
95 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
96 | <tr> |
---|
97 | <td class="mdRow"> |
---|
98 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
99 | <tr> |
---|
100 | <td class="md" nowrap valign="top"> G4UIWin32::G4UIWin32 </td> |
---|
101 | <td class="md" valign="top">( </td> |
---|
102 | <td class="mdname1" valign="top" nowrap> </td> |
---|
103 | <td class="md" valign="top"> ) </td> |
---|
104 | <td class="md" nowrap></td> |
---|
105 | </tr> |
---|
106 | |
---|
107 | </table> |
---|
108 | </td> |
---|
109 | </tr> |
---|
110 | </table> |
---|
111 | <table cellspacing=5 cellpadding=0 border=0> |
---|
112 | <tr> |
---|
113 | <td> |
---|
114 | |
---|
115 | </td> |
---|
116 | <td> |
---|
117 | |
---|
118 | <p> |
---|
119 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
120 | <p> |
---|
121 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00182">182</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
122 | <p> |
---|
123 | References <a class="el" href="G4UIWin32_8hh-source.html#l00099">defaultMenu</a>, <a class="el" href="G4Win32_8cc-source.html#l00046">G4Win32::getInstance()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00096">interactorManager</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00169">mainClassName</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00097">mainWindow</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00099">menuBar</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00101">textBuffer</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00170">textClassName</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00529">TextWindowProc()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00174">tmpSession</a>. |
---|
124 | <p> |
---|
125 | <div class="fragment"><pre>00184 :<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>(NULL) |
---|
126 | 00185 ,<a class="code" href="classG4UIWin32.html#r2">textWindow</a>(NULL) |
---|
127 | 00186 ,<a class="code" href="classG4UIWin32.html#r3">editWindow</a>(NULL) |
---|
128 | 00187 ,<a class="code" href="classG4UIWin32.html#r4">menuBar</a>(NULL) |
---|
129 | 00188 ,<a class="code" href="classG4UIWin32.html#r7">textBuffer</a>(NULL) |
---|
130 | 00189 ,<a class="code" href="classG4UIWin32.html#r9">textCols</a>(80) |
---|
131 | 00190 ,<a class="code" href="classG4UIWin32.html#r8">textRows</a>(12) |
---|
132 | 00191 ,<a class="code" href="classG4UIWin32.html#r10">fHelp</a>(<span class="keyword">false</span>) |
---|
133 | 00192 ,<a class="code" href="classG4UIWin32.html#r11">fHelpChoice</a>(0) |
---|
134 | 00193 ,<a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a>(-1) |
---|
135 | 00194 <span class="comment">/***************************************************************************/</span> |
---|
136 | 00196 { |
---|
137 | 00197 G4UImanager* UI = G4UImanager::GetUIpointer(); |
---|
138 | 00198 <span class="keywordflow">if</span>(UI!=NULL) UI->SetSession(<span class="keyword">this</span>); |
---|
139 | 00199 |
---|
140 | 00200 <a class="code" href="classG4UIWin32.html#r0">interactorManager</a> = <a class="code" href="classG4Win32.html#e0">G4Win32::getInstance</a> (); |
---|
141 | 00201 <span class="keyword">static</span> G4bool Done = FALSE; |
---|
142 | 00202 <span class="keywordflow">if</span>(Done==FALSE) { |
---|
143 | 00203 WNDCLASS wc; |
---|
144 | 00204 wc.style = CS_HREDRAW | CS_VREDRAW; |
---|
145 | 00205 wc.lpfnWndProc = (WNDPROC)<a class="code" href="classG4UIWin32.html#h0">G4UIWin32::MainWindowProc</a>; |
---|
146 | 00206 wc.cbClsExtra = 0; |
---|
147 | 00207 wc.cbWndExtra = 0; |
---|
148 | 00208 wc.hInstance = ::GetModuleHandle(NULL); |
---|
149 | 00209 wc.hIcon = LoadIcon(NULL,IDI_APPLICATION); |
---|
150 | 00210 wc.hCursor = LoadCursor(NULL,IDC_ARROW); |
---|
151 | 00211 wc.hbrBackground = GetStockBrush(WHITE_BRUSH); |
---|
152 | 00212 wc.lpszMenuName = <a class="code" href="G4UIWin32_8cc.html#a0">mainClassName</a>; |
---|
153 | 00213 wc.lpszClassName = <a class="code" href="G4UIWin32_8cc.html#a0">mainClassName</a>; |
---|
154 | 00214 ::RegisterClass (&wc); |
---|
155 | 00215 |
---|
156 | 00216 wc.style = CS_HREDRAW | CS_VREDRAW; |
---|
157 | 00217 wc.lpfnWndProc = (WNDPROC)<a class="code" href="classG4UIWin32.html#h1">G4UIWin32::TextWindowProc</a>; |
---|
158 | 00218 wc.cbClsExtra = 0; |
---|
159 | 00219 wc.cbWndExtra = 0; |
---|
160 | 00220 wc.hInstance = ::GetModuleHandle(NULL); |
---|
161 | 00221 wc.hIcon = LoadIcon(NULL,IDI_APPLICATION); |
---|
162 | 00222 wc.hCursor = LoadCursor(NULL,IDC_ARROW); |
---|
163 | 00223 wc.hbrBackground = GetStockBrush(WHITE_BRUSH); |
---|
164 | 00224 wc.lpszMenuName = <a class="code" href="G4UIWin32_8cc.html#a1">textClassName</a>; |
---|
165 | 00225 wc.lpszClassName = <a class="code" href="G4UIWin32_8cc.html#a1">textClassName</a>; |
---|
166 | 00226 ::RegisterClass (&wc); |
---|
167 | 00227 Done = TRUE; |
---|
168 | 00228 } |
---|
169 | 00229 |
---|
170 | 00230 <a class="code" href="classG4UIWin32.html#r4">menuBar</a> = CreateMenu(); |
---|
171 | 00231 <a class="code" href="classG4UIWin32.html#r5">defaultMenu</a> = CreatePopupMenu(); |
---|
172 | 00232 AppendMenu(menuBar,MF_POPUP,(UINT)defaultMenu,<span class="stringliteral">"Geant4"</span>); |
---|
173 | 00233 |
---|
174 | 00234 <a class="code" href="classG4UIWin32.html#r7">textBuffer</a> = <span class="keyword">new</span> <a class="code" href="classTextBuffer.html">TextBuffer</a>(); |
---|
175 | 00235 |
---|
176 | 00236 <a class="code" href="G4UIWin32_8cc.html#a5">tmpSession</a> = <span class="keyword">this</span>; |
---|
177 | 00237 <a class="code" href="classG4UIWin32.html#r1">mainWindow</a> = ::CreateWindow(<a class="code" href="G4UIWin32_8cc.html#a0">mainClassName</a>,<a class="code" href="G4UIWin32_8cc.html#a0">mainClassName</a>, |
---|
178 | 00238 WS_OVERLAPPEDWINDOW, |
---|
179 | 00239 CW_USEDEFAULT,CW_USEDEFAULT, |
---|
180 | 00240 0,0, |
---|
181 | 00241 NULL,<a class="code" href="classG4UIWin32.html#r4">menuBar</a>, |
---|
182 | 00242 ::GetModuleHandle(NULL), |
---|
183 | 00243 NULL); |
---|
184 | 00244 <a class="code" href="G4UIWin32_8cc.html#a5">tmpSession</a> = NULL; |
---|
185 | 00245 ::SetWindowLong(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>,GWL_USERDATA,LONG(<span class="keyword">this</span>)); |
---|
186 | 00246 |
---|
187 | 00247 ::SetForegroundWindow(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>); |
---|
188 | 00248 ::ShowWindow(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>,SW_SHOWDEFAULT); |
---|
189 | 00249 ::UpdateWindow(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>); |
---|
190 | 00250 |
---|
191 | 00251 <span class="keywordflow">if</span>(UI!=NULL) UI->SetCoutDestination(<span class="keyword">this</span>); |
---|
192 | 00252 } |
---|
193 | </pre></div> </td> |
---|
194 | </tr> |
---|
195 | </table> |
---|
196 | |
---|
197 | <p> |
---|
198 | Here is the call graph for this function:<p><center><img src="classG4UIWin32_a0_cgraph.png" border="0" usemap="#classG4UIWin32_a0_cgraph_map" alt=""></center> |
---|
199 | <map name="classG4UIWin32_a0_cgraph_map"> |
---|
200 | <area href="classG4Win32.html#e0" shape="rect" coords="247,33,402,59" alt=""> |
---|
201 | <area href="classG4UIWin32.html#h0" shape="rect" coords="223,109,426,135" alt=""> |
---|
202 | <area href="classG4UIWin32.html#h1" shape="rect" coords="226,337,423,363" alt=""> |
---|
203 | <area href="classG4Win32.html#d0" shape="rect" coords="515,7,657,34" alt=""> |
---|
204 | <area href="classG4VBasicShell.html#b10" shape="rect" coords="746,83,989,110" alt=""> |
---|
205 | <area href="classG4UIWin32.html#h2" shape="rect" coords="489,109,683,135" alt=""> |
---|
206 | <area href="classG4UIWin32.html#a10" shape="rect" coords="497,159,675,186" alt=""> |
---|
207 | <area href="classTextBuffer.html#a7" shape="rect" coords="475,210,697,237" alt=""> |
---|
208 | <area href="classTextBuffer.html#a11" shape="rect" coords="527,261,645,287" alt=""> |
---|
209 | <area href="classTextBuffer.html#a5" shape="rect" coords="498,311,674,338" alt=""> |
---|
210 | <area href="classTextBuffer.html#a6" shape="rect" coords="478,362,694,389" alt=""> |
---|
211 | <area href="classTextBuffer.html#a8" shape="rect" coords="475,413,697,439" alt=""> |
---|
212 | <area href="classTextBuffer.html#a9" shape="rect" coords="483,463,689,490" alt=""> |
---|
213 | <area href="classTextBuffer.html#a4" shape="rect" coords="498,514,674,541" alt=""> |
---|
214 | </map> |
---|
215 | <a class="anchor" name="a4" doxytag="G4UIWin32::~G4UIWin32" ></a><p> |
---|
216 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
217 | <tr> |
---|
218 | <td class="mdRow"> |
---|
219 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
220 | <tr> |
---|
221 | <td class="md" nowrap valign="top"> G4UIWin32::~<a class="el" href="classG4UIWin32.html">G4UIWin32</a> </td> |
---|
222 | <td class="md" valign="top">( </td> |
---|
223 | <td class="mdname1" valign="top" nowrap> </td> |
---|
224 | <td class="md" valign="top"> ) </td> |
---|
225 | <td class="md" nowrap></td> |
---|
226 | </tr> |
---|
227 | |
---|
228 | </table> |
---|
229 | </td> |
---|
230 | </tr> |
---|
231 | </table> |
---|
232 | <table cellspacing=5 cellpadding=0 border=0> |
---|
233 | <tr> |
---|
234 | <td> |
---|
235 | |
---|
236 | </td> |
---|
237 | <td> |
---|
238 | |
---|
239 | <p> |
---|
240 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
241 | <p> |
---|
242 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00254">254</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
243 | <p> |
---|
244 | References <a class="el" href="G4UIWin32_8hh-source.html#l00097">mainWindow</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00101">textBuffer</a>, and <a class="el" href="G4UIWin32_8hh-source.html#l00098">textWindow</a>. |
---|
245 | <p> |
---|
246 | <div class="fragment"><pre>00258 { |
---|
247 | 00259 G4UImanager* UI = G4UImanager::GetUIpointer(); |
---|
248 | 00260 <span class="keywordflow">if</span>(UI!=NULL) { |
---|
249 | 00261 UI->SetSession(NULL); |
---|
250 | 00262 UI->SetCoutDestination(NULL); |
---|
251 | 00263 } |
---|
252 | 00264 <span class="keyword">delete</span> <a class="code" href="classG4UIWin32.html#r7">textBuffer</a>; |
---|
253 | 00265 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r2">textWindow</a>!=NULL) ::SetWindowLong(<a class="code" href="classG4UIWin32.html#r2">textWindow</a>,GWL_USERDATA,LONG(NULL)); |
---|
254 | 00266 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>!=NULL) { |
---|
255 | 00267 ::SetWindowLong(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>,GWL_USERDATA,LONG(NULL)); |
---|
256 | 00268 ::DestroyWindow(<a class="code" href="classG4UIWin32.html#r1">mainWindow</a>); |
---|
257 | 00269 } |
---|
258 | 00270 } |
---|
259 | </pre></div> </td> |
---|
260 | </tr> |
---|
261 | </table> |
---|
262 | <hr><h2>Member Function Documentation</h2> |
---|
263 | <a class="anchor" name="a3" doxytag="G4UIWin32::AddButton" ></a><p> |
---|
264 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
265 | <tr> |
---|
266 | <td class="mdRow"> |
---|
267 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
268 | <tr> |
---|
269 | <td class="md" nowrap valign="top"> void G4UIWin32::AddButton </td> |
---|
270 | <td class="md" valign="top">( </td> |
---|
271 | <td class="md" nowrap valign="top">const char * </td> |
---|
272 | <td class="mdname" nowrap> <em>a_menu</em>, </td> |
---|
273 | </tr> |
---|
274 | <tr> |
---|
275 | <td></td> |
---|
276 | <td></td> |
---|
277 | <td class="md" nowrap>const char * </td> |
---|
278 | <td class="mdname" nowrap> <em>a_label</em>, </td> |
---|
279 | </tr> |
---|
280 | <tr> |
---|
281 | <td></td> |
---|
282 | <td></td> |
---|
283 | <td class="md" nowrap>const char * </td> |
---|
284 | <td class="mdname" nowrap> <em>a_command</em></td> |
---|
285 | </tr> |
---|
286 | <tr> |
---|
287 | <td></td> |
---|
288 | <td class="md">) </td> |
---|
289 | <td class="md" colspan="2"><code> [virtual]</code></td> |
---|
290 | </tr> |
---|
291 | |
---|
292 | </table> |
---|
293 | </td> |
---|
294 | </tr> |
---|
295 | </table> |
---|
296 | <table cellspacing=5 cellpadding=0 border=0> |
---|
297 | <tr> |
---|
298 | <td> |
---|
299 | |
---|
300 | </td> |
---|
301 | <td> |
---|
302 | |
---|
303 | <p> |
---|
304 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
305 | <p> |
---|
306 | Reimplemented from <a class="el" href="classG4VInteractiveSession.html#a3">G4VInteractiveSession</a>. |
---|
307 | <p> |
---|
308 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00407">407</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
309 | <p> |
---|
310 | References <a class="el" href="G4UIWin32_8cc-source.html#l00179">actionIdentifier</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00100">commands</a>, and <a class="el" href="G4VInteractiveSession_8cc-source.html#l00062">G4VInteractiveSession::GetInteractor()</a>. |
---|
311 | <p> |
---|
312 | <div class="fragment"><pre>00414 { |
---|
313 | 00415 <span class="keywordflow">if</span>(a_menu==NULL) <span class="keywordflow">return</span>; |
---|
314 | 00416 <span class="keywordflow">if</span>(a_label==NULL) <span class="keywordflow">return</span>; |
---|
315 | 00417 <span class="keywordflow">if</span>(a_command==NULL) <span class="keywordflow">return</span>; |
---|
316 | 00418 HMENU hMenu = (HMENU)<a class="code" href="classG4VInteractiveSession.html#a5">GetInteractor</a>(a_menu); |
---|
317 | 00419 <a class="code" href="G4UIWin32_8cc.html#a7">actionIdentifier</a>++; |
---|
318 | 00420 <a class="code" href="classG4UIWin32.html#r6">commands</a>[<a class="code" href="G4UIWin32_8cc.html#a7">actionIdentifier</a>] = a_command; |
---|
319 | 00421 AppendMenu (hMenu,MF_STRING,actionIdentifier,a_label); |
---|
320 | 00422 } |
---|
321 | </pre></div> </td> |
---|
322 | </tr> |
---|
323 | </table> |
---|
324 | |
---|
325 | <p> |
---|
326 | Here is the call graph for this function:<p><center><img src="classG4UIWin32_a3_cgraph.png" border="0" usemap="#classG4UIWin32_a3_cgraph_map" alt=""></center> |
---|
327 | <map name="classG4UIWin32_a3_cgraph_map"> |
---|
328 | <area href="classG4VInteractiveSession.html#a5" shape="rect" coords="216,8,458,34" alt=""> |
---|
329 | </map> |
---|
330 | <a class="anchor" name="a2" doxytag="G4UIWin32::AddMenu" ></a><p> |
---|
331 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
332 | <tr> |
---|
333 | <td class="mdRow"> |
---|
334 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
335 | <tr> |
---|
336 | <td class="md" nowrap valign="top"> void G4UIWin32::AddMenu </td> |
---|
337 | <td class="md" valign="top">( </td> |
---|
338 | <td class="md" nowrap valign="top">const char * </td> |
---|
339 | <td class="mdname" nowrap> <em>a_name</em>, </td> |
---|
340 | </tr> |
---|
341 | <tr> |
---|
342 | <td></td> |
---|
343 | <td></td> |
---|
344 | <td class="md" nowrap>const char * </td> |
---|
345 | <td class="mdname" nowrap> <em>a_label</em></td> |
---|
346 | </tr> |
---|
347 | <tr> |
---|
348 | <td></td> |
---|
349 | <td class="md">) </td> |
---|
350 | <td class="md" colspan="2"><code> [virtual]</code></td> |
---|
351 | </tr> |
---|
352 | |
---|
353 | </table> |
---|
354 | </td> |
---|
355 | </tr> |
---|
356 | </table> |
---|
357 | <table cellspacing=5 cellpadding=0 border=0> |
---|
358 | <tr> |
---|
359 | <td> |
---|
360 | |
---|
361 | </td> |
---|
362 | <td> |
---|
363 | |
---|
364 | <p> |
---|
365 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
366 | <p> |
---|
367 | Reimplemented from <a class="el" href="classG4VInteractiveSession.html#a2">G4VInteractiveSession</a>. |
---|
368 | <p> |
---|
369 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00389">389</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
370 | <p> |
---|
371 | References <a class="el" href="G4VInteractiveSession_8cc-source.html#l00055">G4VInteractiveSession::AddInteractor()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00099">defaultMenu</a>, <a class="el" href="G4VInteractorManager_8hh-source.html#l00038">G4Interactor</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00097">mainWindow</a>, and <a class="el" href="G4UIWin32_8hh-source.html#l00099">menuBar</a>. |
---|
372 | <p> |
---|
373 | <div class="fragment"><pre>00395 { |
---|
374 | 00396 <span class="keywordflow">if</span>(a_name==NULL) <span class="keywordflow">return</span>; |
---|
375 | 00397 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r5">defaultMenu</a>!=NULL) { |
---|
376 | 00398 DeleteMenu (menuBar,0,MF_BYPOSITION); |
---|
377 | 00399 <a class="code" href="classG4UIWin32.html#r5">defaultMenu</a> = NULL; |
---|
378 | 00400 } |
---|
379 | 00401 HMENU hMenu = CreatePopupMenu(); |
---|
380 | 00402 AppendMenu(menuBar,MF_POPUP,(UINT)hMenu,a_label); |
---|
381 | 00403 <a class="code" href="classG4VInteractiveSession.html#a4">AddInteractor</a>(a_name,(<a class="code" href="G4VInteractorManager_8hh.html#a0">G4Interactor</a>)hMenu); |
---|
382 | 00404 DrawMenuBar(mainWindow); |
---|
383 | 00405 } |
---|
384 | </pre></div> </td> |
---|
385 | </tr> |
---|
386 | </table> |
---|
387 | |
---|
388 | <p> |
---|
389 | Here is the call graph for this function:<p><center><img src="classG4UIWin32_a2_cgraph.png" border="0" usemap="#classG4UIWin32_a2_cgraph_map" alt=""></center> |
---|
390 | <map name="classG4UIWin32_a2_cgraph_map"> |
---|
391 | <area href="classG4VInteractiveSession.html#a4" shape="rect" coords="210,8,456,34" alt=""> |
---|
392 | </map> |
---|
393 | <a class="anchor" name="h2" doxytag="G4UIWin32::EditWindowProc" ></a><p> |
---|
394 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
395 | <tr> |
---|
396 | <td class="mdRow"> |
---|
397 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
398 | <tr> |
---|
399 | <td class="md" nowrap valign="top"> LRESULT CALLBACK G4UIWin32::EditWindowProc </td> |
---|
400 | <td class="md" valign="top">( </td> |
---|
401 | <td class="md" nowrap valign="top">HWND </td> |
---|
402 | <td class="mdname" nowrap> <em>a_window</em>, </td> |
---|
403 | </tr> |
---|
404 | <tr> |
---|
405 | <td></td> |
---|
406 | <td></td> |
---|
407 | <td class="md" nowrap>UINT </td> |
---|
408 | <td class="mdname" nowrap> <em>a_message</em>, </td> |
---|
409 | </tr> |
---|
410 | <tr> |
---|
411 | <td></td> |
---|
412 | <td></td> |
---|
413 | <td class="md" nowrap>WPARAM </td> |
---|
414 | <td class="mdname" nowrap> <em>a_wParam</em>, </td> |
---|
415 | </tr> |
---|
416 | <tr> |
---|
417 | <td></td> |
---|
418 | <td></td> |
---|
419 | <td class="md" nowrap>LPARAM </td> |
---|
420 | <td class="mdname" nowrap> <em>a_lParam</em></td> |
---|
421 | </tr> |
---|
422 | <tr> |
---|
423 | <td></td> |
---|
424 | <td class="md">) </td> |
---|
425 | <td class="md" colspan="2"><code> [static, private]</code></td> |
---|
426 | </tr> |
---|
427 | |
---|
428 | </table> |
---|
429 | </td> |
---|
430 | </tr> |
---|
431 | </table> |
---|
432 | <table cellspacing=5 cellpadding=0 border=0> |
---|
433 | <tr> |
---|
434 | <td> |
---|
435 | |
---|
436 | </td> |
---|
437 | <td> |
---|
438 | |
---|
439 | <p> |
---|
440 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
441 | <p> |
---|
442 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00587">587</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
443 | <p> |
---|
444 | References <a class="el" href="G4VBasicShell_8cc-source.html#l00286">G4VBasicShell::ApplyShellCommand()</a>, <a class="el" href="G4VBasicShell_8cc-source.html#l00168">G4VBasicShell::Complete()</a>, <a class="el" href="G4UIXm_8cc-source.html#l00483">ConvertStringToInt()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00173">exitHelp</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00172">exitPause</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00171">exitSession</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00106">fHelp</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00107">fHelpChoice</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00108">fHistory</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00109">fHistoryPos</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00176">oldEditWindowProc</a>. |
---|
445 | <p> |
---|
446 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>. |
---|
447 | <p> |
---|
448 | <div class="fragment"><pre>00595 { |
---|
449 | 00596 <span class="keywordflow">switch</span> (a_message) { |
---|
450 | 00597 <span class="keywordflow">case</span> WM_KEYDOWN: |
---|
451 | 00598 <span class="keywordflow">switch</span>(a_wParam){ |
---|
452 | 00599 <span class="keywordflow">case</span> VK_RETURN:{ |
---|
453 | 00600 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong( |
---|
454 | 00601 GetParent(a_window),GWL_USERDATA); |
---|
455 | 00602 <span class="keywordtype">char</span> buffer[128]; |
---|
456 | 00603 GetWindowText (a_window,buffer,128); |
---|
457 | 00604 G4String command (buffer); |
---|
458 | 00605 <span class="comment">//SetWindowText (a_window,"");</span> |
---|
459 | 00606 Edit_SetText(a_window,<span class="stringliteral">""</span>); |
---|
460 | 00607 Edit_SetSel(a_window,0,0); |
---|
461 | 00608 |
---|
462 | 00609 <span class="keywordflow">if</span>(This!=NULL) { |
---|
463 | 00610 <span class="keywordflow">if</span>(This-><a class="code" href="classG4UIWin32.html#r10">fHelp</a>==<span class="keyword">true</span>) { |
---|
464 | 00611 <a class="code" href="G4UIWin32_8cc.html#a4">exitHelp</a> = <span class="keyword">true</span>; |
---|
465 | 00612 This-><a class="code" href="classG4UIWin32.html#r10">fHelp</a> = <a class="code" href="G4UIXm_8cc.html#a6">ConvertStringToInt</a>(command.data(),This-><a class="code" href="classG4UIWin32.html#r11">fHelpChoice</a>); |
---|
466 | 00613 } <span class="keywordflow">else</span> { |
---|
467 | 00614 This-><a class="code" href="classG4UIWin32.html#r12">fHistory</a>.push_back(command); |
---|
468 | 00615 This-><a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a> = -1; |
---|
469 | 00616 This-><a class="code" href="classG4VBasicShell.html#b10">ApplyShellCommand</a> (command,exitSession,exitPause); |
---|
470 | 00617 } |
---|
471 | 00618 } |
---|
472 | 00619 |
---|
473 | 00620 }<span class="keywordflow">break</span>; |
---|
474 | 00621 <span class="keywordflow">case</span> VK_TAB:{ |
---|
475 | 00622 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong( |
---|
476 | 00623 GetParent(a_window),GWL_USERDATA); |
---|
477 | 00624 <span class="keywordflow">if</span>( (This!=NULL) && (This-><a class="code" href="classG4UIWin32.html#r10">fHelp</a>==<span class="keyword">true</span>) ) <span class="keywordflow">break</span>; |
---|
478 | 00625 <span class="keywordtype">char</span> buffer[128]; |
---|
479 | 00626 Edit_GetText(a_window,buffer,128); |
---|
480 | 00627 |
---|
481 | 00628 G4String command(buffer); |
---|
482 | 00629 |
---|
483 | 00630 <span class="keywordflow">if</span>(This!=NULL) { |
---|
484 | 00631 G4String cmd = This-><a class="code" href="classG4VBasicShell.html#b5">Complete</a>(command); |
---|
485 | 00632 <span class="keyword">const</span> <span class="keywordtype">char</span>* d = cmd.data(); |
---|
486 | 00633 <span class="keywordtype">int</span> l = strlen(d); |
---|
487 | 00634 Edit_SetText(a_window,d); |
---|
488 | 00635 Edit_SetSel(a_window,l,l); |
---|
489 | 00636 } |
---|
490 | 00637 |
---|
491 | 00638 }<span class="keywordflow">break</span>; |
---|
492 | 00639 <span class="keywordflow">case</span> VK_UP:{ |
---|
493 | 00640 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong( |
---|
494 | 00641 GetParent(a_window),GWL_USERDATA); |
---|
495 | 00642 <span class="keywordflow">if</span>(This!=NULL) { |
---|
496 | 00643 <span class="keywordtype">int</span> pos = This-><a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a>== -1 ? |
---|
497 | 00644 This-><a class="code" href="classG4UIWin32.html#r12">fHistory</a>.size()-1 : This-><a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a>-1; |
---|
498 | 00645 <span class="keywordflow">if</span>((pos>=0)&&(pos<(<span class="keywordtype">int</span>)This-><a class="code" href="classG4UIWin32.html#r12">fHistory</a>.size())) { |
---|
499 | 00646 G4String command = This-><a class="code" href="classG4UIWin32.html#r12">fHistory</a>[pos]; |
---|
500 | 00647 <span class="keyword">const</span> <span class="keywordtype">char</span>* d = command.data(); |
---|
501 | 00648 <span class="keywordtype">int</span> l = strlen(d); |
---|
502 | 00649 Edit_SetText(a_window,d); |
---|
503 | 00650 Edit_SetSel(a_window,l,l); |
---|
504 | 00651 <span class="comment">//</span> |
---|
505 | 00652 This-><a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a> = pos; |
---|
506 | 00653 } |
---|
507 | 00654 } |
---|
508 | 00655 }<span class="keywordflow">return</span> 0; <span class="comment">//Do not jump into oldEditProc.</span> |
---|
509 | 00656 <span class="keywordflow">case</span> VK_DOWN:{ |
---|
510 | 00657 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong( |
---|
511 | 00658 GetParent(a_window),GWL_USERDATA); |
---|
512 | 00659 <span class="keywordflow">if</span>(This!=NULL) { |
---|
513 | 00660 <span class="keywordtype">int</span> pos = This-><a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a> + 1; |
---|
514 | 00661 <span class="keywordflow">if</span>((pos>=0)&&(pos<(<span class="keywordtype">int</span>)This-><a class="code" href="classG4UIWin32.html#r12">fHistory</a>.size())) { |
---|
515 | 00662 G4String command = This-><a class="code" href="classG4UIWin32.html#r12">fHistory</a>[pos]; |
---|
516 | 00663 <span class="keyword">const</span> <span class="keywordtype">char</span>* d = command.data(); |
---|
517 | 00664 <span class="keywordtype">int</span> l = strlen(d); |
---|
518 | 00665 Edit_SetText(a_window,d); |
---|
519 | 00666 Edit_SetSel(a_window,l,l); |
---|
520 | 00667 <span class="comment">//</span> |
---|
521 | 00668 This-><a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a> = pos; |
---|
522 | 00669 } <span class="keywordflow">else</span> <span class="keywordflow">if</span>(pos>=(<span class="keywordtype">int</span>)This-><a class="code" href="classG4UIWin32.html#r12">fHistory</a>.size()) { |
---|
523 | 00670 Edit_SetText(a_window,<span class="stringliteral">""</span>); |
---|
524 | 00671 Edit_SetSel(a_window,0,0); |
---|
525 | 00672 <span class="comment">//</span> |
---|
526 | 00673 This-><a class="code" href="classG4UIWin32.html#r13">fHistoryPos</a> = -1; |
---|
527 | 00674 } |
---|
528 | 00675 } |
---|
529 | 00676 }<span class="keywordflow">return</span> 0; <span class="comment">//Do not jump into oldEditProc.</span> |
---|
530 | 00677 } |
---|
531 | 00678 } |
---|
532 | 00679 <span class="keywordflow">return</span> CallWindowProc(oldEditWindowProc, |
---|
533 | 00680 a_window,a_message, |
---|
534 | 00681 a_wParam,a_lParam); |
---|
535 | 00682 } |
---|
536 | </pre></div> </td> |
---|
537 | </tr> |
---|
538 | </table> |
---|
539 | |
---|
540 | <p> |
---|
541 | Here is the call graph for this function:<p><center><img src="classG4UIWin32_h2_cgraph.png" border="0" usemap="#classG4UIWin32_h2_cgraph_map" alt=""></center> |
---|
542 | <map name="classG4UIWin32_h2_cgraph_map"> |
---|
543 | <area href="classG4VBasicShell.html#b10" shape="rect" coords="253,8,496,34" alt=""> |
---|
544 | <area href="classG4VBasicShell.html#b5" shape="rect" coords="288,58,461,85" alt=""> |
---|
545 | <area href="G4UIXm_8cc.html#a6" shape="rect" coords="308,109,441,136" alt=""> |
---|
546 | </map> |
---|
547 | <a class="anchor" name="d2" doxytag="G4UIWin32::ExitHelp" ></a><p> |
---|
548 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
549 | <tr> |
---|
550 | <td class="mdRow"> |
---|
551 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
552 | <tr> |
---|
553 | <td class="md" nowrap valign="top"> void G4UIWin32::ExitHelp </td> |
---|
554 | <td class="md" valign="top">( </td> |
---|
555 | <td class="mdname1" valign="top" nowrap> </td> |
---|
556 | <td class="md" valign="top"> ) </td> |
---|
557 | <td class="md" nowrap><code> [private, virtual]</code></td> |
---|
558 | </tr> |
---|
559 | |
---|
560 | </table> |
---|
561 | </td> |
---|
562 | </tr> |
---|
563 | </table> |
---|
564 | <table cellspacing=5 cellpadding=0 border=0> |
---|
565 | <tr> |
---|
566 | <td> |
---|
567 | |
---|
568 | </td> |
---|
569 | <td> |
---|
570 | |
---|
571 | <p> |
---|
572 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
573 | <p> |
---|
574 | Implements <a class="el" href="classG4VBasicShell.html#b9">G4VBasicShell</a>. |
---|
575 | <p> |
---|
576 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00382">382</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
577 | <p> |
---|
578 | <div class="fragment"><pre>00386 { |
---|
579 | 00387 } |
---|
580 | </pre></div> </td> |
---|
581 | </tr> |
---|
582 | </table> |
---|
583 | <a class="anchor" name="a10" doxytag="G4UIWin32::GetCommand" ></a><p> |
---|
584 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
585 | <tr> |
---|
586 | <td class="mdRow"> |
---|
587 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
588 | <tr> |
---|
589 | <td class="md" nowrap valign="top"> G4String G4UIWin32::GetCommand </td> |
---|
590 | <td class="md" valign="top">( </td> |
---|
591 | <td class="md" nowrap valign="top">int </td> |
---|
592 | <td class="mdname1" valign="top" nowrap> <em>a_id</em> </td> |
---|
593 | <td class="md" valign="top"> ) </td> |
---|
594 | <td class="md" nowrap></td> |
---|
595 | </tr> |
---|
596 | |
---|
597 | </table> |
---|
598 | </td> |
---|
599 | </tr> |
---|
600 | </table> |
---|
601 | <table cellspacing=5 cellpadding=0 border=0> |
---|
602 | <tr> |
---|
603 | <td> |
---|
604 | |
---|
605 | </td> |
---|
606 | <td> |
---|
607 | |
---|
608 | <p> |
---|
609 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
610 | <p> |
---|
611 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00424">424</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
612 | <p> |
---|
613 | References <a class="el" href="G4UIWin32_8hh-source.html#l00100">commands</a>. |
---|
614 | <p> |
---|
615 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>. |
---|
616 | <p> |
---|
617 | <div class="fragment"><pre>00429 { |
---|
618 | 00430 <span class="keywordflow">return</span> <a class="code" href="classG4UIWin32.html#r6">commands</a>[a_id]; |
---|
619 | 00431 } |
---|
620 | </pre></div> </td> |
---|
621 | </tr> |
---|
622 | </table> |
---|
623 | <a class="anchor" name="d1" doxytag="G4UIWin32::GetHelpChoice" ></a><p> |
---|
624 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
625 | <tr> |
---|
626 | <td class="mdRow"> |
---|
627 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
628 | <tr> |
---|
629 | <td class="md" nowrap valign="top"> G4bool G4UIWin32::GetHelpChoice </td> |
---|
630 | <td class="md" valign="top">( </td> |
---|
631 | <td class="md" nowrap valign="top">G4int & </td> |
---|
632 | <td class="mdname1" valign="top" nowrap> <em>aInt</em> </td> |
---|
633 | <td class="md" valign="top"> ) </td> |
---|
634 | <td class="md" nowrap><code> [private, virtual]</code></td> |
---|
635 | </tr> |
---|
636 | |
---|
637 | </table> |
---|
638 | </td> |
---|
639 | </tr> |
---|
640 | </table> |
---|
641 | <table cellspacing=5 cellpadding=0 border=0> |
---|
642 | <tr> |
---|
643 | <td> |
---|
644 | |
---|
645 | </td> |
---|
646 | <td> |
---|
647 | |
---|
648 | <p> |
---|
649 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
650 | <p> |
---|
651 | Implements <a class="el" href="classG4VBasicShell.html#b8">G4VBasicShell</a>. |
---|
652 | <p> |
---|
653 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00358">358</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
654 | <p> |
---|
655 | References <a class="el" href="G4VInteractorManager_8cc-source.html#l00178">G4VInteractorManager::DispatchEvent()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00173">exitHelp</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00106">fHelp</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00107">fHelpChoice</a>, <a class="el" href="classG4VInteractorManager.html#a22">G4VInteractorManager::GetEvent()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00096">interactorManager</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00290">Prompt()</a>. |
---|
656 | <p> |
---|
657 | <div class="fragment"><pre>00363 { |
---|
658 | 00364 <a class="code" href="classG4UIWin32.html#r10">fHelp</a> = <span class="keyword">true</span>; |
---|
659 | 00365 <span class="comment">//</span> |
---|
660 | 00366 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r0">interactorManager</a>==NULL) <span class="keywordflow">return</span> <span class="keyword">false</span>; |
---|
661 | 00367 <a class="code" href="classG4UIWin32.html#a5">Prompt</a>(<span class="stringliteral">"Help"</span>); |
---|
662 | 00368 <a class="code" href="G4UIWin32_8cc.html#a4">exitHelp</a> = <span class="keyword">false</span>; |
---|
663 | 00369 <span class="keywordtype">void</span>* event; |
---|
664 | 00370 <span class="keywordflow">while</span>((event = <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-><a class="code" href="classG4VInteractorManager.html#a22">GetEvent</a>())!=NULL) { |
---|
665 | 00371 <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-><a class="code" href="classG4VInteractorManager.html#a17">DispatchEvent</a>(event); |
---|
666 | 00372 <span class="keywordflow">if</span>(<a class="code" href="G4UIWin32_8cc.html#a4">exitHelp</a>==<span class="keyword">true</span>) <span class="keywordflow">break</span>; |
---|
667 | 00373 } |
---|
668 | 00374 <a class="code" href="classG4UIWin32.html#a5">Prompt</a>(<span class="stringliteral">"session"</span>); |
---|
669 | 00375 <span class="comment">//</span> |
---|
670 | 00376 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r10">fHelp</a>==<span class="keyword">false</span>) <span class="keywordflow">return</span> <span class="keyword">false</span>; |
---|
671 | 00377 aInt = <a class="code" href="classG4UIWin32.html#r11">fHelpChoice</a>; |
---|
672 | 00378 <a class="code" href="classG4UIWin32.html#r10">fHelp</a> = <span class="keyword">false</span>; |
---|
673 | 00379 <span class="keywordflow">return</span> <span class="keyword">true</span>; |
---|
674 | 00380 } |
---|
675 | </pre></div> </td> |
---|
676 | </tr> |
---|
677 | </table> |
---|
678 | |
---|
679 | <p> |
---|
680 | Here is the call graph for this function:<p><center><img src="classG4UIWin32_d1_cgraph.png" border="0" usemap="#classG4UIWin32_d1_cgraph_map" alt=""></center> |
---|
681 | <map name="classG4UIWin32_d1_cgraph_map"> |
---|
682 | <area href="classG4VInteractorManager.html#a17" shape="rect" coords="246,8,497,34" alt=""> |
---|
683 | <area href="classG4VInteractorManager.html#a22" shape="rect" coords="262,58,481,85" alt=""> |
---|
684 | <area href="classG4UIWin32.html#a5" shape="rect" coords="301,109,442,136" alt=""> |
---|
685 | </map> |
---|
686 | <a class="anchor" name="h0" doxytag="G4UIWin32::MainWindowProc" ></a><p> |
---|
687 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
688 | <tr> |
---|
689 | <td class="mdRow"> |
---|
690 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
691 | <tr> |
---|
692 | <td class="md" nowrap valign="top"> LRESULT CALLBACK G4UIWin32::MainWindowProc </td> |
---|
693 | <td class="md" valign="top">( </td> |
---|
694 | <td class="md" nowrap valign="top">HWND </td> |
---|
695 | <td class="mdname" nowrap> <em>a_window</em>, </td> |
---|
696 | </tr> |
---|
697 | <tr> |
---|
698 | <td></td> |
---|
699 | <td></td> |
---|
700 | <td class="md" nowrap>UINT </td> |
---|
701 | <td class="mdname" nowrap> <em>a_message</em>, </td> |
---|
702 | </tr> |
---|
703 | <tr> |
---|
704 | <td></td> |
---|
705 | <td></td> |
---|
706 | <td class="md" nowrap>WPARAM </td> |
---|
707 | <td class="mdname" nowrap> <em>a_wParam</em>, </td> |
---|
708 | </tr> |
---|
709 | <tr> |
---|
710 | <td></td> |
---|
711 | <td></td> |
---|
712 | <td class="md" nowrap>LPARAM </td> |
---|
713 | <td class="mdname" nowrap> <em>a_lParam</em></td> |
---|
714 | </tr> |
---|
715 | <tr> |
---|
716 | <td></td> |
---|
717 | <td class="md">) </td> |
---|
718 | <td class="md" colspan="2"><code> [static, private]</code></td> |
---|
719 | </tr> |
---|
720 | |
---|
721 | </table> |
---|
722 | </td> |
---|
723 | </tr> |
---|
724 | </table> |
---|
725 | <table cellspacing=5 cellpadding=0 border=0> |
---|
726 | <tr> |
---|
727 | <td> |
---|
728 | |
---|
729 | </td> |
---|
730 | <td> |
---|
731 | |
---|
732 | <p> |
---|
733 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
734 | <p> |
---|
735 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00435">435</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
736 | <p> |
---|
737 | References <a class="el" href="G4VBasicShell_8cc-source.html#l00286">G4VBasicShell::ApplyShellCommand()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00098">editWindow</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00587">EditWindowProc()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00172">exitPause</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00171">exitSession</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00106">fHelp</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00424">GetCommand()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00176">oldEditWindowProc</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00101">textBuffer</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00170">textClassName</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00102">textCols</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00102">textRows</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00098">textWindow</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00174">tmpSession</a>. |
---|
738 | <p> |
---|
739 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>. |
---|
740 | <p> |
---|
741 | <div class="fragment"><pre>00443 { |
---|
742 | 00444 <span class="keyword">static</span> <span class="keywordtype">short</span> charWidth,charHeight; |
---|
743 | 00445 |
---|
744 | 00446 <span class="keywordflow">switch</span> (a_message) { |
---|
745 | 00447 <span class="keywordflow">case</span> WM_CREATE:{ |
---|
746 | 00448 HDC hdc; |
---|
747 | 00449 TEXTMETRIC tm; |
---|
748 | 00450 RECT rect; |
---|
749 | 00451 GetWindowRect (a_window,&rect); |
---|
750 | 00452 |
---|
751 | 00453 hdc = GetDC (a_window); |
---|
752 | 00454 GetTextMetrics (hdc,&tm); |
---|
753 | 00455 charWidth = (<span class="keywordtype">short</span>)tm.tmAveCharWidth; |
---|
754 | 00456 charHeight = (<span class="keywordtype">short</span>)(tm.tmHeight + tm.tmExternalLeading); |
---|
755 | 00457 ReleaseDC (a_window,hdc); |
---|
756 | 00458 |
---|
757 | 00459 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)<a class="code" href="G4UIWin32_8cc.html#a5">tmpSession</a>; |
---|
758 | 00460 <span class="keywordflow">if</span>(This!=NULL) { |
---|
759 | 00461 This-><a class="code" href="classG4UIWin32.html#r2">textWindow</a> = CreateWindow (textClassName,NULL, |
---|
760 | 00462 WS_CHILD | WS_VISIBLE | WS_VSCROLL, |
---|
761 | 00463 0,0, |
---|
762 | 00464 This-><a class="code" href="classG4UIWin32.html#r9">textCols</a> * charWidth, |
---|
763 | 00465 This-><a class="code" href="classG4UIWin32.html#r8">textRows</a> * charHeight, |
---|
764 | 00466 a_window,NULL, |
---|
765 | 00467 GetWindowInstance(a_window), |
---|
766 | 00468 NULL); |
---|
767 | 00469 ::SetWindowLong (This-><a class="code" href="classG4UIWin32.html#r2">textWindow</a>,GWL_USERDATA,LONG(This)); |
---|
768 | 00470 |
---|
769 | 00471 This-><a class="code" href="classG4UIWin32.html#r3">editWindow</a> = CreateWindow (<span class="stringliteral">"edit"</span>,NULL, |
---|
770 | 00472 WS_CHILD | WS_VISIBLE | WS_BORDER, |
---|
771 | 00473 0,This-><a class="code" href="classG4UIWin32.html#r8">textRows</a> * charHeight, |
---|
772 | 00474 This-><a class="code" href="classG4UIWin32.html#r9">textCols</a> * charWidth,charHeight, |
---|
773 | 00475 a_window,(HMENU)1, |
---|
774 | 00476 GetWindowInstance(a_window), |
---|
775 | 00477 NULL); |
---|
776 | 00478 <a class="code" href="G4UIWin32_8cc.html#a6">oldEditWindowProc</a> = (WNDPROC)GetWindowLong(This-><a class="code" href="classG4UIWin32.html#r3">editWindow</a>,GWL_WNDPROC); |
---|
777 | 00479 SetWindowLong (This-><a class="code" href="classG4UIWin32.html#r3">editWindow</a>,GWL_WNDPROC,(LONG)EditWindowProc); |
---|
778 | 00480 |
---|
779 | 00481 MoveWindow (a_window, |
---|
780 | 00482 rect.left,rect.top, |
---|
781 | 00483 2 * GetSystemMetrics(SM_CXFRAME) + |
---|
782 | 00484 This-><a class="code" href="classG4UIWin32.html#r9">textCols</a> * charWidth, |
---|
783 | 00485 GetSystemMetrics(SM_CYCAPTION) + |
---|
784 | 00486 2 * GetSystemMetrics(SM_CYFRAME) + |
---|
785 | 00487 This-><a class="code" href="classG4UIWin32.html#r8">textRows</a> * charHeight + charHeight, |
---|
786 | 00488 TRUE); |
---|
787 | 00489 } |
---|
788 | 00490 }<span class="keywordflow">return</span> 0; |
---|
789 | 00491 <span class="keywordflow">case</span> WM_SIZE:{ |
---|
790 | 00492 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(a_window,GWL_USERDATA); |
---|
791 | 00493 <span class="keywordflow">if</span>(This!=NULL) { |
---|
792 | 00494 <span class="comment">// Client size :</span> |
---|
793 | 00495 <span class="keywordtype">int</span> width = LOWORD(a_lParam); |
---|
794 | 00496 <span class="keywordtype">int</span> height = HIWORD(a_lParam); |
---|
795 | 00497 <span class="keywordtype">int</span> editHeight = <span class="comment">/*2 * GetSystemMetrics(SM_CYBORDER) + */</span> charHeight; |
---|
796 | 00498 MoveWindow (This-><a class="code" href="classG4UIWin32.html#r2">textWindow</a>, |
---|
797 | 00499 0,0, |
---|
798 | 00500 width,height - editHeight, |
---|
799 | 00501 FALSE); |
---|
800 | 00502 MoveWindow (This-><a class="code" href="classG4UIWin32.html#r3">editWindow</a>, |
---|
801 | 00503 0,height - editHeight, |
---|
802 | 00504 width,charHeight, |
---|
803 | 00505 FALSE); |
---|
804 | 00506 ((<a class="code" href="classTextBuffer.html">TextBuffer</a>*)This-><a class="code" href="classG4UIWin32.html#r7">textBuffer</a>)->SetHeightOfPage(height/charHeight); |
---|
805 | 00507 } |
---|
806 | 00508 }<span class="keywordflow">return</span> 0; |
---|
807 | 00509 <span class="keywordflow">case</span> WM_SETFOCUS:{ |
---|
808 | 00510 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(a_window,GWL_USERDATA); |
---|
809 | 00511 <span class="keywordflow">if</span>(This!=NULL) SetFocus (This-><a class="code" href="classG4UIWin32.html#r3">editWindow</a>); |
---|
810 | 00512 }<span class="keywordflow">return</span> 0; |
---|
811 | 00513 <span class="keywordflow">case</span> WM_COMMAND:{ |
---|
812 | 00514 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(a_window,GWL_USERDATA); |
---|
813 | 00515 <span class="keywordflow">if</span>(This!=NULL) { |
---|
814 | 00516 <span class="keywordflow">if</span>(This-><a class="code" href="classG4UIWin32.html#r10">fHelp</a>==<span class="keyword">false</span>) { |
---|
815 | 00517 G4String command = This-><a class="code" href="classG4UIWin32.html#a10">GetCommand</a>(a_wParam); |
---|
816 | 00518 This-><a class="code" href="classG4VBasicShell.html#b10">ApplyShellCommand</a> (command,exitSession,exitPause); |
---|
817 | 00519 } |
---|
818 | 00520 } |
---|
819 | 00521 }<span class="keywordflow">return</span> 0; |
---|
820 | 00522 <span class="keywordflow">case</span> WM_DESTROY: |
---|
821 | 00523 PostQuitMessage(0); |
---|
822 | 00524 <span class="keywordflow">return</span> 0; |
---|
823 | 00525 } |
---|
824 | 00526 <span class="keywordflow">return</span> (DefWindowProc(a_window,a_message,a_wParam,a_lParam)); |
---|
825 | 00527 } |
---|
826 | </pre></div> </td> |
---|
827 | </tr> |
---|
828 | </table> |
---|
829 | |
---|
830 | <p> |
---|
831 | Here is the call graph for this function:<p><center><img src="classG4UIWin32_h0_cgraph.png" border="0" usemap="#classG4UIWin32_h0_cgraph_map" alt=""></center> |
---|
832 | <map name="classG4UIWin32_h0_cgraph_map"> |
---|
833 | <area href="classG4VBasicShell.html#b10" shape="rect" coords="504,33,746,60" alt=""> |
---|
834 | <area href="classG4UIWin32.html#h2" shape="rect" coords="260,58,454,85" alt=""> |
---|
835 | <area href="classG4UIWin32.html#a10" shape="rect" coords="268,109,446,136" alt=""> |
---|
836 | </map> |
---|
837 | <a class="anchor" name="a7" doxytag="G4UIWin32::PauseSessionStart" ></a><p> |
---|
838 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
839 | <tr> |
---|
840 | <td class="mdRow"> |
---|
841 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
842 | <tr> |
---|
843 | <td class="md" nowrap valign="top"> void G4UIWin32::PauseSessionStart </td> |
---|
844 | <td class="md" valign="top">( </td> |
---|
845 | <td class="md" nowrap valign="top">G4String </td> |
---|
846 | <td class="mdname1" valign="top" nowrap> <em>a_state</em> </td> |
---|
847 | <td class="md" valign="top"> ) </td> |
---|
848 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
849 | </tr> |
---|
850 | |
---|
851 | </table> |
---|
852 | </td> |
---|
853 | </tr> |
---|
854 | </table> |
---|
855 | <table cellspacing=5 cellpadding=0 border=0> |
---|
856 | <tr> |
---|
857 | <td> |
---|
858 | |
---|
859 | </td> |
---|
860 | <td> |
---|
861 | |
---|
862 | <p> |
---|
863 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
864 | <p> |
---|
865 | Implements <a class="el" href="classG4VBasicShell.html#a3">G4VBasicShell</a>. |
---|
866 | <p> |
---|
867 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00305">305</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
868 | <p> |
---|
869 | References <a class="el" href="G4UIWin32_8cc-source.html#l00321">SecondaryLoop()</a>. |
---|
870 | <p> |
---|
871 | <div class="fragment"><pre>00310 { |
---|
872 | 00311 <span class="keywordflow">if</span>(a_state==<span class="stringliteral">"G4_pause> "</span>) { |
---|
873 | 00312 <a class="code" href="classG4UIWin32.html#d0">SecondaryLoop</a> (<span class="stringliteral">"Pause, type continue to exit this state"</span>); |
---|
874 | 00313 } |
---|
875 | 00314 |
---|
876 | 00315 <span class="keywordflow">if</span>(a_state==<span class="stringliteral">"EndOfEvent"</span>) { |
---|
877 | 00316 <span class="comment">// Picking with feed back in event data Done here !!!</span> |
---|
878 | 00317 <a class="code" href="classG4UIWin32.html#d0">SecondaryLoop</a> (<span class="stringliteral">"End of event, type continue to exit this state"</span>); |
---|
879 | 00318 } |
---|
880 | 00319 } |
---|
881 | </pre></div> </td> |
---|
882 | </tr> |
---|
883 | </table> |
---|
884 | |
---|
885 | <p> |
---|
886 | Here is the call graph for this function:<p><center><img src="classG4UIWin32_a7_cgraph.png" border="0" usemap="#classG4UIWin32_a7_cgraph_map" alt=""></center> |
---|
887 | <map name="classG4UIWin32_a7_cgraph_map"> |
---|
888 | <area href="classG4UIWin32.html#d0" shape="rect" coords="270,58,460,85" alt=""> |
---|
889 | <area href="classG4VInteractorManager.html#a17" shape="rect" coords="510,8,761,34" alt=""> |
---|
890 | <area href="classG4VInteractorManager.html#a22" shape="rect" coords="526,58,745,85" alt=""> |
---|
891 | <area href="classG4UIWin32.html#a5" shape="rect" coords="565,109,706,136" alt=""> |
---|
892 | </map> |
---|
893 | <a class="anchor" name="a5" doxytag="G4UIWin32::Prompt" ></a><p> |
---|
894 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
895 | <tr> |
---|
896 | <td class="mdRow"> |
---|
897 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
898 | <tr> |
---|
899 | <td class="md" nowrap valign="top"> void G4UIWin32::Prompt </td> |
---|
900 | <td class="md" valign="top">( </td> |
---|
901 | <td class="md" nowrap valign="top">G4String </td> |
---|
902 | <td class="mdname1" valign="top" nowrap> <em>a_prompt</em> </td> |
---|
903 | <td class="md" valign="top"> ) </td> |
---|
904 | <td class="md" nowrap></td> |
---|
905 | </tr> |
---|
906 | |
---|
907 | </table> |
---|
908 | </td> |
---|
909 | </tr> |
---|
910 | </table> |
---|
911 | <table cellspacing=5 cellpadding=0 border=0> |
---|
912 | <tr> |
---|
913 | <td> |
---|
914 | |
---|
915 | </td> |
---|
916 | <td> |
---|
917 | |
---|
918 | <p> |
---|
919 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
920 | <p> |
---|
921 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00290">290</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
922 | <p> |
---|
923 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00358">GetHelpChoice()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00321">SecondaryLoop()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00272">SessionStart()</a>. |
---|
924 | <p> |
---|
925 | <div class="fragment"><pre>00295 { |
---|
926 | 00296 } |
---|
927 | </pre></div> </td> |
---|
928 | </tr> |
---|
929 | </table> |
---|
930 | <a class="anchor" name="a9" doxytag="G4UIWin32::ReceiveG4cerr" ></a><p> |
---|
931 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
932 | <tr> |
---|
933 | <td class="mdRow"> |
---|
934 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
935 | <tr> |
---|
936 | <td class="md" nowrap valign="top"> G4int G4UIWin32::ReceiveG4cerr </td> |
---|
937 | <td class="md" valign="top">( </td> |
---|
938 | <td class="md" nowrap valign="top">G4String </td> |
---|
939 | <td class="mdname1" valign="top" nowrap> <em>a_string</em> </td> |
---|
940 | <td class="md" valign="top"> ) </td> |
---|
941 | <td class="md" nowrap></td> |
---|
942 | </tr> |
---|
943 | |
---|
944 | </table> |
---|
945 | </td> |
---|
946 | </tr> |
---|
947 | </table> |
---|
948 | <table cellspacing=5 cellpadding=0 border=0> |
---|
949 | <tr> |
---|
950 | <td> |
---|
951 | |
---|
952 | </td> |
---|
953 | <td> |
---|
954 | |
---|
955 | <p> |
---|
956 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
957 | <p> |
---|
958 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00348">348</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
959 | <p> |
---|
960 | References <a class="el" href="G4UIWin32_8cc-source.html#l00684">TextAppendString()</a>. |
---|
961 | <p> |
---|
962 | <div class="fragment"><pre>00353 { |
---|
963 | 00354 <a class="code" href="classG4UIWin32.html#a11">TextAppendString</a>((<span class="keywordtype">char</span>*)a_string.data()); |
---|
964 | 00355 <span class="keywordflow">return</span> 0; |
---|
965 | 00356 } |
---|
966 | </pre></div> </td> |
---|
967 | </tr> |
---|
968 | </table> |
---|
969 | |
---|
970 | <p> |
---|
971 | Here is the call graph for this function:<p><center><img src="classG4UIWin32_a9_cgraph.png" border="0" usemap="#classG4UIWin32_a9_cgraph_map" alt=""></center> |
---|
972 | <map name="classG4UIWin32_a9_cgraph_map"> |
---|
973 | <area href="classG4UIWin32.html#a11" shape="rect" coords="242,8,445,34" alt=""> |
---|
974 | </map> |
---|
975 | <a class="anchor" name="a8" doxytag="G4UIWin32::ReceiveG4cout" ></a><p> |
---|
976 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
977 | <tr> |
---|
978 | <td class="mdRow"> |
---|
979 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
980 | <tr> |
---|
981 | <td class="md" nowrap valign="top"> G4int G4UIWin32::ReceiveG4cout </td> |
---|
982 | <td class="md" valign="top">( </td> |
---|
983 | <td class="md" nowrap valign="top">G4String </td> |
---|
984 | <td class="mdname1" valign="top" nowrap> <em>a_string</em> </td> |
---|
985 | <td class="md" valign="top"> ) </td> |
---|
986 | <td class="md" nowrap></td> |
---|
987 | </tr> |
---|
988 | |
---|
989 | </table> |
---|
990 | </td> |
---|
991 | </tr> |
---|
992 | </table> |
---|
993 | <table cellspacing=5 cellpadding=0 border=0> |
---|
994 | <tr> |
---|
995 | <td> |
---|
996 | |
---|
997 | </td> |
---|
998 | <td> |
---|
999 | |
---|
1000 | <p> |
---|
1001 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
1002 | <p> |
---|
1003 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00338">338</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
1004 | <p> |
---|
1005 | References <a class="el" href="G4UIWin32_8cc-source.html#l00684">TextAppendString()</a>. |
---|
1006 | <p> |
---|
1007 | <div class="fragment"><pre>00343 { |
---|
1008 | 00344 <a class="code" href="classG4UIWin32.html#a11">TextAppendString</a>((<span class="keywordtype">char</span>*)a_string.data()); |
---|
1009 | 00345 <span class="keywordflow">return</span> 0; |
---|
1010 | 00346 } |
---|
1011 | </pre></div> </td> |
---|
1012 | </tr> |
---|
1013 | </table> |
---|
1014 | |
---|
1015 | <p> |
---|
1016 | Here is the call graph for this function:<p><center><img src="classG4UIWin32_a8_cgraph.png" border="0" usemap="#classG4UIWin32_a8_cgraph_map" alt=""></center> |
---|
1017 | <map name="classG4UIWin32_a8_cgraph_map"> |
---|
1018 | <area href="classG4UIWin32.html#a11" shape="rect" coords="245,8,448,34" alt=""> |
---|
1019 | </map> |
---|
1020 | <a class="anchor" name="d0" doxytag="G4UIWin32::SecondaryLoop" ></a><p> |
---|
1021 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1022 | <tr> |
---|
1023 | <td class="mdRow"> |
---|
1024 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1025 | <tr> |
---|
1026 | <td class="md" nowrap valign="top"> void G4UIWin32::SecondaryLoop </td> |
---|
1027 | <td class="md" valign="top">( </td> |
---|
1028 | <td class="md" nowrap valign="top">G4String </td> |
---|
1029 | <td class="mdname1" valign="top" nowrap> <em>a_prompt</em> </td> |
---|
1030 | <td class="md" valign="top"> ) </td> |
---|
1031 | <td class="md" nowrap><code> [private]</code></td> |
---|
1032 | </tr> |
---|
1033 | |
---|
1034 | </table> |
---|
1035 | </td> |
---|
1036 | </tr> |
---|
1037 | </table> |
---|
1038 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1039 | <tr> |
---|
1040 | <td> |
---|
1041 | |
---|
1042 | </td> |
---|
1043 | <td> |
---|
1044 | |
---|
1045 | <p> |
---|
1046 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
1047 | <p> |
---|
1048 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00321">321</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
1049 | <p> |
---|
1050 | References <a class="el" href="G4VInteractorManager_8cc-source.html#l00178">G4VInteractorManager::DispatchEvent()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00172">exitPause</a>, <a class="el" href="classG4VInteractorManager.html#a22">G4VInteractorManager::GetEvent()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00096">interactorManager</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00290">Prompt()</a>. |
---|
1051 | <p> |
---|
1052 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00305">PauseSessionStart()</a>. |
---|
1053 | <p> |
---|
1054 | <div class="fragment"><pre>00326 { |
---|
1055 | 00327 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r0">interactorManager</a>==NULL) <span class="keywordflow">return</span>; |
---|
1056 | 00328 <a class="code" href="classG4UIWin32.html#a5">Prompt</a>(a_prompt); |
---|
1057 | 00329 <a class="code" href="G4UIWin32_8cc.html#a3">exitPause</a> = <span class="keyword">false</span>; |
---|
1058 | 00330 <span class="keywordtype">void</span>* event; |
---|
1059 | 00331 <span class="keywordflow">while</span>((event = <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-><a class="code" href="classG4VInteractorManager.html#a22">GetEvent</a>())!=NULL) { |
---|
1060 | 00332 <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-><a class="code" href="classG4VInteractorManager.html#a17">DispatchEvent</a>(event); |
---|
1061 | 00333 <span class="keywordflow">if</span>(<a class="code" href="G4UIWin32_8cc.html#a3">exitPause</a>==<span class="keyword">true</span>) <span class="keywordflow">break</span>; |
---|
1062 | 00334 } |
---|
1063 | 00335 <a class="code" href="classG4UIWin32.html#a5">Prompt</a>(<span class="stringliteral">"session"</span>); |
---|
1064 | 00336 } |
---|
1065 | </pre></div> </td> |
---|
1066 | </tr> |
---|
1067 | </table> |
---|
1068 | |
---|
1069 | <p> |
---|
1070 | Here is the call graph for this function:<p><center><img src="classG4UIWin32_d0_cgraph.png" border="0" usemap="#classG4UIWin32_d0_cgraph_map" alt=""></center> |
---|
1071 | <map name="classG4UIWin32_d0_cgraph_map"> |
---|
1072 | <area href="classG4VInteractorManager.html#a17" shape="rect" coords="249,8,499,34" alt=""> |
---|
1073 | <area href="classG4VInteractorManager.html#a22" shape="rect" coords="265,58,483,85" alt=""> |
---|
1074 | <area href="classG4UIWin32.html#a5" shape="rect" coords="303,109,445,136" alt=""> |
---|
1075 | </map> |
---|
1076 | <a class="anchor" name="a1" doxytag="G4UIWin32::SessionStart" ></a><p> |
---|
1077 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1078 | <tr> |
---|
1079 | <td class="mdRow"> |
---|
1080 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1081 | <tr> |
---|
1082 | <td class="md" nowrap valign="top"> G4UIsession * G4UIWin32::SessionStart </td> |
---|
1083 | <td class="md" valign="top">( </td> |
---|
1084 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1085 | <td class="md" valign="top"> ) </td> |
---|
1086 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
1087 | </tr> |
---|
1088 | |
---|
1089 | </table> |
---|
1090 | </td> |
---|
1091 | </tr> |
---|
1092 | </table> |
---|
1093 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1094 | <tr> |
---|
1095 | <td> |
---|
1096 | |
---|
1097 | </td> |
---|
1098 | <td> |
---|
1099 | |
---|
1100 | <p> |
---|
1101 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
1102 | <p> |
---|
1103 | Implements <a class="el" href="classG4VBasicShell.html#a2">G4VBasicShell</a>. |
---|
1104 | <p> |
---|
1105 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00272">272</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
1106 | <p> |
---|
1107 | References <a class="el" href="G4VInteractorManager_8cc-source.html#l00144">G4VInteractorManager::DisableSecondaryLoop()</a>, <a class="el" href="G4VInteractorManager_8cc-source.html#l00178">G4VInteractorManager::DispatchEvent()</a>, <a class="el" href="G4VInteractorManager_8cc-source.html#l00136">G4VInteractorManager::EnableSecondaryLoop()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00171">exitSession</a>, <a class="el" href="classG4VInteractorManager.html#a22">G4VInteractorManager::GetEvent()</a>, <a class="el" href="G4UIWin32_8hh-source.html#l00096">interactorManager</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00290">Prompt()</a>. |
---|
1108 | <p> |
---|
1109 | <div class="fragment"><pre>00276 { |
---|
1110 | 00277 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r0">interactorManager</a>==NULL) <span class="keywordflow">return</span> <span class="keyword">this</span>; |
---|
1111 | 00278 <a class="code" href="classG4UIWin32.html#a5">Prompt</a> (<span class="stringliteral">"session"</span>); |
---|
1112 | 00279 <a class="code" href="G4UIWin32_8cc.html#a2">exitSession</a> = <span class="keyword">false</span>; |
---|
1113 | 00280 <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-><a class="code" href="classG4VInteractorManager.html#a13">DisableSecondaryLoop</a> (); |
---|
1114 | 00281 <span class="keywordtype">void</span>* event; |
---|
1115 | 00282 <span class="keywordflow">while</span>((event = <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-><a class="code" href="classG4VInteractorManager.html#a22">GetEvent</a>())!=NULL) { |
---|
1116 | 00283 <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-><a class="code" href="classG4VInteractorManager.html#a17">DispatchEvent</a>(event); |
---|
1117 | 00284 <span class="keywordflow">if</span>(<a class="code" href="G4UIWin32_8cc.html#a2">exitSession</a>==<span class="keyword">true</span>) <span class="keywordflow">break</span>; |
---|
1118 | 00285 } |
---|
1119 | 00286 <a class="code" href="classG4UIWin32.html#r0">interactorManager</a>-><a class="code" href="classG4VInteractorManager.html#a12">EnableSecondaryLoop</a> (); |
---|
1120 | 00287 <span class="keywordflow">return</span> <span class="keyword">this</span>; |
---|
1121 | 00288 } |
---|
1122 | </pre></div> </td> |
---|
1123 | </tr> |
---|
1124 | </table> |
---|
1125 | |
---|
1126 | <p> |
---|
1127 | Here is the call graph for this function:<p><center><img src="classG4UIWin32_a1_cgraph.png" border="0" usemap="#classG4UIWin32_a1_cgraph_map" alt=""></center> |
---|
1128 | <map name="classG4UIWin32_a1_cgraph_map"> |
---|
1129 | <area href="classG4VInteractorManager.html#a13" shape="rect" coords="230,7,531,34" alt=""> |
---|
1130 | <area href="classG4VInteractorManager.html#a17" shape="rect" coords="255,58,506,85" alt=""> |
---|
1131 | <area href="classG4VInteractorManager.html#a12" shape="rect" coords="231,109,530,135" alt=""> |
---|
1132 | <area href="classG4VInteractorManager.html#a22" shape="rect" coords="271,159,490,186" alt=""> |
---|
1133 | <area href="classG4UIWin32.html#a5" shape="rect" coords="310,210,451,237" alt=""> |
---|
1134 | </map> |
---|
1135 | <a class="anchor" name="a6" doxytag="G4UIWin32::SessionTerminate" ></a><p> |
---|
1136 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1137 | <tr> |
---|
1138 | <td class="mdRow"> |
---|
1139 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1140 | <tr> |
---|
1141 | <td class="md" nowrap valign="top"> void G4UIWin32::SessionTerminate </td> |
---|
1142 | <td class="md" valign="top">( </td> |
---|
1143 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1144 | <td class="md" valign="top"> ) </td> |
---|
1145 | <td class="md" nowrap></td> |
---|
1146 | </tr> |
---|
1147 | |
---|
1148 | </table> |
---|
1149 | </td> |
---|
1150 | </tr> |
---|
1151 | </table> |
---|
1152 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1153 | <tr> |
---|
1154 | <td> |
---|
1155 | |
---|
1156 | </td> |
---|
1157 | <td> |
---|
1158 | |
---|
1159 | <p> |
---|
1160 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
1161 | <p> |
---|
1162 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00298">298</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
1163 | <p> |
---|
1164 | <div class="fragment"><pre>00302 { |
---|
1165 | 00303 } |
---|
1166 | </pre></div> </td> |
---|
1167 | </tr> |
---|
1168 | </table> |
---|
1169 | <a class="anchor" name="a11" doxytag="G4UIWin32::TextAppendString" ></a><p> |
---|
1170 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1171 | <tr> |
---|
1172 | <td class="mdRow"> |
---|
1173 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1174 | <tr> |
---|
1175 | <td class="md" nowrap valign="top"> void G4UIWin32::TextAppendString </td> |
---|
1176 | <td class="md" valign="top">( </td> |
---|
1177 | <td class="md" nowrap valign="top">char * </td> |
---|
1178 | <td class="mdname1" valign="top" nowrap> <em>a_string</em> </td> |
---|
1179 | <td class="md" valign="top"> ) </td> |
---|
1180 | <td class="md" nowrap></td> |
---|
1181 | </tr> |
---|
1182 | |
---|
1183 | </table> |
---|
1184 | </td> |
---|
1185 | </tr> |
---|
1186 | </table> |
---|
1187 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1188 | <tr> |
---|
1189 | <td> |
---|
1190 | |
---|
1191 | </td> |
---|
1192 | <td> |
---|
1193 | |
---|
1194 | <p> |
---|
1195 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
1196 | <p> |
---|
1197 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00684">684</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
1198 | <p> |
---|
1199 | References <a class="el" href="G4UIWin32_8hh-source.html#l00101">textBuffer</a>, and <a class="el" href="G4UIWin32_8hh-source.html#l00098">textWindow</a>. |
---|
1200 | <p> |
---|
1201 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00348">ReceiveG4cerr()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00338">ReceiveG4cout()</a>. |
---|
1202 | <p> |
---|
1203 | <div class="fragment"><pre>00689 { |
---|
1204 | 00690 <span class="keywordflow">if</span>( (a_string==NULL) || (a_string[0]==<span class="charliteral">'\0'</span>) ) <span class="keywordflow">return</span>; |
---|
1205 | 00691 <span class="keywordflow">if</span>(<a class="code" href="classG4UIWin32.html#r2">textWindow</a>==NULL) <span class="keywordflow">return</span>; |
---|
1206 | 00692 <span class="keywordflow">if</span>(((<a class="code" href="classTextBuffer.html">TextBuffer</a>*)<a class="code" href="classG4UIWin32.html#r7">textBuffer</a>)->AppendString(a_string)==<span class="keyword">true</span>) { |
---|
1207 | 00693 <span class="comment">// The appending triggers and end of line, and then updates window :</span> |
---|
1208 | 00694 RECT rect; |
---|
1209 | 00695 GetClientRect(textWindow,&rect); |
---|
1210 | 00696 InvalidateRect(textWindow,NULL,TRUE); <span class="comment">//To erase background.</span> |
---|
1211 | 00697 HDC hdc = GetDC(textWindow); |
---|
1212 | 00698 ((<a class="code" href="classTextBuffer.html">TextBuffer</a>*)<a class="code" href="classG4UIWin32.html#r7">textBuffer</a>)->Draw(hdc,&rect); |
---|
1213 | 00699 ReleaseDC (textWindow,hdc); |
---|
1214 | 00700 <span class="keywordtype">int</span> linen = ((<a class="code" href="classTextBuffer.html">TextBuffer</a>*)<a class="code" href="classG4UIWin32.html#r7">textBuffer</a>)->GetNumberOfLines(); |
---|
1215 | 00701 SetScrollRange(textWindow,SB_VERT,0,linen-1,TRUE); |
---|
1216 | 00702 SetScrollPos(textWindow,SB_VERT,linen-1,TRUE); |
---|
1217 | 00703 } |
---|
1218 | 00704 } |
---|
1219 | </pre></div> </td> |
---|
1220 | </tr> |
---|
1221 | </table> |
---|
1222 | <a class="anchor" name="h1" doxytag="G4UIWin32::TextWindowProc" ></a><p> |
---|
1223 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1224 | <tr> |
---|
1225 | <td class="mdRow"> |
---|
1226 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1227 | <tr> |
---|
1228 | <td class="md" nowrap valign="top"> LRESULT CALLBACK G4UIWin32::TextWindowProc </td> |
---|
1229 | <td class="md" valign="top">( </td> |
---|
1230 | <td class="md" nowrap valign="top">HWND </td> |
---|
1231 | <td class="mdname" nowrap> <em>a_window</em>, </td> |
---|
1232 | </tr> |
---|
1233 | <tr> |
---|
1234 | <td></td> |
---|
1235 | <td></td> |
---|
1236 | <td class="md" nowrap>UINT </td> |
---|
1237 | <td class="mdname" nowrap> <em>a_message</em>, </td> |
---|
1238 | </tr> |
---|
1239 | <tr> |
---|
1240 | <td></td> |
---|
1241 | <td></td> |
---|
1242 | <td class="md" nowrap>WPARAM </td> |
---|
1243 | <td class="mdname" nowrap> <em>a_wParam</em>, </td> |
---|
1244 | </tr> |
---|
1245 | <tr> |
---|
1246 | <td></td> |
---|
1247 | <td></td> |
---|
1248 | <td class="md" nowrap>LPARAM </td> |
---|
1249 | <td class="mdname" nowrap> <em>a_lParam</em></td> |
---|
1250 | </tr> |
---|
1251 | <tr> |
---|
1252 | <td></td> |
---|
1253 | <td class="md">) </td> |
---|
1254 | <td class="md" colspan="2"><code> [static, private]</code></td> |
---|
1255 | </tr> |
---|
1256 | |
---|
1257 | </table> |
---|
1258 | </td> |
---|
1259 | </tr> |
---|
1260 | </table> |
---|
1261 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1262 | <tr> |
---|
1263 | <td> |
---|
1264 | |
---|
1265 | </td> |
---|
1266 | <td> |
---|
1267 | |
---|
1268 | <p> |
---|
1269 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
1270 | <p> |
---|
1271 | Definition at line <a class="el" href="G4UIWin32_8cc-source.html#l00529">529</a> of file <a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a>. |
---|
1272 | <p> |
---|
1273 | References <a class="el" href="G4UIWin32_8cc-source.html#l00108">TextBuffer::DecrementEndOfPage()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00149">TextBuffer::Draw()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00064">TextBuffer::GetEndOfPage()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00102">TextBuffer::IncrementEndOfPage()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00114">TextBuffer::JumpDownEndOfPage()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00120">TextBuffer::JumpUpEndOfPage()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00093">TextBuffer::SetEndOfPage()</a>, and <a class="el" href="G4UIWin32_8hh-source.html#l00101">textBuffer</a>. |
---|
1274 | <p> |
---|
1275 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>. |
---|
1276 | <p> |
---|
1277 | <div class="fragment"><pre>00537 { |
---|
1278 | 00538 <span class="keywordflow">switch</span> (a_message) { |
---|
1279 | 00539 <span class="keywordflow">case</span> WM_PAINT:{ |
---|
1280 | 00540 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(a_window,GWL_USERDATA); |
---|
1281 | 00541 <span class="keywordflow">if</span>(This!=NULL) { |
---|
1282 | 00542 <a class="code" href="classTextBuffer.html">TextBuffer</a>* <a class="code" href="classG4UIWin32.html#r7">textBuffer</a> = (<a class="code" href="classTextBuffer.html">TextBuffer</a>*)This-><a class="code" href="classG4UIWin32.html#r7">textBuffer</a>; |
---|
1283 | 00543 RECT rect; |
---|
1284 | 00544 GetClientRect (a_window,&rect); |
---|
1285 | 00545 PAINTSTRUCT ps; |
---|
1286 | 00546 HDC hdc = BeginPaint(a_window,&ps); |
---|
1287 | 00547 textBuffer-><a class="code" href="classTextBuffer.html#a11">Draw</a>(hdc,&rect); |
---|
1288 | 00548 EndPaint(a_window,&ps); |
---|
1289 | 00549 } |
---|
1290 | 00550 }<span class="keywordflow">return</span> 0; |
---|
1291 | 00551 <span class="keywordflow">case</span> WM_VSCROLL:{ |
---|
1292 | 00552 <a class="code" href="classG4UIWin32.html">G4UIWin32</a>* This = (<a class="code" href="classG4UIWin32.html">G4UIWin32</a>*)::GetWindowLong(a_window,GWL_USERDATA); |
---|
1293 | 00553 <span class="keywordflow">if</span>(This!=NULL) { |
---|
1294 | 00554 <a class="code" href="classTextBuffer.html">TextBuffer</a>* <a class="code" href="classG4UIWin32.html#r7">textBuffer</a> = (<a class="code" href="classTextBuffer.html">TextBuffer</a>*)This-><a class="code" href="classG4UIWin32.html#r7">textBuffer</a>; |
---|
1295 | 00555 <span class="keywordtype">int</span> what = LOWORD(a_wParam); |
---|
1296 | 00556 <span class="keywordflow">switch</span>(what) { |
---|
1297 | 00557 <span class="keywordflow">case</span> SB_LINEUP: |
---|
1298 | 00558 textBuffer-><a class="code" href="classTextBuffer.html#a7">DecrementEndOfPage</a>(); |
---|
1299 | 00559 <span class="keywordflow">break</span>; |
---|
1300 | 00560 <span class="keywordflow">case</span> SB_LINEDOWN: |
---|
1301 | 00561 textBuffer-><a class="code" href="classTextBuffer.html#a6">IncrementEndOfPage</a>(); |
---|
1302 | 00562 <span class="keywordflow">break</span>; |
---|
1303 | 00563 <span class="keywordflow">case</span> SB_PAGEUP: |
---|
1304 | 00564 textBuffer-><a class="code" href="classTextBuffer.html#a9">JumpUpEndOfPage</a>(); |
---|
1305 | 00565 <span class="keywordflow">break</span>; |
---|
1306 | 00566 <span class="keywordflow">case</span> SB_PAGEDOWN: |
---|
1307 | 00567 textBuffer-><a class="code" href="classTextBuffer.html#a8">JumpDownEndOfPage</a>(); |
---|
1308 | 00568 <span class="keywordflow">break</span>; |
---|
1309 | 00569 <span class="keywordflow">case</span> SB_THUMBPOSITION: |
---|
1310 | 00570 <span class="keywordflow">case</span> SB_THUMBTRACK: |
---|
1311 | 00571 textBuffer-><a class="code" href="classTextBuffer.html#a4">SetEndOfPage</a>(HIWORD(a_wParam)); |
---|
1312 | 00572 <span class="keywordflow">break</span>; |
---|
1313 | 00573 <span class="keywordflow">default</span>: |
---|
1314 | 00574 <span class="keywordflow">return</span> 0; |
---|
1315 | 00575 } |
---|
1316 | 00576 <span class="keywordtype">int</span> eop = textBuffer-><a class="code" href="classTextBuffer.html#a5">GetEndOfPage</a>(); |
---|
1317 | 00577 SetScrollPos(a_window,SB_VERT,eop,TRUE); |
---|
1318 | 00578 InvalidateRect(a_window,NULL,TRUE); |
---|
1319 | 00579 }}<span class="keywordflow">return</span> 0; |
---|
1320 | 00580 <span class="keywordflow">case</span> WM_DESTROY: |
---|
1321 | 00581 PostQuitMessage(0); |
---|
1322 | 00582 <span class="keywordflow">return</span> 0; |
---|
1323 | 00583 } |
---|
1324 | 00584 <span class="keywordflow">return</span> (DefWindowProc(a_window,a_message,a_wParam,a_lParam)); |
---|
1325 | 00585 } |
---|
1326 | </pre></div> </td> |
---|
1327 | </tr> |
---|
1328 | </table> |
---|
1329 | |
---|
1330 | <p> |
---|
1331 | Here is the call graph for this function:<p><center><img src="classG4UIWin32_h1_cgraph.png" border="0" usemap="#classG4UIWin32_h1_cgraph_map" alt=""></center> |
---|
1332 | <map name="classG4UIWin32_h1_cgraph_map"> |
---|
1333 | <area href="classTextBuffer.html#a7" shape="rect" coords="254,8,475,34" alt=""> |
---|
1334 | <area href="classTextBuffer.html#a11" shape="rect" coords="306,58,423,85" alt=""> |
---|
1335 | <area href="classTextBuffer.html#a5" shape="rect" coords="277,109,453,136" alt=""> |
---|
1336 | <area href="classTextBuffer.html#a6" shape="rect" coords="257,160,473,186" alt=""> |
---|
1337 | <area href="classTextBuffer.html#a8" shape="rect" coords="254,210,475,237" alt=""> |
---|
1338 | <area href="classTextBuffer.html#a9" shape="rect" coords="262,261,467,288" alt=""> |
---|
1339 | <area href="classTextBuffer.html#a4" shape="rect" coords="277,312,453,338" alt=""> |
---|
1340 | </map> |
---|
1341 | <hr><h2>Member Data Documentation</h2> |
---|
1342 | <a class="anchor" name="r6" doxytag="G4UIWin32::commands" ></a><p> |
---|
1343 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1344 | <tr> |
---|
1345 | <td class="mdRow"> |
---|
1346 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1347 | <tr> |
---|
1348 | <td class="md" nowrap valign="top"> std::map<int,G4String, std::less<int> > <a class="el" href="classG4UIWin32.html#r6">G4UIWin32::commands</a><code> [private]</code> |
---|
1349 | </table> |
---|
1350 | </td> |
---|
1351 | </tr> |
---|
1352 | </table> |
---|
1353 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1354 | <tr> |
---|
1355 | <td> |
---|
1356 | |
---|
1357 | </td> |
---|
1358 | <td> |
---|
1359 | |
---|
1360 | <p> |
---|
1361 | |
---|
1362 | <p> |
---|
1363 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00100">100</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1364 | <p> |
---|
1365 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00407">AddButton()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00424">GetCommand()</a>. </td> |
---|
1366 | </tr> |
---|
1367 | </table> |
---|
1368 | <a class="anchor" name="r5" doxytag="G4UIWin32::defaultMenu" ></a><p> |
---|
1369 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1370 | <tr> |
---|
1371 | <td class="mdRow"> |
---|
1372 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1373 | <tr> |
---|
1374 | <td class="md" nowrap valign="top"> HMENU <a class="el" href="classG4UIWin32.html#r5">G4UIWin32::defaultMenu</a><code> [private]</code> |
---|
1375 | </table> |
---|
1376 | </td> |
---|
1377 | </tr> |
---|
1378 | </table> |
---|
1379 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1380 | <tr> |
---|
1381 | <td> |
---|
1382 | |
---|
1383 | </td> |
---|
1384 | <td> |
---|
1385 | |
---|
1386 | <p> |
---|
1387 | |
---|
1388 | <p> |
---|
1389 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00099">99</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1390 | <p> |
---|
1391 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00389">AddMenu()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>. </td> |
---|
1392 | </tr> |
---|
1393 | </table> |
---|
1394 | <a class="anchor" name="r3" doxytag="G4UIWin32::editWindow" ></a><p> |
---|
1395 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1396 | <tr> |
---|
1397 | <td class="mdRow"> |
---|
1398 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1399 | <tr> |
---|
1400 | <td class="md" nowrap valign="top"> HWND <a class="el" href="classG4UIWin32.html#r3">G4UIWin32::editWindow</a><code> [private]</code> |
---|
1401 | </table> |
---|
1402 | </td> |
---|
1403 | </tr> |
---|
1404 | </table> |
---|
1405 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1406 | <tr> |
---|
1407 | <td> |
---|
1408 | |
---|
1409 | </td> |
---|
1410 | <td> |
---|
1411 | |
---|
1412 | <p> |
---|
1413 | |
---|
1414 | <p> |
---|
1415 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00098">98</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1416 | <p> |
---|
1417 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>. </td> |
---|
1418 | </tr> |
---|
1419 | </table> |
---|
1420 | <a class="anchor" name="r10" doxytag="G4UIWin32::fHelp" ></a><p> |
---|
1421 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1422 | <tr> |
---|
1423 | <td class="mdRow"> |
---|
1424 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1425 | <tr> |
---|
1426 | <td class="md" nowrap valign="top"> G4bool <a class="el" href="classG4UIWin32.html#r10">G4UIWin32::fHelp</a><code> [private]</code> |
---|
1427 | </table> |
---|
1428 | </td> |
---|
1429 | </tr> |
---|
1430 | </table> |
---|
1431 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1432 | <tr> |
---|
1433 | <td> |
---|
1434 | |
---|
1435 | </td> |
---|
1436 | <td> |
---|
1437 | |
---|
1438 | <p> |
---|
1439 | |
---|
1440 | <p> |
---|
1441 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00106">106</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1442 | <p> |
---|
1443 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00587">EditWindowProc()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00358">GetHelpChoice()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>. </td> |
---|
1444 | </tr> |
---|
1445 | </table> |
---|
1446 | <a class="anchor" name="r11" doxytag="G4UIWin32::fHelpChoice" ></a><p> |
---|
1447 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1448 | <tr> |
---|
1449 | <td class="mdRow"> |
---|
1450 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1451 | <tr> |
---|
1452 | <td class="md" nowrap valign="top"> G4int <a class="el" href="classG4UIWin32.html#r11">G4UIWin32::fHelpChoice</a><code> [private]</code> |
---|
1453 | </table> |
---|
1454 | </td> |
---|
1455 | </tr> |
---|
1456 | </table> |
---|
1457 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1458 | <tr> |
---|
1459 | <td> |
---|
1460 | |
---|
1461 | </td> |
---|
1462 | <td> |
---|
1463 | |
---|
1464 | <p> |
---|
1465 | |
---|
1466 | <p> |
---|
1467 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00107">107</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1468 | <p> |
---|
1469 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00587">EditWindowProc()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00358">GetHelpChoice()</a>. </td> |
---|
1470 | </tr> |
---|
1471 | </table> |
---|
1472 | <a class="anchor" name="r12" doxytag="G4UIWin32::fHistory" ></a><p> |
---|
1473 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1474 | <tr> |
---|
1475 | <td class="mdRow"> |
---|
1476 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1477 | <tr> |
---|
1478 | <td class="md" nowrap valign="top"> std::vector<G4String> <a class="el" href="classG4UIWin32.html#r12">G4UIWin32::fHistory</a><code> [private]</code> |
---|
1479 | </table> |
---|
1480 | </td> |
---|
1481 | </tr> |
---|
1482 | </table> |
---|
1483 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1484 | <tr> |
---|
1485 | <td> |
---|
1486 | |
---|
1487 | </td> |
---|
1488 | <td> |
---|
1489 | |
---|
1490 | <p> |
---|
1491 | |
---|
1492 | <p> |
---|
1493 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00108">108</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1494 | <p> |
---|
1495 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00587">EditWindowProc()</a>. </td> |
---|
1496 | </tr> |
---|
1497 | </table> |
---|
1498 | <a class="anchor" name="r13" doxytag="G4UIWin32::fHistoryPos" ></a><p> |
---|
1499 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1500 | <tr> |
---|
1501 | <td class="mdRow"> |
---|
1502 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1503 | <tr> |
---|
1504 | <td class="md" nowrap valign="top"> int <a class="el" href="classG4UIWin32.html#r13">G4UIWin32::fHistoryPos</a><code> [private]</code> |
---|
1505 | </table> |
---|
1506 | </td> |
---|
1507 | </tr> |
---|
1508 | </table> |
---|
1509 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1510 | <tr> |
---|
1511 | <td> |
---|
1512 | |
---|
1513 | </td> |
---|
1514 | <td> |
---|
1515 | |
---|
1516 | <p> |
---|
1517 | |
---|
1518 | <p> |
---|
1519 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00109">109</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1520 | <p> |
---|
1521 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00587">EditWindowProc()</a>. </td> |
---|
1522 | </tr> |
---|
1523 | </table> |
---|
1524 | <a class="anchor" name="r0" doxytag="G4UIWin32::interactorManager" ></a><p> |
---|
1525 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1526 | <tr> |
---|
1527 | <td class="mdRow"> |
---|
1528 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1529 | <tr> |
---|
1530 | <td class="md" nowrap valign="top"> <a class="el" href="classG4VInteractorManager.html">G4VInteractorManager</a>* <a class="el" href="classG4UIWin32.html#r0">G4UIWin32::interactorManager</a><code> [private]</code> |
---|
1531 | </table> |
---|
1532 | </td> |
---|
1533 | </tr> |
---|
1534 | </table> |
---|
1535 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1536 | <tr> |
---|
1537 | <td> |
---|
1538 | |
---|
1539 | </td> |
---|
1540 | <td> |
---|
1541 | |
---|
1542 | <p> |
---|
1543 | |
---|
1544 | <p> |
---|
1545 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00096">96</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1546 | <p> |
---|
1547 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00358">GetHelpChoice()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00321">SecondaryLoop()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00272">SessionStart()</a>. </td> |
---|
1548 | </tr> |
---|
1549 | </table> |
---|
1550 | <a class="anchor" name="r1" doxytag="G4UIWin32::mainWindow" ></a><p> |
---|
1551 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1552 | <tr> |
---|
1553 | <td class="mdRow"> |
---|
1554 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1555 | <tr> |
---|
1556 | <td class="md" nowrap valign="top"> HWND <a class="el" href="classG4UIWin32.html#r1">G4UIWin32::mainWindow</a><code> [private]</code> |
---|
1557 | </table> |
---|
1558 | </td> |
---|
1559 | </tr> |
---|
1560 | </table> |
---|
1561 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1562 | <tr> |
---|
1563 | <td> |
---|
1564 | |
---|
1565 | </td> |
---|
1566 | <td> |
---|
1567 | |
---|
1568 | <p> |
---|
1569 | |
---|
1570 | <p> |
---|
1571 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00097">97</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1572 | <p> |
---|
1573 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00389">AddMenu()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00254">~G4UIWin32()</a>. </td> |
---|
1574 | </tr> |
---|
1575 | </table> |
---|
1576 | <a class="anchor" name="r4" doxytag="G4UIWin32::menuBar" ></a><p> |
---|
1577 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1578 | <tr> |
---|
1579 | <td class="mdRow"> |
---|
1580 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1581 | <tr> |
---|
1582 | <td class="md" nowrap valign="top"> HMENU <a class="el" href="classG4UIWin32.html#r4">G4UIWin32::menuBar</a><code> [private]</code> |
---|
1583 | </table> |
---|
1584 | </td> |
---|
1585 | </tr> |
---|
1586 | </table> |
---|
1587 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1588 | <tr> |
---|
1589 | <td> |
---|
1590 | |
---|
1591 | </td> |
---|
1592 | <td> |
---|
1593 | |
---|
1594 | <p> |
---|
1595 | |
---|
1596 | <p> |
---|
1597 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00099">99</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1598 | <p> |
---|
1599 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00389">AddMenu()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>. </td> |
---|
1600 | </tr> |
---|
1601 | </table> |
---|
1602 | <a class="anchor" name="r7" doxytag="G4UIWin32::textBuffer" ></a><p> |
---|
1603 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1604 | <tr> |
---|
1605 | <td class="mdRow"> |
---|
1606 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1607 | <tr> |
---|
1608 | <td class="md" nowrap valign="top"> void* <a class="el" href="classG4UIWin32.html#r7">G4UIWin32::textBuffer</a><code> [private]</code> |
---|
1609 | </table> |
---|
1610 | </td> |
---|
1611 | </tr> |
---|
1612 | </table> |
---|
1613 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1614 | <tr> |
---|
1615 | <td> |
---|
1616 | |
---|
1617 | </td> |
---|
1618 | <td> |
---|
1619 | |
---|
1620 | <p> |
---|
1621 | |
---|
1622 | <p> |
---|
1623 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00101">101</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1624 | <p> |
---|
1625 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00182">G4UIWin32()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00684">TextAppendString()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00529">TextWindowProc()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00254">~G4UIWin32()</a>. </td> |
---|
1626 | </tr> |
---|
1627 | </table> |
---|
1628 | <a class="anchor" name="r9" doxytag="G4UIWin32::textCols" ></a><p> |
---|
1629 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1630 | <tr> |
---|
1631 | <td class="mdRow"> |
---|
1632 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1633 | <tr> |
---|
1634 | <td class="md" nowrap valign="top"> int <a class="el" href="classG4UIWin32.html#r9">G4UIWin32::textCols</a><code> [private]</code> |
---|
1635 | </table> |
---|
1636 | </td> |
---|
1637 | </tr> |
---|
1638 | </table> |
---|
1639 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1640 | <tr> |
---|
1641 | <td> |
---|
1642 | |
---|
1643 | </td> |
---|
1644 | <td> |
---|
1645 | |
---|
1646 | <p> |
---|
1647 | |
---|
1648 | <p> |
---|
1649 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00102">102</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1650 | <p> |
---|
1651 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>. </td> |
---|
1652 | </tr> |
---|
1653 | </table> |
---|
1654 | <a class="anchor" name="r8" doxytag="G4UIWin32::textRows" ></a><p> |
---|
1655 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1656 | <tr> |
---|
1657 | <td class="mdRow"> |
---|
1658 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1659 | <tr> |
---|
1660 | <td class="md" nowrap valign="top"> int <a class="el" href="classG4UIWin32.html#r8">G4UIWin32::textRows</a><code> [private]</code> |
---|
1661 | </table> |
---|
1662 | </td> |
---|
1663 | </tr> |
---|
1664 | </table> |
---|
1665 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1666 | <tr> |
---|
1667 | <td> |
---|
1668 | |
---|
1669 | </td> |
---|
1670 | <td> |
---|
1671 | |
---|
1672 | <p> |
---|
1673 | |
---|
1674 | <p> |
---|
1675 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00102">102</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1676 | <p> |
---|
1677 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>. </td> |
---|
1678 | </tr> |
---|
1679 | </table> |
---|
1680 | <a class="anchor" name="r2" doxytag="G4UIWin32::textWindow" ></a><p> |
---|
1681 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1682 | <tr> |
---|
1683 | <td class="mdRow"> |
---|
1684 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1685 | <tr> |
---|
1686 | <td class="md" nowrap valign="top"> HWND <a class="el" href="classG4UIWin32.html#r2">G4UIWin32::textWindow</a><code> [private]</code> |
---|
1687 | </table> |
---|
1688 | </td> |
---|
1689 | </tr> |
---|
1690 | </table> |
---|
1691 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1692 | <tr> |
---|
1693 | <td> |
---|
1694 | |
---|
1695 | </td> |
---|
1696 | <td> |
---|
1697 | |
---|
1698 | <p> |
---|
1699 | |
---|
1700 | <p> |
---|
1701 | Definition at line <a class="el" href="G4UIWin32_8hh-source.html#l00098">98</a> of file <a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a>. |
---|
1702 | <p> |
---|
1703 | Referenced by <a class="el" href="G4UIWin32_8cc-source.html#l00435">MainWindowProc()</a>, <a class="el" href="G4UIWin32_8cc-source.html#l00684">TextAppendString()</a>, and <a class="el" href="G4UIWin32_8cc-source.html#l00254">~G4UIWin32()</a>. </td> |
---|
1704 | </tr> |
---|
1705 | </table> |
---|
1706 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
1707 | <li><a class="el" href="G4UIWin32_8hh-source.html">G4UIWin32.hh</a><li><a class="el" href="G4UIWin32_8cc-source.html">G4UIWin32.cc</a></ul> |
---|
1708 | <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 22 11:07:43 2007 by |
---|
1709 | <a href="http://www.doxygen.org/index.html"> |
---|
1710 | <img src="doxygen.png" alt="doxygen" align="middle" border=0 > |
---|
1711 | </a>1.3.4 </small></address> |
---|
1712 | </body> |
---|
1713 | </html> |
---|