Ignore:
Timestamp:
Apr 22, 2014, 9:44:39 AM (10 years ago)
Author:
sommeria
Message:

adpatations to 3D fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/msgbox_uvmat.m

    r746 r747  
    66% OUTPUT:
    77% answer  (text string)= 'yes', 'No', 'cancel', or the text string introduced as input
     8% for title='WAITING...', the output is the handle of the figure, to allow deletion by the calling program.
    89%
    910%INPUT:
    1011% title: string indicating the type of message box:
    11 %          title= 'INPUT_TXT','CONFIMATION' ,'ERROR', 'WARNING', 'INPUT_Y-N','INPUT_MENU' default = 'INPUT_TXT' (the title is displayed in the upper bar of the fig).
     12%          title= 'INPUT_TXT','INPUT_Y-N','INPUT_MENU','ERROR', 'WARNING','CONFIMATION','WAITING...',default = 'INPUT_TXT' (the title is displayed in the upper bar of the fig).
    1213%          if title='INPUT_TXT', input data is asked in an edit box
    13 %          if title='CONFIMATION'', 'ERROR', 'WARNING', the figure remains  opened until a button 'OK' is pressed
     14%          if title='CONFIMATION'', 'ERROR', 'WARNING','RULER' the figure remains  opened until a button 'OK' is pressed
     15%             title='RULER' is used for display of length and angle from the ruler tool.
    1416%          if title='INPUT_Y-N', an answer Yes/No is requested
    15 % display, displayed text
     17%          if title='WAITING...' the figure remains open until the program deletes it
     18% display: displayed text
    1619% default_answer: default answer in the edit box (only used with title='INPUT_TXT')
    1720
     
    8891            testCancel=1; %no cancel button
    8992            testNo=1; % button No activated
    90         case {'RULER'}
     93        case 'RULER'
    9194            icontype='';
    9295            testinputstring=1;
     
    97100            testinputstring=2;
    98101            testCancel=1; %no cancel button
    99         case 'INFO'
     102        case 'WAITING...'
    100103            icontype='';
    101104            testOK=0;
     
    213216    if strcmp(get(handles.OK,'Visible'),'on')
    214217    delete(handles.figure1);
    215     else %case of INFO display (non modal)
     218    else %case of WAITING... display (non modal)
    216219        varargout{1}=hObject;
    217220    end
Note: See TracChangeset for help on using the changeset viewer.