Skip to content
Snippets Groups Projects
Commit 7bb077af authored by leprob001's avatar leprob001
Browse files

Update soundsource color panel in edit TOA window.

parent 25ff63f2
No related branches found
No related tags found
No related merge requests found
124
\ No newline at end of file
125
\ No newline at end of file
......@@ -12,12 +12,12 @@ artoaGui.editTimeOfArrival.frameControlsSoundSourceColors = uipanel( ...
'Title', 'Soundsource colors', ...
'Units', 'normalized', ...
'BackgroundColor', 'white', ...
'Position', [.01 .65 width .25] ...
'Position', [.01 .575 width .325] ...
);
% add label and color for every sound source that is available
spaceTopAndBottom = .1;
height = .08;
height = .06;
leftItemOffset = 0;
rightItemOffset = 0;
......@@ -30,7 +30,7 @@ isLeftItem = true;
for i = 1:length(fnames)
colorIndex = artoa.soundsources.colorregister.getColorIndex(fnames{i}, artoaWorkspace.soundsourceColorRegister);
if colorIndex == 0
color = [0 0 0];
color = [.9 .9 .9];
else
color = artoaWorkspace.soundsourceColors(colorIndex, :);
end
......
......@@ -234,7 +234,7 @@ artoaGui.editTimeOfArrival.frameToaHistogram = uipanel( ...
'Title', 'TOA histogram', ...
'Units', 'normalized', ...
'BackgroundColor', 'white', ...
'Position', [.01 .45 width .15] ...
'Position', [.01 .4 width .15] ...
);
%% Colormap slider
......@@ -244,7 +244,7 @@ artoaGui.editTimeOfArrival.frameControlsColormapSlider = uipanel( ...
'Title', 'Adjust colormap boundaries', ...
'Units', 'normalized', ...
'BackgroundColor', 'white', ...
'Position', [.01 .3 width .1] ...
'Position', [.01 .275 width .1] ...
);
artoaGui.editTimeOfArrival.textUpperBoundary = uicontrol( ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment