Changeset 182 for trunk/src/civ.m


Ignore:
Timestamp:
Jan 23, 2011, 6:55:29 PM (13 years ago)
Author:
sommeria
Message:

introduction of a button OK to close the status GUI in civ, bug repair for volume images .vol (uvmat and set_object)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r180 r182  
    46394639    hfig=figure;
    46404640    set(hfig,'name','civ_status')
    4641     hlist=uicontrol('Style','listbox','Units','normalized', 'Position',[0.05 0.05 0.9 0.75], 'Callback', @open_view_field,'tag','list');
     4641    hlist=uicontrol('Style','listbox','Units','normalized', 'Position',[0.05 0.09 0.9 0.71], 'Callback', @open_view_field,'tag','list');
    46424642    uicontrol('Style','listbox','Units','normalized', 'Position', [0.05 0.87 0.9 0.1],'tag','msgbox');
    46434643    uicontrol('Style','frame','Units','normalized', 'Position', [0.05 0.81 0.9 0.05]);
     4644    uicontrol('Style','pushbutton','Units','normalized', 'Position', [0.7 0.01 0.2 0.07],'String','OK','FontWeight','bold','FontUnits','normalized','FontSize',0.9,'Callback',@close_GUI);
    46444645    BarPosition=[0.05 0.81 0.01 0.05];
    46454646    hwaitbar=uicontrol('Style','frame','Units','normalized', 'Position',BarPosition ,'BackgroundColor',[1 0 0],'tag','waitbar');
     
    47364737      end
    47374738
    4738 
     4739%-------------------------------------------------------------------   
     4740% call 'view_field.fig' to display the selected field
     4741function close_GUI(hObject, eventdata)
     4742%-------------------------------------------------------------------
     4743     delete(gcbf)
Note: See TracChangeset for help on using the changeset viewer.