2020-06-08 23:00:28 +02:00

1 line
10 KiB
Plaintext

// --------------------------------------------------------------------
// Genesys created REZ data code
// Simple Software Systems International, Inc.
// APWREZ.SCG 1.2
// --------------------------------------------------------------------
#include "types.rez"
// --- Control Templates
resource rControlTemplate (CTLTMP_00007004, $0000) {
$00007004, // ID
{ 0, 2,171,633}, // rect
editTextControl {{
$0000, // flag
$7400, // moreFlags
$00000000, // refCon
$27280000, // textFlags
{65535,65535,65535,65535}, // indentRect
$FFFFFFFF, // vertBar
$0000, // vertAmount
$00000000, // horzBar
$0000, // horzAmount
$00000000, // styleRef
$0015, // textDescriptor
PSTR_00000004, // textRef
$00000000, // textLength
$00000000, // maxChars
$00000000, // maxLines
$0000, // maxCharsPerLine
$0000, // maxHeight
0, // colorTableRef
$0000, // drawMode
$00000000 // filterProcPtr
}};
};
resource rControlTemplate (CTLTMP_00007005, $0000) {
$00007005, // ID
{ 0, 2,147,555}, // rect
editTextControl {{
$0000, // flag
$7C00, // moreFlags
$00000000, // refCon
$22280000, // textFlags
{65535,65535,65535,65535}, // indentRect
$FFFFFFFF, // vertBar
$0000, // vertAmount
$00000000, // horzBar
$0000, // horzAmount
$00000000, // styleRef
$0015, // textDescriptor
PSTR_00000005, // textRef
$00000000, // textLength
$00000000, // maxChars
$00000000, // maxLines
$0000, // maxCharsPerLine
$0000, // maxHeight
0, // colorTableRef
$0000, // drawMode
$00000000 // filterProcPtr
}};
};
// --- rPString Templates
resource rPString (PSTR_00000001, $C018) {
"@"
};
resource rPString (PSTR_00000002, $C018) {
" File "
};
resource rPString (PSTR_00000003, $C018) {
" Edit "
};
resource rPString (PSTR_000000FA, $C018) {
"Undo"
};
resource rPString (PSTR_000000FB, $C018) {
"Cut"
};
resource rPString (PSTR_000000FC, $C018) {
"Copy"
};
resource rPString (PSTR_000000FD, $C018) {
"Paste"
};
resource rPString (PSTR_000000FE, $C018) {
"Clear"
};
resource rPString (PSTR_000000FF, $C018) {
"Close"
};
resource rPString (PSTR_00000100, $C018) {
"About Sound Patcher "
"\$C9"
};
resource rPString (PSTR_00000101, $C018) {
"Quit"
};
resource rPString (PSTR_00000102, $C018) {
"New"
};
resource rPString (PSTR_00000103, $C018) {
"Patch "
"\$C9"
};
resource rPString (PSTR_00000104, $C018) {
"Save"
};
resource rPString (PSTR_00000105, $C018) {
"Save As..."
};
resource rPString (PSTR_00000106, $C018) {
"Revert to Saved"
};
resource rPString (PSTR_00000107, $C018) {
"Help "
"\$C9"
};
resource rPString (PSTR_00000108, $C018) {
"New Item"
};
resource rPString (PSTR_00000109, $C018) {
"Print..."
};
resource rPString (PSTR_0000010A, $C018) {
"Page Setup..."
};
resource rPString (PSTR_00010000, $0000) {
"Untitled"
};
resource rPString (PSTR_00010001, $0000) {
"Documentation"
};
// --- Menu Bar Definitions
resource rMenuBar (menuBar, $C018) {
{
AppleMenu,
FileMenu,
EditMenu
};
};
// --- Menu Definitions
resource rMenu (AppleMenu, $C018) {
$0001, // menuID
$A008, // menuFlag
PSTR_00000001, { // menuTitleRef
MENUITEM_00000100,
MENUITEM_00000107
};
};
resource rMenu (FileMenu, $C018) {
$0002, // menuID
$A008, // menuFlag
PSTR_00000002, { // menuTitleRef
MENUITEM_00000103,
MENUITEM_00000101
};
};
resource rMenu (EditMenu, $C018) {
$0003, // menuID
$A088, // menuFlag
PSTR_00000003, { // menuTitleRef
MENUITEM_000000FA,
MENUITEM_000000FB,
MENUITEM_000000FC,
MENUITEM_000000FD,
MENUITEM_000000FE
};
};
// --- Menu Item Definitions
resource rMenuItem (MENUITEM_000000FA, $C018) {
$00FA, // itemID
"Z","z", // itemChar, itemAltChar
NIL, // itemCheck
$8040, // itemFlag
PSTR_000000FA // itemTitleRef
};
resource rMenuItem (MENUITEM_000000FB, $C018) {
$00FB, // itemID
"X","x", // itemChar, itemAltChar
NIL, // itemCheck
$8000, // itemFlag
PSTR_000000FB // itemTitleRef
};
resource rMenuItem (MENUITEM_000000FC, $C018) {
$00FC, // itemID
"C","c", // itemChar, itemAltChar
NIL, // itemCheck
$8000, // itemFlag
PSTR_000000FC // itemTitleRef
};
resource rMenuItem (MENUITEM_000000FD, $C018) {
$00FD, // itemID
"V","v", // itemChar, itemAltChar
NIL, // itemCheck
$8000, // itemFlag
PSTR_000000FD // itemTitleRef
};
resource rMenuItem (MENUITEM_000000FE, $C018) {
$00FE, // itemID
"","", // itemChar, itemAltChar
NIL, // itemCheck
$8000, // itemFlag
PSTR_000000FE // itemTitleRef
};
resource rMenuItem (MENUITEM_000000FF, $0018) {
$00FF, // itemID
"W","w", // itemChar, itemAltChar
NIL, // itemCheck
$8080, // itemFlag
PSTR_000000FF // itemTitleRef
};
resource rMenuItem (MENUITEM_00000100, $0018) {
$0100, // itemID
"","", // itemChar, itemAltChar
NIL, // itemCheck
$8000, // itemFlag
PSTR_00000100 // itemTitleRef
};
resource rMenuItem (MENUITEM_00000101, $0018) {
$0101, // itemID
"Q","q", // itemChar, itemAltChar
NIL, // itemCheck
$8000, // itemFlag
PSTR_00000101 // itemTitleRef
};
resource rMenuItem (MENUITEM_00000102, $0018) {
$0102, // itemID
"N","n", // itemChar, itemAltChar
NIL, // itemCheck
$8000, // itemFlag
PSTR_00000102 // itemTitleRef
};
resource rMenuItem (MENUITEM_00000103, $0018) {
$0103, // itemID
"P","p", // itemChar, itemAltChar
NIL, // itemCheck
$8040, // itemFlag
PSTR_00000103 // itemTitleRef
};
resource rMenuItem (MENUITEM_00000104, $0018) {
$0104, // itemID
"S","s", // itemChar, itemAltChar
NIL, // itemCheck
$8080, // itemFlag
PSTR_00000104 // itemTitleRef
};
resource rMenuItem (MENUITEM_00000105, $0018) {
$0105, // itemID
"","", // itemChar, itemAltChar
NIL, // itemCheck
$80C0, // itemFlag
PSTR_00000105 // itemTitleRef
};
resource rMenuItem (MENUITEM_00000107, $0018) {
$0106, // itemID
"?","/", // itemChar, itemAltChar
NIL, // itemCheck
$8040, // itemFlag
PSTR_00000107 // itemTitleRef
};
resource rMenuItem (MENUITEM_00000109, $0018) {
$0107, // itemID
"P","p", // itemChar, itemAltChar
NIL, // itemCheck
$80C0, // itemFlag
PSTR_00000109 // itemTitleRef
};
resource rMenuItem (MENUITEM_0000010A, $0018) {
$0108, // itemID
"","", // itemChar, itemAltChar
NIL, // itemCheck
$8080, // itemFlag
PSTR_0000010A // itemTitleRef
};
// --- Window Templates
resource rWindParam1 (help_Window, $0000) {
$C020, // plFrame (frame bits)
PSTR_00010001, // plTitle (title ID)
$00000000, // p1RefCon
{ 0, 0, 0, 0}, // p1ZoomRect
help_WColor, // p1ColorTable
{$0000, $0000}, // p1YOrigin, p1XOrigin
{$0000, $0000}, // p1DataHeight, p1DataWidth
{$0000, $0000}, // p1MaxHeight, p1MaxWidth
{$0000, $0000}, // p1VerScroll, p1HorScroll
{$0000, $0000}, // p1VerPage, p1HorPage
$00000000, // p1InfoText (info RefCon)
$0000, // p1InfoHeight
{ 27, 4,197,636}, // p1Position
infront, // p1Plane
CTLTMP_00007004, // plControlList
$0A02 // plInDesc
};
// --- Window Color Templates
resource rWindColor (help_WColor, $0000) {
$0000, // frameColor
$0F00, // titleColor
$020F, // tBarColor
$F0FF, // growColor
$00F0 // infoColor
};
// --- Tool Startup Table Templates
resource rToolStartup (toolTable, $0000) {
$C080, { // videoMode
3, $0300, // Miscellaneous Tools
4, $0301, // QuickDraw II
5, $0302, // Desk Manager
6, $0300, // Event Manager
7, $0200, // Scheduler
11, $0200, // Integer Math
14, $0301, // Window Manager
15, $0301, // Menu Manager
16, $0301, // Control Manager
18, $0301, // QuickDraw II Aux.
20, $0301, // LineEdit Tools
22, $0300, // Scrap Manager
23, $0301, // Standard File Tools
27, $0301, // Font Manager
28, $0301, // List Manager
30, $0100, // Resource Manager
34, $0101 // TextEdit Manager
}
};
// --- rAlertString Templates
resource rAlertString (awAlreadyPatched, $0000) {
"52~This copy of the Sound control panel already has been patched"
"!~^#1"
"\$00"
};
resource rAlertString (awAreYouSure, $0000) {
"73~Are you sure you want to patch this copy of the Sound control"
" panel?"
"\$0D"
"The change will be permanent, but it will not harm normal operat"
"ion in any way.~#1~^#0"
"\$00"
};
resource rAlertString (awAbout, $0000) {
"53~Sound Patcher v1.0, by Jim Maricondo."
"\$0D"
"Copyright 1993, DigiSoft Innovations.~^#0"
"\$00"
};
// --- rText Templates
resource rText (TXT_00000004, $0000) {
"Sound Patcher v1.0"
"\$0D"
"by Jim Maricondo"
"\$0D"
"Copyright 1993, DigiSoft Innovations, All rights reserved."
"\$0D"
"\$0D"
"This program is part of DigiSoft Innovations' Twilight"
"\$CA"
"II screen saver package. Twilight"
"\$CA"
"II and all its support files are fully copyrighted work. Please"
" support the Apple II by not distributing them, so we can stay i"
"n business! II Infinitum!"
"\$0D"
"\$0D"
"Apple's System 6 Sound control panel does not normally allow you"
" to assign sounds to "
"\$D2"
"Screen Blanking"
"\$D3"
" and "
"\$D2"
"Screen Unblanking"
"\$D3"
" because System 6 does not come with a screen saver. However, T"
"wilight"
"\$CA"
"II takes advantage of these "
"\$D2"
"hidden"
"\$D3"
" features. This program makes a simple and Apple approved patch"
" that allows you to use the Sound control panel to assign sounds"
" to these screen saver related events."
"\$0D"
"\$0D"
"To operate this program, select "
"\$D2"
"Patch "
"\$C9"
"\$D3"
" from the File menu. Find your copy of the Sound control panel "
"(usually found in the "
"\$D2"
"System:CDevs"
"\$D3"
" folder of your boot disk), and click Open. Sound Patcher will "
"do the rest! After being patched, you will be able to assign be"
"eps to "
"\$D2"
"Screen Blanking"
"\$D3"
" and "
"\$D2"
"Screen Unblanking."
"\$D3"
" It's that simple!"
"\$0D"
"\$0D"
"For more help, or information on other DigiSoft products, you ca"
"n contact us at:"
"\$0D"
"\$0D"
"\$09"
"DigiSoft Innovations"
"\$0D"
"\$09"
"P.O. Box 380"
"\$0D"
"\$09"
"Trumbull, CT 06611"
"\$0D"
"\$09"
"(203) 375-0837"
"\$0D"
"\$0D"
"\$09"
"America Online: DigiSoft"
"\$0D"
"\$09"
"Internet: digisoft@aol.com"
"\$0D"
"\$09"
"Delphi: DYAJIM"
"\$0D"
"\$09"
"GEnie: J.Maricondo1"
"\$0D"
};