3. "6F^4D!$^XQ;File ResEqu.TEXT
;-----------------------------------------------------
;
;    Standard System Resource Type and ID Definitions
;
;       written by Andy Hertzfeld  28-Dec-82
;
;    Here are the standard resources defined by the system,
;  listed by their type class.
;
;
;  Modification History:
;
;   AJH  06-Mar-83   Added FWID resource class
;   BLH  06-Mar-83   Added Keymap resource class and standard resources
;   AJH  03-Jun-83   KEYM -> KEYC
;   AJH  07-Jul-83   Made it consistent with documentation
;   AJH  05-Sep-83   Added TextRType
;
;------------------------------------------------------


;------------------------------------------------
;
;   TYPE "PAT " -- Standard Pattern Definitions
;     (also "PAT#")
;
;------------------------------------------------

PatRType        .EQU    $50415420               ;"PAT " resource type
PatLRType       .EQU    $50415423               ;"PAT#" resource type

; patterns 0-15 are a gray scale

WhitePat        .EQU    0                       ;white is pattern 0
LtGrayPat       .EQU    4                       ;light gray
GrayPat         .EQU    8                       ;50-50 gray is 8
DkGrayPat       .EQU    12                      ;dark gray
BlackPat        .EQU    15                      ;black is pattern 15

DeskPatID       .EQU    16                      ;desk pattern is pattern 16
SBarPatID       .EQU    17                      ;scrollBar pattern is 17


;------------------------------------------------
;
;   TYPE "PICT" and "TEXT" -- Standard Scrap Types
;
;------------------------------------------------

PicRType        .EQU    $50494354       ;"PICT" -- Picture resource type
TextRType       .EQU    $54455854       ;"TEXT" -- Text resource type



;------------------------------------------------
;
;   TYPE "ICON" -- Standard Icon Definitions
;
;------------------------------------------------

IconRType       .EQU    $49434F4E       ;"ICON" -- resource class

; standard system-defined icons

StopIcon        .EQU    0               ;Stop icon
NoteIcon        .EQU    1               ;Note icon
CtnIcon         .EQU    2               ;Caution icon

;------------------------------------------------
;
;   TYPES "WDEF,MDEF,CDEF"
;
;     --  ToolBox Object Definition Procedures
;
;------------------------------------------------

WDefRType       .EQU    $57444546       ;"WDEF" -- reosurce class
MDefRType       .EQU    $4D444546       ;"MDEF" -- resource type
CDefRType       .EQU    $43444546       ;"CDEF"--resource class

; standard window definition procedures

DocumentProc   .EQU      0              ;standard document
DBoxProc       .EQU      1              ;dialog box (document without titleBar)
RDocProc       .EQU     16              ;document with rounded corners

; standard menu definition procedures

TextMenuProc   .EQU      0              ;the one we know and love
PatMenuProc    .EQU      1              ;menu for displaying patterns

; standard control definition procedures

PushButProc    .EQU      0              ;standard rounded-corner pushButtons
CheckBoxProc   .EQU      1              ;standard check-box type buttons
RadioButProc   .EQU      2              ;almost the same as checkBox (different check)
ScrollBarProc  .EQU      16             ;standard scrollBar


;------------------------------------------------
;
;   TYPE "FONT" -- Standard Font Definitions
;
;------------------------------------------------

FontRType       .EQU    $464F4E54       ;"FONT" -- resource class
FWidRType       .EQU    $46574944       ;"FWID" -- just like font with null strike

; here are a few standard font ID's.  These are just the most common, for
; a complete choice, include "MoreFonts.TEXT"


Cream10        .EQU      0              ;ROM font
StdFont        .EQU      1              ;one maps into application standard font


;------------------------------------------------
;
;   TYPE "DRVR" -- Standard Driver Definitions
;
;------------------------------------------------

DrvrRType      .EQU      $44525652      ;"DRVR" -- resource type

;
; drivers are referenced by name, so there are no standard
; resource IDs for them.
;

;------------------------------------------------
;
;   TYPE "KEYC" -- Standard Keyboard Mapping Procs
;
;------------------------------------------------

KeyCType        .EQU      $4B455943      ;"KEYC" -- resource type

;Standard keyboard drivers

StdKbd         .EQU      0              ;Standard keyboard driver

;------------------------------------------------
;
;   TYPE "CURS" -- Standard Cursor Definitions
;
;------------------------------------------------

CursRType      .EQU      $43555253      ;"CURS" -- resource type

; standard cursor definitions

ArrowCursor    .EQU      0              ;slanted arrow
IBeamCursor    .EQU      1              ;text selection cursor
CrossCursor    .EQU      2              ;for structured selection
PlusCursor     .EQU      3              ;for drawing graphics
HourCursor     .EQU      4              ;for indicating a long delay

;------------------------------------------------
;
;   TYPE "STR " -- Standard String (BuzzWord) Definitions
;
;------------------------------------------------

StringRType    .EQU      $53545220      ;"STR " -- resource class

; standard strings (none are currently defined)


;-----------------------------------------------------
;
;   TYPEs "WIND,MENU,CNTL,MBAR"  --  Standard ToolBox Objects
;
;-----------------------------------------------------

WindRType       .EQU    $57494E44       ;"WIND" -- resource type
MenuRType       .EQU    $4D454E55       ;"MENU" -- resource type
MBarRType       .EQU    $4D424152       ;"MBAR" -- resource type
CtrlRType       .EQU    $434E544C       ;"CNTL" -- resource type

; no standard windows or menus are defined yet

; Standard Control Definitions

OKButton       .EQU      1              ;OK button
CancelButton   .EQU      2              ;Cancel button

;----------------------------------------------------------
;
;   TYPE "CODE" -- Code Segments
;
;----------------------------------------------------------

CodeRType      .EQU      $434F4445      ;"CODE" for code segments (programs!)

;----------------------------------------------------------
;
;   TYPE "ALRT,DLOG,DITL" -- Alert and Dialog Definitions
;
;----------------------------------------------------------

AlertType       .EQU    $414C5254       ;"ALRT" -- resource class
DilogType       .EQU    $444C4F47       ;"DLOG" -- resource class
ItmLstType      .EQU    $4449544C       ;"DITL" -- dialog item list

; standard system alerts (none are defined yet)

; standard system dialogs (none are defined yet)





