-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPresets_AT_LeviLab.j
35 lines (28 loc) · 1.13 KB
/
Presets_AT_LeviLab.j
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
This file is part of FrACT10, a vision test battery.
Copyright © 2024 Michael Bach, bach@uni-freiburg.de, <https://michaelbach.de>
Presets_AT_LeviLab.j (a helper for Presets)
Settings for a project by Ângela at LeviLab
*/
@import "Settings.j"
@implementation Presets_AT_LeviLab: CPObject
+ (void) apply {
[Presets setStandardDefaultsKeepingCalBarLength];
// General pane
[[CPUserDefaults standardUserDefaults] setInteger: kNAlternativesIndex4 forKey: "nAlternativesIndex"]; // 4
[Settings setNTrials04: 24];
[Settings setResponseInfoAtStart: NO]; [Settings setEnableTouchControls: NO];
[Settings setDecimalMarkCharIndex: kDecimalMarkCharIndexComma];
[Settings setTimeoutDisplaySeconds: 0.15];
[Settings setEccentXInDeg: 8];
[Settings setDistanceInCM: 68.5];
[Settings setResults2clipboard: kResults2ClipFullHistory];
[Settings setDisplayTransform: 1]; // 1=mirror horizontally
[Settings setTestOnFive: kTestAcuityC];
// Acuity pane
[Settings setMaxDisplayedAcuity: 99];
// Misc pane
[Settings setEccentRandomizeX: YES];
[Settings setPresetName: "AT@LeviLab"];
}
@end