# Automatically generated PSI dialog (PSI version 6.2.13)
# Wed Oct 15 18:12:50 2003


#SF_SIZES 0 0.3 2;
f_tmp = FIELD float;

# Template: callbackbutton
execute.gad = BUTTON push LOOKTEXT(push, "Render")
		VALUE(execute.val) STRETCH(1, 0);



# Template: toggle
trange.gad = PARMBUTTON("trange") toggle LOOKTEXT(check, "Frame Range")
		VALUE(trange.val) STRETCH(1, 0);


# Template: tuple
f.gad = PARM(3, "f", 0, 1.5) float "Start/End/Inc" STRETCH(1, 0);


# Template: menu
renderer.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Renderer", "renderer") SIZE(1.5, 0);
 renderer.menu VALUE(renderer.menuval)
	    LOOKTEXT(select, renderer.menuval, left_nowrap) STRETCH(1, 0);
}



# Template: menu.jumper
camera.gad = 
{
    LAYOUT(horizontal) STRETCH(1, 0)

    PARMLABEL("Camera", "camera") SIZE(1.3, 0);
    BUTTON push HELP("Jump to Op\nCtrl: Floating dialog parameters")
	LOOKICON(PSI_Jump, highlight, locate) SIZE(0.2, 0.2)
	VALUE(camera.jump);

    PARMFIELD (camera.state) pathstring VALUE(camera.val) STRETCH(1,0);
    BUTTON push VALUE(camera.plus) LOOKICON(DialogBox, bevel) SIZE(0.22, 0.22);
}


# Template: path
visible.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Visible Objects", "visible") SIZE(1.5, 0);
 PARMFIELD (visible.state) string VALUE(visible.val) STRETCH(1,0);
 BUTTON push VALUE(visible.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
 visible.menu VALUE(visible.menuval)
   SIZE(0.22, 0.22) LOOK(arrowright);
}



# Template: path
visiblefog.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Visible Atmosphere", "visiblefog") SIZE(1.5, 0);
 PARMFIELD (visiblefog.state) string VALUE(visiblefog.val) STRETCH(1,0);
 BUTTON push VALUE(visiblefog.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
 visiblefog.menu VALUE(visiblefog.menuval)
   SIZE(0.22, 0.22) LOOK(arrowright);
}


# Template: path
activelights.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Active Lights", "activelights") SIZE(1.5, 0);
 PARMFIELD (activelights.state) string VALUE(activelights.val) STRETCH(1,0);
 BUTTON push VALUE(activelights.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
 activelights.menu VALUE(activelights.menuval)
   SIZE(0.22, 0.22) LOOK(arrowright);
}



# Template: toggle
dispsop.gad = PARMBUTTON("dispsop") toggle LOOKTEXT(check, "Use Display SOP")
		VALUE(dispsop.val) STRETCH(1, 0);


# Template: toggle
initsim.gad = PARMBUTTON("initsim") toggle LOOKTEXT(check, "Initialize simulation SOPs")
		VALUE(initsim.val) STRETCH(1, 0);


# Template: toggle
tscript.gad = PARMBUTTON("tscript") toggle LOOKTEXT(check, "Generate Script File")
		VALUE(tscript.val) STRETCH(1, 0);


# Template: path
script.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Script File", "script") SIZE(1.5, 0);
 PARMFIELD (script.state) string VALUE(script.val) STRETCH(1,0);
 BUTTON push VALUE(script.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
 script.menu VALUE(script.menuval) SIZE(0.22, 0.22) LOOK(arrowright);
}



# Template: toggle
binary.gad = PARMBUTTON("binary") toggle LOOKTEXT(check, "Binary Script")
		VALUE(binary.val) STRETCH(1, 0);


# Template: path
picture.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Output Picture", "picture") SIZE(1.5, 0);
 PARMFIELD (picture.state) string VALUE(picture.val) STRETCH(1,0);
 BUTTON push VALUE(picture.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
 picture.menu VALUE(picture.menuval)
   SIZE(0.22, 0.22) LOOK(arrowright);
}



