diff --git a/Thermo.jpg b/tsg_icon/Thermo.jpg similarity index 100% rename from Thermo.jpg rename to tsg_icon/Thermo.jpg diff --git a/tsg_util/aboutDialog.m b/tsg_util/aboutDialog.m index 71715f059a791ecde152784359eeed2a830851d4..10772ba82c45dcf63862b2f476305044be3b361b 100644 --- a/tsg_util/aboutDialog.m +++ b/tsg_util/aboutDialog.m @@ -1,4 +1,4 @@ -function aboutDialog(hTsgGUI) +function aboutDialog(hTsgGUI, DEFAULT_PATH_FILE) % % Input % ----- @@ -41,7 +41,7 @@ hCenterPanel = uipanel( ... % properties, to review % --------------------- axes('parent',hCenterPanel,'DataAspectRatioMode','manual'); -img = image(imread('Thermo.jpg')); +img = image(imread(strcat(DEFAULT_PATH_FILE, 'tsg_icon', filesep, 'Thermo.jpg'))); set(img, 'clipping', 'off','ButtonDownFcn', @quitAboutCallback); axis off; axis fill; axis image; diff --git a/tsgqc.m b/tsgqc.m index 9d40b9114d2d00ec2ba791265e7146cd26b4e5d1..6fc504b82926e6aadfcf8ae216dd856ff4b3e831 100644 --- a/tsgqc.m +++ b/tsgqc.m @@ -2822,7 +2822,7 @@ hrbInterpCancel = uicontrol( ... % ------------------------------------------------------------------- function AboutMenuCallback(hObject, eventdata) %splash('Thermo.jpg', 3000); - aboutDialog(hMainFig); + aboutDialog(hMainFig, DEFAULT_PATH_FILE); end %% HeaderMenuCallback