Specifications
Apple II Technical Notes
Apple IIGS
6 of 8 #76: Miscellaneous Resource Formats
Following is a simple rTaggedStrings example:
resource rTaggedStrings(1) {{
$0050, "red",
$0033, "green",
$0100, "blue"
}};
Pattern List Resource (Type: $802F, rPatternList)
A pattern list resource contains zero of more 32-byte QuickDraw II patterns. (This resource type
exists for your convenience. The System Software contains no direct support for resources of this
type.)
firstPattern (+000) 32 Bytes First QuickDraw II pattern structure.
secondPattern (+032) 32 Bytes Second QuickDraw II pattern structure.
...
The resource compiler template follows:
#define rPatternList $802F
/*-------------------- rPatternList ---------------------*/
type rPatternList {
array {
array[32] {
hex byte;
};
};
};
Rectangle List Resource (Type: $C001, rRectList)
The rectangle list (type rRectList) is provided to allow an extensible, easily modifiable
collection of QuickDraw II rectangle structures. This capability can enhance a developer’s ability to
modify on-screen displays without recompiling an entire application. This resource also enables
easier cross-development and parallel development for the Apple IIGS and the Macintosh.
The following describes the rectangle list resource format:
count (+000) Word Number of rectangles in this resource.
firstRectangle (+002) 8 Bytes First QuickDraw II rectangle structure.
... Rectangles, eight bytes each.
lastRectangle (+002+(8*(count-1)))
8 Bytes Last QuickDraw II rectangle structure.