# Template: toggle
background.gad = PARMBUTTON("background") toggle LOOKTEXT(check, "Render in Background")
		VALUE(background.val) STRETCH(1, 0);


# Template: toggle
dof.gad = PARMBUTTON("dof") toggle LOOKTEXT(check, "Depth Of Field")
		VALUE(dof.val) STRETCH(1, 0);


# Template: slider
jitter.gad = PARM(1, "jitter", 0, 1.5) float "Jitter" 0.000000 1 STRETCH(1,0);




# Template: slider
dither.gad = PARM(1, "dither", 0, 1.5) float "Dither" 0.000000 1 STRETCH(1,0);




# Template: slider
gamma.gad = PARM(1, "gamma", 0, 1.5) float "Gamma" 0.001 3 STRETCH(1,0);




# Template: tuple
sample.gad = PARM(2, "sample", 0, 1.5) float "Super Sample" STRETCH(1, 0);


# Template: menu
field.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Fields", "field") SIZE(1.5, 0);
 field.menu VALUE(field.menuval)
	    LOOKTEXT(select, field.menuval, left_nowrap) STRETCH(1, 0);
}



# Template: menu
blur.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Motion Blur", "blur") SIZE(1.5, 0);
 blur.menu VALUE(blur.menuval)
	    LOOKTEXT(select, blur.menuval, left_nowrap) STRETCH(1, 0);
}



# Template: toggle
tres.gad = PARMBUTTON("tres") toggle LOOKTEXT(check, "Override Default Res")
		VALUE(tres.val) STRETCH(1, 0);


res.join =		# Template: join.top
{
  LAYOUT(horizontal) STRETCH(1, 0) MARGIN(0, 0.02) LOOK(none)

# Template: tuple
res.gad = PARM(2, "res", 0, 1.5) integer "Resolution" STRETCH(1, 0);


# Template: menu
resmenu.gad = resmenu.menu VALUE(resmenu.menuval) LOOK(arrowright) SIZE(0.22, 0.22);



}	# Template join.bot

# Template: slider
aspect.gad = PARM(1, "aspect", 0, 1.5) float "Pixel Aspect" 0.001 2.5 STRETCH(1,0);




# Template: path
prerender.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Pre-Render Script", "prerender") SIZE(1.5, 0);
 PARMFIELD (prerender.state) string VALUE(prerender.val) STRETCH(1,0);
 BUTTON push VALUE(prerender.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
 prerender.menu VALUE(prerender.menuval) SIZE(0.22, 0.22) LOOK(arrowright);
}



# Template: path
preframe.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Pre-Frame Script", "preframe") SIZE(1.5, 0);
 PARMFIELD (preframe.state) string VALUE(preframe.val) STRETCH(1,0);
 BUTTON push VALUE(preframe.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
 preframe.menu VALUE(preframe.menuval) SIZE(0.22, 0.22) LOOK(arrowright);
}



# Template: path
postframe.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Post-Frame Script", "postframe") SIZE(1.5, 0);
 PARMFIELD (postframe.state) string VALUE(postframe.val) STRETCH(1,0);
 BUTTON push VALUE(postframe.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
 postframe.menu VALUE(postframe.menuval) SIZE(0.22, 0.22) LOOK(arrowright);
}



# Template: path
postrender.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Post-Render Script", "postrender") SIZE(1.5, 0);
 PARMFIELD (postrender.state) string VALUE(postrender.val) STRETCH(1,0);
 BUTTON push VALUE(postrender.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
 postrender.menu VALUE(postrender.menuval) SIZE(0.22, 0.22) LOOK(arrowright);
}



# Template: path
command.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Render Command", "command") SIZE(1.5, 0);
 PARMFIELD (command.state) string VALUE(command.val) STRETCH(1,0);
 BUTTON push VALUE(command.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
}



