Version: 1.0

Posted: 2003-01-30

Build Requirements: N/A

Runtime Requirements: Mac OS X Mac OS X

View Source Code:

Download Sample (“Calculator.zip”, 176.5K)
Download Sample (“Calculator.dmg”, 235.2K)



Description

This application recreates the Macintosh's Calculator DA and implements a simple "four-banger" calculator. Building the Code The code was built on Mac OS X. It should build without problem straight out of the box. Known Bugs The original Calculator DA did some funky things when pasting into the calculator (like higlight the keys). This version doesn't bother with that, and it also doesn't know how to cut and paste to very many other applications. At times, cutting and pasting can enter illegal values in the view. Requirements: Mac OS X Keywords: Carbon, aglUseFont, OpenGL, text, agl, font

Document Revision History

Date Notes
2003-01-30Implements a simple "four-banger" calculator.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.