Ignore:
Timestamp:
Mar 1, 2014, 10:46:51 AM (10 years ago)
Author:
sommeria
Message:

various improvements for interactive use

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/msgbox_uvmat.m

    r713 r726  
    6262set(handles.Cancel,'Position',[300 2 60 30])
    6363set(handles.Cancel,'FontSize',15)
    64 %set(hObject,'WindowKeyPressFcn',{'@keyboard_callback',handles})%set keyboard action function
     64% set(hObject,'WindowKeyPressFcn',{'keyboard_callback',handles})%set keyboard action function
    6565
    6666% Update handles structure
     
    280280end   
    281281
    282 %'keyboard_callback:' function activated when a key is pressed on the keyboard
    283 %-----------------------------------
    284 function keyboard_callback(hObject,eventdata,handleshaxes)
    285 cur_axes=get(hObject,'CurrentAxes');%current plotting axes of the figure with handle hObject
    286 xx=double(get(hObject,'CurrentCharacter')) %get the keyboard character
    287 
    288 
    289 
     282
     283
     284
Note: See TracChangeset for help on using the changeset viewer.