# Template: toggle
ray_photonmap.gad = PARMBUTTON("ray_photonmap") toggle LOOKTEXT(check, "Generate Photon Map")
		VALUE(ray_photonmap.val) STRETCH(1, 0);


# Template: single
ray_nphotons.gad = 

{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Number of photons", "ray_nphotons") SIZE(1.5, 0);
 PARMFIELD (ray_nphotons.state) string VALUE(ray_nphotons.val) STRETCH(1,0);
 ray_nphotons.menu VALUE(ray_nphotons.menuval) SIZE(0.22, 0.22) LOOK(arrowright);
}


# Template: slider
ray_gthresh.gad = PARM(1, "ray_gthresh", 0, 1.5) float "Global Threshold" 0.000000 1 STRETCH(1,0);




# Template: path
ray_globalpmap.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Global Photon Map", "ray_globalpmap") SIZE(1.5, 0);
 PARMFIELD (ray_globalpmap.state) string VALUE(ray_globalpmap.val) STRETCH(1,0);
 BUTTON push VALUE(ray_globalpmap.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
 ray_globalpmap.menu VALUE(ray_globalpmap.menuval) SIZE(0.22, 0.22) 
	 LOOK(arrowright);
}



# Template: path
ray_causticpmap.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Caustic Photon Map", "ray_causticpmap") SIZE(1.5, 0);
 PARMFIELD (ray_causticpmap.state) string VALUE(ray_causticpmap.val) STRETCH(1,0);
 BUTTON push VALUE(ray_causticpmap.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
 ray_causticpmap.menu VALUE(ray_causticpmap.menuval) SIZE(0.22, 0.22) 
	 LOOK(arrowright);
}



# Template: toggle
ray_irradiance.gad = PARMBUTTON("ray_irradiance") toggle LOOKTEXT(check, "Irradiance Caching")
		VALUE(ray_irradiance.val) STRETCH(1, 0);


# Template: slider
ray_ierror.gad = PARM(1, "ray_ierror", 0, 1.5) float "  Default Error" 0.000000 1 STRETCH(1,0);




# Template: slider
ray_isample.gad = PARM(1, "ray_isample", 0, 1.5) integer "  Default Samples" 0.000000 10 STRETCH(1,0);




# Template: path
ray_ifile.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("  Cache File", "ray_ifile") SIZE(1.5, 0);
 PARMFIELD (ray_ifile.state) string VALUE(ray_ifile.val) STRETCH(1,0);
 BUTTON push VALUE(ray_ifile.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
 ray_ifile.menu VALUE(ray_ifile.menuval) SIZE(0.22, 0.22) LOOK(arrowright);
}



# Template: menu
ray_imode.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("  File Mode", "ray_imode") SIZE(1.5, 0);
 ray_imode.menu VALUE(ray_imode.menuval)
	    LOOKTEXT(select, ray_imode.menuval, left_nowrap) STRETCH(1, 0);
}



# Template: slider
ray_whitepoint.gad = PARM(1, "ray_whitepoint", 0, 1.5) float "White Point" 0.000000 1 STRETCH(1,0);




# Template: menu
ray_device.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Format", "ray_device") SIZE(1.5, 0);
 ray_device.menu VALUE(ray_device.menuval)
	    LOOKTEXT(select, ray_device.menuval, left_nowrap) STRETCH(1, 0);
 #  We leave this feel open for the following image-options template

# Template: image-options
# Close off the previous image-format template
    BUTTON toggle VALUE(ray_foptions.switch.val)
	    LOOKICONS(RightArrow, DownTriangle, bevel) SIZE(0.22, 0.22);
}

# Now, we have our feel
ray_foptions.gad = IMAGEFORMATOPTIONS ray_foptions.switch.val
		ray_foptions.val[0] VALUE(ray_foptions.val[1]) LOOK(plain)
		STRETCH(1, 0);
# Template: single
ray_filter.gad = 

