📄 w5_e_ped.m
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% w5_edit_pre_edit.m
%
% jmw
% 6/20/94
%
% User-Specified Maps: Edit Window
% Sets up buttons in initial window which requires user to select which
% map he/she wants to edit.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% only open if not already opened ...
if (~isempty(w5_edit_h))
;
% do nothing, window already opened
else
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% make (map) edit window
w5_edit_ht = 450;
if (isempty(w5_edit_saved_position))
w5_edit_h=figure('Position',[20 50 w5_edit_ht 450],...
'Numbertitle','off','Name','Maps: User-Map Edit:'...
,'Resize','off','Visible','on',...
'Color',BACK_COLOR);
else
w5_edit_h=figure('Position', w5_edit_saved_position,...
'Numbertitle','off','Name','Maps: User-Map Edit'...
,'Resize','off','Visible','on',...
'Color',BACK_COLOR);
end;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% establish reference point for all buttons
w5_edit_L1 = 20;
w5_edit_H1 = w5_edit_ht - 150;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% make title
axis([ 0 100 0 1]);
w5_edit_pos(i,:) = [ 10 0.95];
s=sprintf('Please Enter Which User Map to Edit:');
text('Position',w5_edit_pos(i,:),'String', s ,'color',TEXT_COLOR);
axis off;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% make user select buttons
w5_edit_user_h(1)=uicontrol('Position',[w5_edit_L1+60 w5_edit_H1 80 30],...
'String','User 1','Callback','w5_ed_se',...
'Style','Radiobutton');
w5_edit_user_h(2)=uicontrol('Position',[w5_edit_L1+160 w5_edit_H1 80 30],...
'String','User 2','Callback','w5_ed_se',...
'Style','Radiobutton');
w5_edit_user_h(3)=uicontrol('Position',[w5_edit_L1+260 w5_edit_H1 80 30],...
'String','User 3','Callback','w5_ed_se',...
'Style','Radiobutton');
w5_edit_user_h(4)=uicontrol('Position',[w5_edit_L1+160 w5_edit_H1-60 80 30],...
'String','Cancel','Callback','w5_ed_se',...
'Style','Radiobutton');
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
end; % end if (~isempty(w5_edit_h))
%return;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -