Documentation of preparepointers


Global Index (short | long) | Local contents | Local Index (short | long)


Function Synopsis

pj = preparepointers( pj )

Help text

PREPAREPOINTERS Set Pointers of all open Figures to Watch. 
   Saves current value for restoration by RESTOREPOINTERS.

   See also RESTOREPOINTER

Cross-Reference Information

This function is called by

Listing of function preparepointers

function pj = preparepointers( pj )

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.2 $  $Date: 2000/06/01 02:54:07 $

%Let user know we are working and get rid of XOR cross hair cursor
if strcmp( pj.Driver, 'mfile' )
    pj.AllFigures = [];
    return
end

pj.AllFigures = findall(0,'type','figure');
if length(pj.AllFigures) > 0
    pj.AllPointers = get( pj.AllFigures, 'pointer');
    set( pj.AllFigures, 'pointer', 'watch')
end