;+ ; NAME: ; qView_InitBox ; PURPOSE: ; Set up 'Set Area' selection for a full image ; CATEGORY: ; Widget qView ; CALLING SEQUENCE: PRO qView_InitBox, state, dim ; INPUTS: ; state array[1]; type: structure ; qView state structure ; dim array[2]; type: integer ; image dimensions obtained from reading an image file ; OUTPUTS: ; (none) ; INCLUDE: @compile_opt.pro ; On error, return to caller ; CALLS: ; qImage_SendStructure, qView_SetInfo, qView_Sensitive ; PROCEDURE: ; The area selected covers the full image ; MODIFICATION HISTORY: ; FEB-2000, Paul Hick (UCSD/CASS; pphick@ucsd.edu) ;- qView_SetInfo , state, /boxset, qImage_SendStructure(dim=dim, box=[[0,0],[dim-1]], offset=[0,0], subdim=dim) qView_Sensitive, state, /set_box;, /get_data RETURN & END