- Used Books
- Staff Picks
- Gifts & Gift Cards
- Sell Books
- Stores & Events
- Let's Talk Books
Special Offers see all
More at Powell's
Recently Viewed clear list
New Trade Paper
Ships in 1 to 3 days
available for shipping or prepaid pickup only
Available for In-store Pickup
in 7 to 12 days
Object Oriented Programming C++ & Osf Mot 2ND Editionby Douglas A Young
Synopses & Reviews
Updated to cover Motif Release 2.0 and X/11 R6, this revised edition shows programmers how to design reusable user interface components and how Motif and C++ can be used together effectively. It goes beyond how to display and manipulate widgets and shows how the object-oriented approach affects an application's design and implementation. In addition to providing X and Motif programmers with a concise introduction to user interface design methods, the book includes code examples that form a useful toolkit.
Book News Annotation:
Shows programmers how to design reusable user-interface components and how Motif and C++ can be used together, emphasizing the ways in which the object-oriented approach affects an application's design and implementation. Part I introduces the basic mechanics of using C++ and Motif and covers classes, widgets, and designing with objects. Part II deals with application frameworks, dialogs, and command classes. This second edition is revised to cover Motif 2.0 and X/11 R6.
Annotation c. Book News, Inc., Portland, OR (booknews.com)
Completely updated to cover Motif Release 1.2 and 2.0, this second edition shows how to design reusable user interface components based on Motif, and how C++ and Motif can be used together effectively.
Completely updated to cover Motif Release 1.2 and 2.0, this second edition shows how to design reusable user interface components based on Motif, and how C++ and Motif can be used together effectively. Part I introduces the mechanics of using C++ and Motif with an emphasis on object- oriented techniques. Part II explores additional ideas for using Motif and C++, while developing a small library of useful classes that support applications based on Motif. For application programmers.
Table of Contents
I. INTRODUCTION TO C++ AND MOTIF 1.
1. An X/Motif Tutorial Using C++ 7.
The X/Motif Architecture 7. Mixing C and C++ 12. Programming with Motif and the Xt Intrinsics 15. The Motif Widget Set 31. Customization and Resources 50. Summary 53.
2. C++ Classes and Widgets 54.
User Interface Components 56. Encapsulation and Class Design 69. Supporting Components with Base Classes 74. The UIComponent Class 95. User Interface Component Guidelines 111. Writing Components vs. Writing Widgets 112. C++ Tricks and Techniques 113. Summary 118.
3. Designing with Objects 119.
Object-oriented Design and Development 120. CRC: Classes/Responsibilities/Collaborators 123. A Design Notation 127. Designing for Reusability 136. Summary 145.
4. TicTacToe: Design 146.
Defining the Problem 147. Finding the Objects 147. Developing Initial Class Cards 149. Finalizing the Design 153. Designing the TicTacToe User Interface 161. Summary 167.
5. TicTacToe: Implementation 168.
The TicTacToe Class 169. The GameBoard Class 174. The Message Class 186. The Command Class 188. The Engine Subsystem 192. Putting It All Together 205. Summary 208.
II. APPLICATION FRAMEWORKS 210.
6. The MotifApp Application Framework 21.
An Overview 215. A Simple List Template 219. The Application Class 221. The MainWindow Class 229. The MotifApp main() Function 234. The MotifApp Library 235. Using the Application Framework 236. Summary 240.
7. Dialogs 241.
Using Dialogs 241. The DialogManager Class 248. The InfoDialogManager Class 256. The QuestionDialogManager Class 261. Summary 265.
8. Command Classes 266.
The Cmd Class 267. The CmdInterface Class 278. The NoUndoCmd Class 281. The UndoCmd Class 282. The AskFirstCmd Class 284. The WarnNoUndoCmd Class 286. Summary 289.
9. A Simple Menu System 290.
The ButtonInterface Class 291. The MenuBar Class 292. The MenuWindow Class 295. A MenuBar Example 297. Summary 310.
10. Lengthy Tasks 311.
Strategies for Busy Applications 312. The WorkingDialogManager Class 317. The InterruptibleCmd Class 330. An Example Program 337. Summary 357.
11. A Color Chooser 358.
Models and Views 358. A ColorChooser Dialog 361. Summary 391.
12. A MotifApp Application 393.
An Overview of Bounce 393. The Stage Class 396. Driving the Animation 402. The Control Panel 409. Actors 417. The AddBallCmd Class 424. The BounceWindow Class 425. Building and Running Bounce 430. Summary 433.
Getting Source Code 437.
What Our Readers Are Saying
Other books you might like
Computers and Internet » Computer Languages » C++