Gamma/Photon : Using Gamma™ with the Photon
microGUI
®, Version 1.1
Programmers Manual
Table of Contents
1. Introduction
1.1. Why Gamma and Photon?
1.2. Assumptions about the Reader
1.3. System Requirements
1.4. Cogent Product Integration
1.5. Where can I get help?
2. Classes
2.1. Explanation of Class Reference Pages
2.2. Specifying Widget Flags
2.2.1. Setting Flags
2.2.2. Testing Flags
2.2.3. Clearing Flags
2.2.4. Using Widget Method Calls
2.2.5. Using Bitmasks and cons
2.2.6. Using cons: a Summary
2.3. Specifying Colors
3. A Few Precautions
4. Building Applications - a Tutorial
4.1. Create a Window
4.2. Add an Exit Button
4.3. Add Functionality with Callbacks
4.4. Load a Window Created in PhAB
4.5. Read a Widget File and Create its Widgets
4.6. Read a Widget File and Assign its Widgets to a Class
4.7. Set, Test, and Clear Widget Flags
4.8. Read and Print a Widget File
4.9. Extract Certain Widgets
4.10. Select and Recreate Any Widget
4.11. Print a Widget Tree Summary
5. Integrating with Cogent Software
5.1. Callbacks and Cascade DataHub Points
6. Sample Code and Cool Stuff
6.1. Customizable Keypad
6.1.1. Create and Display Two Keypads
6.1.2. Sample Keypad Definition Files
6.1.3. The Keypad Class
6.2. Handling Keyboard Events
6.3. A CwGraph Rotating Cube
6.4. A CwMatrix Spreadsheet
A. GNU General Public License
B. GNU Lesser General Public License
Copyright © 1995-2010 by
Cogent Real-Time Systems, Inc.
All rights reserved.