forked from ucdavis/erplab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
erplab_default_values.m
executable file
·21 lines (20 loc) · 1.01 KB
/
erplab_default_values.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
erplabver = '6.1.4'; % current erplab version
erplabrel = '18-Jul-2017'; % DOB
%ColorB = [170 180 195]/255; % old background color (until version 3)
%ColorB = [0.9216 0.8353 0.6078]; % background color for version 4
%ColorB = [0.7020 0.7647 0.8392]; % background color since version 4.0.0.3
%ColorB = [0.9804 0.8118 0.5529]; % background color since version 4.0.0.11
ColorB = [0.7020 0.77 0.85]; % background color since version 4.0.0.12
ColorF = [0.02 0.02 0.02]; % foreground color since version 4.0.2.0
errorColorF = [0 0 0]; % foreground color for error window
errorColorB = [0.6824 1 0.6353]; % background color for error window
fontunitsGUI = 'pixels';
set(0,'Units','pixels')
thisscreen = get(0, 'ScreenSize');
if thisscreen(4)>=1440
fontsizeGUI = 12; % high resolution display (eg Retina)
elseif thisscreen(4)==1440
fontsizeGUI = 11; % medium-high resolution display (eg recent 27" iMacs)
else
fontsizeGUI = 8.2;
end