Toolbox Programming in Pascal is ready to take you into the exciting and fun world of toolbox programming on the Apple IIGS. You will learn to write desktop applications, handle sound files, print pictures, and much more. This course has been designed with you in mind, whether you’re an intermediate programmer with no Toolbox experience or an Apple IIGS expert who wants a handy set of sample programs for reference.
If you’re an intermediate programmer you will find a step by step guide into the world of toolbox programming. Easy to read lessons and fun to write programs open up the exciting world of toolbox programming for you.
If you’re an advanced programmer and you’ve been programming the toolbox, you know it’s not always easy to find a working example of what you’re trying to do. Apple’s reference manuals, while comprehensive, do not show you real, working examples. Toolbox Programming in Pascal includes 4 disks filled with source code of working programs, so you have a place to start. The comprehensive index makes it easy for you to locate sections in the text describing what you are trying to do, so you can find complete discussions of the ideas involved, and quickly locate a program that puts the idea to work.
Learn How to Write Toolbox Programs
While other books simply showcase tool calls, Toolbox Programming in Pascal teaches by example. The emphasis is on designing and writing real programs, not just learning tool calls. You will learn how to use the tools by writing usable programs and subroutines that show you how the tools work together.
Build Your Own Tool Chest
As you work the problems in the course, you’ll build your own toolbox tool chest. You will create flexible framework programs that give you a fast start on creating new programs. As you write your own programs, you’ll have a large library of canned subroutines to pull in, so you can create programs quickly.
Look at the Programs You’ll Write!
Toolbox Programming in Pascal shows you how to write your very own slide show program that views, prints (in color), loads and saves screen dump pictures. You will also write a small text editor, scrapbook NDA, and an instrument sampler that plays music from note synthesizer files, and much more. You’ll write several sampler programs, too – simple programs like a control sampler that let you test ideas quickly, without developing a huge application.
Source Code Included!
Every program you see in the book, and working solutions to every problem, come with this course. That’s 4 disks full of toolbox code! This is a unique opportunity for you to look at, and play around with, the largest and most comprehensive selection of source code for toolbox programming ever available.
System 6.0 Ready!
Toolbox Programming in Pascal has been written with Apple’s System 6.0. This means you will be writing programs that are up to date, and that make use of the exciting features now available in System 6.0 and 6.0.1.
Nothing Else to Buy!
You don’t have to buy a lot of expensive reference manuals to learn toolbox programming – Toolbox Programming in Pascal comes with an abridged toolbox reference manual that covers everything you need for the course!
Just Look What You’ll Get…
You get 4 disks crammed with source code, and over 400 pages of personal instruction on writing your very own toolbox programs. Here’s what’s in the course:
Lesson 0 – Before We Start
About This Course, What You Should Already Know, What You Must Have, Other Useful Things
Lesson 1 – Current Events
Starting the Tools, The Event Loop, The Event Record , Our First Executable Program, Keyboard Events, Mouse Events, Using Appendix A, Using the Toolbox Reference Manuals, Reading the Tool Interface Files
Lesson 2 – What’s on the Menu?
Setting Up A Menu Bar, Menu Events, Sample Program – Quit, Keyboard Equivalents, Standard Keyboard Equivalents , TaskMaster, The Apple Menu, Supporting NDAs, Customizing Your Menu Items, Changing Menu Items on the Fly , Changing the Text for a Menu Item, Other Things You Should Know About Menus
Lesson 3 – Be Resourceful
What Are Resources?, Using Rez to Create a Menu Bar, Using the Menu Bar Rez Created, Making Changes, Using a Script to Compile, Understanding Resource Description Files , Resource Tools
Lesson 4 – Keep Alert!
Alerts Present Messages, Using an Alert for an About Box , The Frame Program, Alert Strings, Substitution Strings
Lesson 5 – Why, Yes. We Do Windows!
Defining Our Terms, Opening a Window, Closing a Window , Multiple Windows, Window Names, Drawing in a Window, Updating a Window, The Window Port and Coordinate Systems, Tricks With Update Events, Scrolling, Customizing Your Windows
Lesson 6 – File I/O
SFO, The Open Dialog, The Role of Save and Save As… , The Save As… Dialog, A Comment About Ellipsis, Other Standard File Calls, Reading a File, Writing a File , Screen Dumps
Lesson 7 – Move Over Guttenberg
How the Print Manager Works, Starting the Tools (Again) , Getting a Print Record, The Page Setup Dialog, The Print Dialog, Dimming the Menus, The Print Loop, A Few Tips and Tricks
Lesson 8 – Thanks for the Memory
Memory on the Apple IIGS, Handles, Allocating Memory , Purgeable Memory, Finding Free Memory
Lesson 9 – Drawing on the Front Side of the Screen
Super High Resolution Graphics, Setting the Pen Size, Pen Patterns, Pen Modes, Pen Masks, Drawing Shapes , Regions, GrafPorts
Lesson 10 – Fonts
Defining Some Terms, Drawing Text, Colorful Text , Formatting Text, The Standard Character Set, Font Families, Font Sizes, Font Styles, Installing a Font, Choosing Fonts with ChooseFont, Choosing Fonts with Full Menus
Lesson 11 – TextEdit
An Overview, Using TextEdit, Editing with TextEdit , Changing the Ruler, Changing Fonts, Loading and Saving, Printing, Did the Document Change?
Lesson 12 – Scraps
The Scrap Manager, Scraps, Scrap Types, Multiple Scraps, The Scrap File, A Scrapbook Program
Lesson 13 – Controls, Part 1
A Quick History Lesson, Control Records and Control Lists , Simple Buttons, Colored Controls, Static Text , Radio Buttons, Check Boxes, Scroll Bars, The Grow Box
Lesson 14 – Controls, Part 2
Rectangles, Thermometers, Icon Buttons, Pictures , LineEdit Items, List Controls, Popup Menus
Lesson 15 – Meaningful Dialogs
Death of a Tool, Dialogs are Simple Windows with Controls , Creating a Dialog, Handling Events in a Modal Dialog , Modeless Dialogs
Lesson 16 – Sound Off!
Goals for This Lesson, The Physics of Sound, Digitally Recorded Sound, Note Synthesizer, Getting the Most from Instruments, The Sound Tools
Lesson 17 – Professional Polish
Finder Resources, The Desktop File, GS/OS Aware Bits , Formatting Disks, Opening and Printing Files on Entry
Lesson 18 – New Desk Accessories
The Anatomy of an NDA, The Init Routine, The Open Routine, Using Resources in an NDA, The Close Routine , The Action Routine, Starting and Shutting Down Tools , Installing an NDA
Appendix A – Abridged Toolbox Reference Manual
Appendix B – Resources Used in This Course
Appendix C – Where to Go for More Information
Appendix D – Tips for ORCA/Pascal
Four 3.5-inch disk images in Universal Disk Image (.2mg) format, plus the complete book in both ASCII text and Adobe Acrobat (PDF) formats.
System 6.0 or later
1.75 MB of memory
ORCA/Pascal 1.4 or later