home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format 61
/
af061a.adf
/
Macros
/
HE_PrefMode.clssa
< prev
next >
Wrap
Text File
|
1993-05-01
|
4KB
|
123 lines
/***********************************************************************
GADGET: "'Main Settings'" "7" AUTO TYP: "?"
$DAT >>HE_PrefMode.clssa<< 01 May 1993 - (C) ProDAD Holger Burkarth
************************************************************************/
Options Results
Address clariSSA
FailAt 99
AltFail=RESULT
DO FOREVER
MSRequester "TITLE '*** Change Main Settings ***'",
"PTEXT 'Display Screens...'",
"'Secure Operations...'",
"'AutoLocate Window...'",
"'Locate Animation Position'",
"'Colour Selection...'"
IF RC~=0 THEN LEAVE
IF RESULT=1 THEN call SCREENS()
ELSE IF RESULT=2 THEN call SECURITY()
ELSE IF RESULT=3 THEN call SnapWindow()
ELSE IF RESULT=4 THEN call USEPLAYPOS()
ELSE IF RESULT=5 THEN call COLREQOS()
LEAVE
END
FailAt AltFail
EXIT
SCREENS: procedure
DO
MSRequester "TITLE '*** Change Main Settings ***''Display Screens...'",
"'If several screens are in use they can easily'",
"'get out of order. To avoid this clariSSA can '",
"'resort the screens for you.'",
"''",
"'With very fast screen changes you can get'",
"'unpleasant screen flickering.'",
"PTEXT 'Sort Screens Automatically''Do Not Sort Screens'"
IF RC~=0 THEN RETURN
IF RESULT=1 THEN SetPref "SCREENS ON"
ELSE SetPref "SCREENS OFF"
RETURN
END
SECURITY: procedure
DO
MSRequester "TITLE '*** Change Main Settings ***''Secure Operations...'",
"'When using Erase or functions which'",
"'make permanent changes Secure Operations'",
"'will cause a requester to appear.'",
"''",
"'If you are aware of the possible'",
"'consequences, turn Security off'",
"'if you do not require requesters.'",
"PTEXT 'Security Status ON''Security Status OFF'"
IF RC~=0 THEN RETURN
IF RESULT=1 THEN SetPref "SECURITY ON"
ELSE SetPref "SECURITY OFF"
RETURN
END
SnapWindow: procedure
DO
MSRequester "TITLE '*** Change Main Settings ***''AutoLocate Window...'",
"'If you use an autoscrolling interface'",
"'with clariSSA not all screen areas may'",
"'be visible at any one time.'",
"''",
"'If a requester window opens off-screen'",
"'this function can be set so that it will'",
"'relocate to the visible region.'",
"PTEXT 'Automatic Relocation ON''Automatic Relocation OFF'"
IF RC~=0 THEN RETURN
IF RESULT=1 THEN SetPref "SnapWindow ON"
ELSE SetPref "SnapWindow OFF"
RETURN
END
USEPLAYPOS: procedure
DO
MSRequester "TITLE '*** Change Main Settings ***''Locate Anim Position...'",
"'If a specific frame needs to be'",
"'located it can come from a Play'",
"'operation. When Play is ended the'",
"'current position will be used as'",
"'the edit position. Be warned that'",
"'this can lead to accidental position'",
"'changes with certain edit operations.'",
"PTEXT 'Use Play Position''Change Only with Slider'"
IF RC~=0 THEN RETURN
IF RESULT=1 THEN SetPref "USEPLAYPOS ON"
ELSE SetPref "USEPLAYPOS OFF"
RETURN
END
COLREQOS: procedure
DO
MSRequester "TITLE '*** Change Main Settings ***''Colour Selector...'",
"'Some macros allow colour ranges to be'",
"'chosen when processing effects. This'",
"'requires a colour requester.'",
"'As clariSSA is economical with memory'",
"'only a few colours are available at once.'",
"'This display can be bypassed when selecting'",
"'from many colours but requires more memory'",
"'and can duplicate screens unecessarily.'",
"PTEXT 'Use New Screen''Use clariSSA Screen'"
IF RC~=0 THEN RETURN
IF RESULT=1 THEN SetPref "COLREQOS ON"
ELSE SetPref "COLREQOS OFF"
RETURN
END