Acknowledgments | |
Introduction | |
Overview of Windows, Macintosh, and X Windows Programming Model and Design of an Abstract GUI C++ Class | |
Portability | p. 3 |
Microsoft Windows | p. 7 |
Windows Application Interface to DOS | p. 7 |
Event Handling in Windows Applications | p. 8 |
Graphics Operations in Windows Applications | p. 10 |
Dialog Boxes in Windows Applications | p. 11 |
Creating a Document Window | p. 13 |
Creating an Application Environment | p. 16 |
Windows API Functions Used in Appendix B | p. 17 |
Apple Macintosh | p. 25 |
Macintosh Application Interface to the Operating System | p. 26 |
Event Handling in Macintosh Applications | p. 27 |
Graphics Operations in Macintosh Applications | p. 28 |
Resource Files for Building Macintosh Applications | p. 29 |
Dialog Boxes in Macintosh Applications | p. 31 |
Creating a Document Window | p. 32 |
Creating an Application Environment | p. 32 |
Macintosh Tool Box Functions Used in Appendix C | p. 35 |
X Windows | p. 47 |
X Windows Application Interface to the Unix Operating System | p. 48 |
Event Handling in X Windows Applications | p. 48 |
Graphics Operations in X Windows Applications | p. 50 |
Dialog Boxes in X Windows Applications | p. 51 |
X Windows API Functions Used in Appendix D | p. 53 |
Abstract C++ GUI Class Library | p. 61 |
Basic User Interface Components | p. 61 |
Handling Background Processing | p. 68 |
Sample Test Program Using the Abstract Class Library Design | p. 70 |
C++ Application Utility Classes | |
Graphical Tree Browser Class | p. 77 |
Design of the Tree Browser Class | p. 77 |
Implementation of the Tree Browser Class | p. 78 |
Using the Tree Browser Class | p. 87 |
Smart Persistent Data Object Classes | p. 89 |
Rationale for Using Vector Classes | p. 89 |
Interface for an Integer Smart Vector Class | p. 91 |
Implementation of an Integer Vector Class | p. 91 |
File I/O | p. 95 |
ASCII Text I/O | p. 95 |
Binary I/O | p. 96 |
Curve Plotting Class | p. 99 |
Design of the TPlotClass Curve Plotting Class | p. 99 |
Interface to the TPlotClass Class | p. 100 |
Implementation of the TPlotClass Class | p. 101 |
Examples Using the TPlotClass | p. 104 |
Generic Pattern Matcher Class | p. 109 |
Rationale for Using Neural Networks | p. 109 |
Design of the TNeuralNet Class | p. 110 |
Header File for the TNeuralNet Class | p. 111 |
Source File for the TNeuralNet Class | p. 114 |
Using the TNeuralNet Class | p. 118 |
Text Indexing Class | p. 119 |
Requirements for the Textindex Class | p. 119 |
Design of the Textindex Class | p. 120 |
Implementation of the Textindex Class | p. 121 |
Using the Textindex Class | p. 137 |
Example Applications | |
Hierarchical Information Browser | p. 141 |
Example HIB Data | p. 141 |
HIB Functionality | p. 144 |
HIB Implementation | p. 148 |
Handwriting Classifier | p. 157 |
User Interface | p. 157 |
Implementation of the Handwriting Classifier | p. 158 |
Intelligent Text Browser | p. 163 |
User Interface | p. 163 |
Implementation of the Text Browser Application | p. 165 |
3D Chess | p. 171 |
Rules for 3D Chess | p. 171 |
User interface Design for a 3D Chess Program | p. 172 |
C++ Classes to Play 3D Chess | p. 172 |
Complete Implementation of a 3D Chess Program | p. 174 |
Appendix A. Generic GUI Class Reference | p. 203 |
Appendix B. Microsoft Windows Class Implementation | p. 205 |
B.1 Windows Resource Files | p. 205 |
B.2 Windows-Specific GUI Include Files | p. 211 |
B.3 Windows-Specific GUI C++ Source Files | p. 215 |
B.4 Windows-Specific Smart Vector Include Files | p. 225 |
B.5 Windows-Specific Smart Vector C++ Source Files | p. 228 |
Appendix C. Macintosh Class Implementation | p. 235 |
C.1 Macintosh Resource Files | p. 235 |
C.2 Macintosh-Specific GUI Include Files | p. 242 |
C.3 Macintosh-Specific GUI C++ Source Files | p. 246 |
C.4 Macintosh-Specific Smart Vector Include Files | p. 261 |
C.5 Macintosh-Specific Smart Vector C++ Source Files | p. 263 |
C.6 Macintosh Makefiles | p. 270 |
Appendix D. X Windows Class Implementation | p. 275 |
D.1 X Windows Menu Definition Include Files | p. 275 |
D.2 X-Windows-Specific GUI Include Files | p. 276 |
D.3 X-Windows-Specific GUI C++ Source Files | p. 282 |
D.4 X-Windows-Specific Smart Vector Include Files | p. 299 |
D.5 X-Windows-Specific Smart Vector C++ Source Files | p. 301 |
D.6 X Windows Makefile | p. 308 |
Bibliography | p. 311 |
Index | p. 313 |
Table of Contents provided by Blackwell. All Rights Reserved. |