Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Object Oriented Programming with C++ and OSF/Motif - Douglas Young

Object Oriented Programming with C++ and OSF/Motif

(Autor)

Buch | Softcover
464 Seiten
1995 | 2nd edition
Prentice Hall (Verlag)
978-0-13-209255-5 (ISBN)
CHF 139,95 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
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. KEY TOPICS: 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. MARKET: For application programmers.

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.

Bibliography 435.
Getting Source Code 437.
Index 439.

Erscheint lt. Verlag 11.7.1995
Verlagsort Upper Saddle River
Sprache englisch
Maße 235 x 180 mm
Gewicht 658 g
Themenwelt Mathematik / Informatik Informatik Betriebssysteme / Server
Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Software Entwicklung Objektorientierung
ISBN-10 0-13-209255-7 / 0132092557
ISBN-13 978-0-13-209255-5 / 9780132092555
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
objektorientierte Entwicklung modularer Maschinen für die digitale …

von Thomas Schmertosch; Markus Krabbes; Christian Zinke-Wehlmann

Buch | Hardcover (2024)
Hanser (Verlag)
CHF 62,95
Entwicklung von GUIs für verschiedene Betriebssysteme

von Achim Lingott

Buch (2023)
Hanser, Carl (Verlag)
CHF 55,95
Principles and Practice Using C++

von Bjarne Stroustrup

Buch | Softcover (2024)
Addison Wesley (Verlag)
CHF 119,95