{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Filter", "ray_filter") SIZE(1.5, 0);
 PARMFIELD (ray_filter.state) string VALUE(ray_filter.val) STRETCH(1,0);
 ray_filter.menu VALUE(ray_filter.menuval) SIZE(0.22, 0.22) LOOK(arrowright);
}


# Template: menu
ray_depthmap.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Shadow Maps", "ray_depthmap") SIZE(1.5, 0);
 ray_depthmap.menu VALUE(ray_depthmap.menuval)
	    LOOKTEXT(select, ray_depthmap.menuval, left_nowrap) STRETCH(1, 0);
}



# Template: menu
ray_reflectmap.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Reflect Maps", "ray_reflectmap") SIZE(1.5, 0);
 ray_reflectmap.menu VALUE(ray_reflectmap.menuval)
	    LOOKTEXT(select, ray_reflectmap.menuval, left_nowrap) STRETCH(1, 0);
}



ray_inlinemat.gad = NULL { SIZE(0,0) }
# 
# Template: menu
ray_shop.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("SHOP References", "ray_shop") SIZE(1.5, 0);
 ray_shop.menu VALUE(ray_shop.menuval)
	    LOOKTEXT(select, ray_shop.menuval, left_nowrap) STRETCH(1, 0);
}



# Template: menu
ray_polyopt.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Polygon Optimization", "ray_polyopt") SIZE(1.5, 0);
 ray_polyopt.menu VALUE(ray_polyopt.menuval)
	    LOOKTEXT(select, ray_polyopt.menuval, left_nowrap) STRETCH(1, 0);
}



# Template: menu
ray_nullsurface.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Reflect Maps", "ray_nullsurface") SIZE(1.5, 0);
 ray_nullsurface.menu VALUE(ray_nullsurface.menuval)
	    LOOKTEXT(select, ray_nullsurface.menuval, left_nowrap) STRETCH(1, 0);
}



# Template: menu
ray_flattencamera.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Transforms", "ray_flattencamera") SIZE(1.5, 0);
 ray_flattencamera.menu VALUE(ray_flattencamera.menuval)
	    LOOKTEXT(select, ray_flattencamera.menuval, left_nowrap) STRETCH(1, 0);
}



# Template: slider
ray_opacitylimit.gad = PARM(1, "ray_opacitylimit", 0, 1.5) float "Opacity Limit" 0.000000 1 STRETCH(1,0);




# Template: menu
ray_vexprofile.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("VEX Profiling", "ray_vexprofile") SIZE(1.5, 0);
 ray_vexprofile.menu VALUE(ray_vexprofile.menuval)
	    LOOKTEXT(select, ray_vexprofile.menuval, left_nowrap) STRETCH(1, 0);
}



# Template: toggle
ray_filescan.gad = PARMBUTTON("ray_filescan") toggle LOOKTEXT(check, "Scan Geometry Files For Shaders")
		VALUE(ray_filescan.val) STRETCH(1, 0);


# Template: toggle
decouple.gad = PARMBUTTON("decouple") toggle LOOKTEXT(check, "Decouple ray sampling")
		VALUE(decouple.val) STRETCH(1, 0);


# Template: tuple
raysample.gad = PARM(2, "raysample", 0, 1.5) integer "Ray Samples" STRETCH(1, 0);


