Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

spedas/gui/display/draw_object/

spd_ui_draw_object__makeview.pro


spd_ui_draw_object method: makeView creates the views for a panel, incorporates all the layout information that can effect this. Inputs: dims(2 element long) : The number of rows and columns in the overall layout margins(6 element double): [leftMargin,rightMargin,topMargin,bottomMargin,horizontalMargin,verticalMargin] in draw-area normalized coordinates pos(4 element long): [row,col,rowSpan,colSpan] of the panel being drawn. pcoord(4 element double): User defined explicit panel position, in draw-area normalized coords: [xpos,ypos,xsize,ysize], if unused, will be -1 markernum(long): The number of markers in the panel. Each marker is in a different view, so a number of markerviews equal to markernum will be returned bottomsizes(double array): Array of verical text sizes to be allocated at the bottom of each panel topsizes(double array): Array of verical text sizes to be allocated at the top of each panel Outputs: view(object reference): The static panel IDLgrView annotation(object reference): The panel IDLgrView for dynamic display elements(ie annotations etc.. that are being updated) markers(array of object references): Array of IDLgrViews for each marker. Each marker ends up needing to be put in separate views, to guarantee proper layering. xplotpos(2 element double): The determined x-position of panel in draw-area normalized coordinates [xstart,xstop] yplotpos(2 element double): The determined y-position of panel in draw-area normalized coordinates [ystart,ystop] fail(boolean): Will be 1 if operation fails, 0 otherwise outmargins(5 element double) : Indicates the size of the various panel regions in draw-normalized coordinates, so that cursor clicks can be properly resolved. [left,right,top,bottom,var] errmsg(anonymous struct): Returns information about an error that has occured. This is not implemented uniformly, but used in particular cases where it is helpful to return error information up to the calling routine so, for example, popup messages can be issued to user. It is intended that developers make use of it to return other errors (or informational messages) when they find it necessary. Note: if no such error occurs errmsg is simply not set. errmsg being set does not guarantee fail=1 and likewise fail=1 is not an indication that errmsg is set. See also notes in spd_ui_draw_object__update $LastChangedBy: aaflores $ $LastChangedDate: 2014-06-11 15:56:35 -0700 (Wed, 11 Jun 2014) $ $LastChangedRevision: 15353 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas/gui/display/draw_object/spd_ui_draw_object__makeview.pro $

Routines

top source spd_ui_draw_object::makeView

spd_ui_draw_object::makeView, dims, margins, pos, pcoord, markernum, bottomsizes, topsizes, view=view, annotation=annotation, markers=markers, xplotpos=xplotpos, yplotpos=yplotpos, fail=fail, errmsg=errmsg, outmargins=outmargins

Parameters

dims
margins
pos
pcoord
markernum
bottomsizes
topsizes

Keywords

view
annotation
markers
xplotpos
yplotpos
fail
errmsg
outmargins

File attributes

Modification date: Tue Oct 21 13:53:41 2014
Lines: 125