#define AUX_CHANNEL(nchan)						\
  auxfile##nchan##.gad = {						\
    LAYOUT(vertical) STRETCH(1, 0) LOOK(plain)				\
    {									\
	LAYOUT(horizontal) STRETCH(1, 0) MARGIN(0, 0.05)		\
	PARMLABEL("VEX Variable", "ray_auxvar##nchan##") SIZE(1.3, 0);	\
	PARMFIELD (ray_auxvar##nchan##.state) string VALUE(ray_auxvar##nchan##.val) STRETCH(1,0);	\
	ray_auxsetvar##nchan##.gad =					\
		ray_auxsetvar##nchan##.menu				\
			VALUE(ray_auxsetvar##nchan##.menuval)		\
			     LOOK(arrowright) SIZE(0.22, 0.22);		\
	ray_auxtype##nchan##.menu VALUE(ray_auxtype##nchan##.menuval)	\
	    LOOKTEXT(select, ray_auxtype##nchan##.menuval, left_nowrap) \
		SIZE(1.2, 0);						\
    }									\
    {									\
	LAYOUT(horizontal) STRETCH(1, 0) MARGIN(0, 0.05)		\
	PARMLABEL("File/Plane Name", "ray_aux##nchan##") SIZE(1.3, 0);	\
	PARMFIELD (ray_aux##nchan##.state) string VALUE(ray_aux##nchan##.val) STRETCH(1,0);		\
	BUTTON push VALUE(ray_aux##nchan##.plus) LOOKICON(DialogBox, bevel)\
					 SIZE(0.22, 0.22);		\
	ray_aux##nchan##.menu VALUE(ray_aux##nchan##.menuval) 		\
		SIZE(0.22, 0.22) LOOK(arrowright); 			\
	ray_auxdepth##nchan##.menu VALUE(ray_auxdepth##nchan##.menuval) \
	    LOOKTEXT(select, ray_auxdepth##nchan##.menuval, left_nowrap) \
		SIZE(1.2, 0);						\
    }									\
    {									\
	LAYOUT(horizontal) STRETCH(1, 0) MARGIN(0, 0.05)		\
	PARMLABEL(" File Format", "ray_auxformat##nchan##") SIZE(1.3, 0); \
	ray_auxformat##nchan##.menu VALUE(ray_auxformat##nchan##.menuval) \
	LOOKTEXT(select, ray_auxformat##nchan##.menuval, left_nowrap)	\
	STRETCH(1, 0);							\
	BUTTON toggle VALUE(aux_foptions##nchan##)			\
	LOOKICONS(RightArrow, DownArrow, bevel) SIZE(0.22, 0.22);	\
    }									\
    IMAGEFORMATOPTIONS aux_foptions##nchan##				\
	    ray_auxfoptions##nchan##.val[0]				\
	    VALUE(ray_auxfoptions##nchan##.val[1]) LOOK(plain) STRETCH(1,0); \
    ray_auxfilter##nchan##.gad = BUTTON toggle				\
			LOOKTEXT(check, "Enable Filtering and Blending")\
			VALUE(ray_auxfilter##nchan##.val) STRETCH(1, 0);\
  }

AUX_CHANNEL(0)
AUX_CHANNEL(1)
AUX_CHANNEL(2)
AUX_CHANNEL(3)
AUX_CHANNEL(4)
AUX_CHANNEL(5)
AUX_CHANNEL(6)
AUX_CHANNEL(7)
AUX_CHANNEL(8)
AUX_CHANNEL(9)
AUX_CHANNEL(10)
AUX_CHANNEL(11)
AUX_CHANNEL(12)
AUX_CHANNEL(13)
AUX_CHANNEL(14)
AUX_CHANNEL(15)
AUX_CHANNEL(16)
AUX_CHANNEL(17)
AUX_CHANNEL(18)
AUX_CHANNEL(19)


pages_norm.gad = {
  LAYOUT(vertical) STRETCH(1, 0)

 { LOOK(underline) SIZE(0, 0.01) STRETCH(1, 0) }

  execute.gad;

  { LOOK(none) SIZE(0, 0.05) }
  BUTTONSTRIP radio
  {
    LAYOUT(horizontal!) MARGIN(0, 0) LOOK(none) STRETCH(1, 0)
    VALUE(pagenum.val)

    BUTTON push LAYOUT(horizontal!) LOOKTEXT(folder, "Standard")
		STRETCH(1, 0);
    BUTTON push LAYOUT(horizontal!) LOOKTEXT(folder, "Specific")
		STRETCH(1, 0);
    BUTTON push LAYOUT(horizontal!) LOOKTEXT(folder, "Deep Raster")
		STRETCH(1, 0);
    BUTTON push LAYOUT(horizontal!) LOOKTEXT(folder, "Scripts")
		STRETCH(1, 0);
 }

 {
    LAYOUT(vertical) LOOK(tabdialog) STRETCH(1, 0) MARGIN(0.05, 0)
    { SIZE(0, 0.05) }

    SWITCHER
    {
	LOOK(plain) STRETCH(1, 0) LAYOUT(overlap!) VALUE(pagenum.val)
	{
	    LAYOUT(vertical) MARGIN(0, 0.025) STRETCH(1, 0)
	    camera.gad;
	    visible.gad;
	    visiblefog.gad;
	    activelights.gad;
	    picture.gad;
	    ray_device.gad;
	    ray_foptions.gad;
	    trange.gad;
	    f.gad;
	    initsim.gad;
	    tscript.gad;
	    binary.gad;
	    script.gad;
	    background.gad;
	    command.gad;
	    sample.gad;
	    decouple.gad;
	    raysample.gad;
	    tres.gad;
	    res.join;
	    aspect.gad;
	    field.gad;
	    blur.gad;
	    dof.gad;
	    jitter.gad;
	    dither.gad;
	    gamma.gad;
	}
	{
	    LAYOUT(vertical) MARGIN(0, 0.025) STRETCH(1, 0)
	    ray_photonmap.gad;
	    ray_nphotons.gad;
	    ray_globalpmap.gad;
	    ray_causticpmap.gad;

	    ray_irradiance.gad;
	    ray_ierror.gad;
	    ray_isample.gad;
	    ray_ifile.gad;
	    ray_imode.gad;

	    ray_whitepoint.gad;
	    ray_filter.gad;
	    ray_depthmap.gad;
	    ray_reflectmap.gad;
	    ray_opacitylimit.gad;
	    ray_polyopt.gad;
	    ray_nullsurface.gad;
	    ray_flattencamera.gad;
	    ray_shop.gad;
	    ray_vexprofile.gad;
	    ray_filescan.gad;
	}
	{
	    LAYOUT(vertical) STRETCH(1, 0)
	    BUTTONSTRIP radio
	    {
		LAYOUT(horizontal!) MARGIN(0, 0) LOOK(none) STRETCH(1, 0)
			VALUE(auxpagenum.val)

		BUTTON push LAYOUT(horizontal!) LOOKTEXT(folder, "1-5")
			STRETCH(1, 0);
		BUTTON push LAYOUT(horizontal!) LOOKTEXT(folder, "6-10")
			STRETCH(1, 0);
		BUTTON push LAYOUT(horizontal!) LOOKTEXT(folder, "11-15")
			STRETCH(1, 0);
		BUTTON push LAYOUT(horizontal!) LOOKTEXT(folder, "16-20")
			STRETCH(1, 0);
	    }

	    SWITCHER
	    {
	    LOOK(plain) STRETCH(1, 0) LAYOUT(overlap!) VALUE(auxpagenum.val)
		{
		LAYOUT(vertical) MARGIN(0, 0.025) STRETCH(1, 0)
		auxfile0.gad;		{ SIZE(0, 0.1) }
		auxfile1.gad;		{ SIZE(0, 0.1) }
		auxfile2.gad;		{ SIZE(0, 0.1) }
		auxfile3.gad;		{ SIZE(0, 0.1) }
		auxfile4.gad;
		}
		{
		LAYOUT(vertical) MARGIN(0, 0.025) STRETCH(1, 0)
		auxfile5.gad;		{ SIZE(0, 0.1) }
		auxfile6.gad;		{ SIZE(0, 0.1) }
		auxfile7.gad;		{ SIZE(0, 0.1) }
		auxfile8.gad;		{ SIZE(0, 0.1) }
		auxfile9.gad;
		}
		{
		LAYOUT(vertical) MARGIN(0, 0.025) STRETCH(1, 0)
		auxfile10.gad;		{ SIZE(0, 0.1) }
		auxfile11.gad;		{ SIZE(0, 0.1) }
		auxfile12.gad;		{ SIZE(0, 0.1) }
		auxfile13.gad;		{ SIZE(0, 0.1) }
		auxfile14.gad;
		}
		{
		LAYOUT(vertical) MARGIN(0, 0.025) STRETCH(1, 0)
		auxfile15.gad;		{ SIZE(0, 0.1) }
		auxfile16.gad;		{ SIZE(0, 0.1) }
		auxfile17.gad;		{ SIZE(0, 0.1) }
		auxfile18.gad;		{ SIZE(0, 0.1) }
		auxfile19.gad;
		}
	    }
	}
	{
	    LAYOUT(vertical) MARGIN(0, 0.025) STRETCH(1, 0)
	    prerender.gad;
	    preframe.gad;
	    postframe.gad;
	    postrender.gad;
	}
    }
 }
}

dialog_norm.gad = 
{
 LAYOUT(vertical!) MARGIN(0, 0.02) STRETCH(1, 0) LOOK(plain)

 pages_norm.gad;
}

preset.menu = APPMENUBUTTON cursor VALUE(PSI_PRESET);

yank_info = LOOKSIZEFEEL
{ 
    FULLOVERLAY LAYOUT(horizontal) MARGIN(0.1, 0)

    LOOKTEXT(paper, PSI_COPY_INFO)
    VALUE(PSI_COPY_INFO)
}

extrastuffstowbar_minimize.val := 1;

dialog = OPENNOTIFIER
{
    LAYOUT(vertical>) MARGIN(0, 0.02) LOOK(plain) VALUE(open.val)
    STRETCH(1, 0)
     
    SWITCHER tight
    {
	LAYOUT(overlap%) VALUE(extrastuffstowbar_minimize.val) STRETCH(1, 0) LOOK(plain)
	{
	    LAYOUT(horizontal%) MARGIN(0.02, 0) STRETCH(1, 0)

	    BUTTON push SENDS(1) HELP("Push to hide parameter controls")
			LOOK(bevel2) VALUE(extrastuffstowbar_minimize.val) SIZE(0.06, 0)
			STRETCH(0, 1);

	    {
		LAYOUT(horizontal) MARGIN(0, 0)

		BUTTON repeat SENDS(-1)
		    HELP("Jump To Previous Keyframe In This Operator")
		    LOOKSYMBOL("prevKey", "PlayBarOnColor", none)
		    FGCOLOR("PlayBarOffColor") BGCOLOR("BackgroundColor")
		    LOOKOPTION(shifted, 0) SIZE(0.2, 0.2) VALUE(PSI_KEY_STEP);
		BUTTON repeat SENDS( 1)
		    HELP("Jump To Next Keyframe In This Operator")
		    LOOKSYMBOL("nextKey", "PlayBarOnColor", none)
		    FGCOLOR("PlayBarOffColor") BGCOLOR("BackgroundColor")
		    LOOKOPTION(shifted, 0) SIZE(0.2, 0.2) VALUE(PSI_KEY_STEP);
	    }
	    MENUBUTTON yank_info cursor LOOKICON(SI_clipboard, bevel) 
			SIZE(0.2, 0.2);
	    {
		LAYOUT(horizontal) MARGIN(0, 0.02)
		MENUBUTTON preset.menu sticky LOOKTEXT(popdown, "Presets")
			    VALUE(PSI_PRESET);
	    }
	}
	{
	    LAYOUT(horizontal) MARGIN(0, 0) STRETCH(1, 0)
	    BUTTON push SENDS(0) HELP("Push to show parameter controls")
			LOOK(bevel2) VALUE(extrastuffstowbar_minimize.val) 
			SIZE(0, 0.06) STRETCH(1, 0);
	}
    }

    dialog_norm.gad;
}
#SF_SIZES;
