# Automatically generated PSI dialog (PSI version 6.2.13)
# Wed Oct 15 14:52:39 2003


#SF_SIZES 0 0.3 2;
f_tmp = FIELD float;

# Template: single

# Template: alphastring
crname.gad = 

{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Group Name", "crname") SIZE(1.5, 0);
 PARMFIELD (crname.state) string VALUE(crname.val) STRETCH(1,0);
}


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

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



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

 PARMLABEL("Geometry Type", "geotype") SIZE(1.5, 0);
 geotype.menu VALUE(geotype.menuval)
	    LOOKTEXT(select, geotype.menuval, left_nowrap) STRETCH(1, 0);
}



# Template: toggle
ordered.gad = PARMBUTTON("ordered") toggle LOOKTEXT(check, "Create Ordered")
		VALUE(ordered.val) STRETCH(1, 0);


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

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



# Template: slider
filter.gad = PARM(1, "filter", 0, 1.5) integer "Filter Expression" 0.000000 100 STRETCH(1,0);




# Template: callbackbutton
transfer.gad = BUTTON push LOOKTEXT(push, "Transfer Selection To Pattern")
		VALUE(transfer.val) STRETCH(1, 0);



# Template: single
pattern.gad = 

{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Pattern", "pattern") SIZE(1.5, 0);
 PARMFIELD (pattern.state) string VALUE(pattern.val) STRETCH(1,0);
}


# Template: tuple
range.gad = PARM(2, "range", 0, 1.5) integer "Start / End" STRETCH(1, 0);


# Template: tuple
select.gad = PARM(2, "select", 0, 1.5) integer "Select _ of _" STRETCH(1, 0);


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

 PARMLABEL("Bounding Type", "boundtype") SIZE(1.5, 0);
 boundtype.menu VALUE(boundtype.menuval)
	    LOOKTEXT(select, boundtype.menuval, left_nowrap) STRETCH(1, 0);
}



# Template: tuple
t.gad = PARM(3, "t", 0, 1.5) float "Center" STRETCH(1, 0);


# Template: tuple
size.gad = PARM(3, "size", 0, 1.5) float "Size" STRETCH(1, 0);


# Template: polar
dir.gad = PARM(3, "dir", 1, 1.5) float "Direction" STRETCH(1, 0) LOOK(plain);


# Template: angle.top
angle.gad = PARM(1, "angle", 2, 1.5) float "Spread Angle" 0.000000 180 STRETCH(1, 0);


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

 PARMLABEL("Backface from", "camerapath") SIZE(1.3, 0);
 BUTTON push HELP("Jump to Op") LOOKICON(PSI_Jump, highlight, locate)
             SIZE(0.2, 0.2) VALUE(camerapath.jump);

 PARMFIELD (camerapath.state) pathstring VALUE(camerapath.val) STRETCH(1,0);
 BUTTON push VALUE(camerapath.plus) LOOKICON(DialogBox, bevel)
	 SIZE(0.22, 0.22);
}
# Template: slider
nonplanartol.gad = PARM(1, "nonplanartol", 0, 1.5) float "Non-Planar Polygons Tolerance" 0.000000 1 STRETCH(1,0);




# Template: angle.top
edgeangle.gad = PARM(1, "edgeangle", 2, 1.5) float "Edge Angle" 0.000000 360 STRETCH(1, 0);


# Template: slider
edgestep.gad = PARM(1, "edgestep", 0, 1.5) integer "Edge Depth" 0.000000 10 STRETCH(1,0);




# Template: slider
point.gad = PARM(1, "point", 0, 1.5) integer "Point Number" 0.000000 10 STRETCH(1,0);




# Template: toggle
unshared.gad = PARMBUTTON("unshared") toggle LOOKTEXT(check, "Unshared Edges")
		VALUE(unshared.val) STRETCH(1, 0);


# Template: toggle
boundarygroups.gad = PARMBUTTON("boundarygroups") toggle LOOKTEXT(check, "Create Boundary Groups")
		VALUE(boundarygroups.val) STRETCH(1, 0);


# Template: single
grpequal.gad = 

{
 LAYOUT(horizontal) SIZE(1.9, 0)

 PARMFIELD (grpequal.state) string VALUE(grpequal.val) STRETCH(1,0);
 grpequal.menu VALUE(grpequal.menuval)
	 SIZE(0.25, 0.25) LOOK(arrowright);
 { LOOKTEXT(plain, "=")}
}


not1.gad = SWITCHER
{
 LOOK(plain) VALUE(not1.val)

 BUTTON push SENDS(1) HELP("click to take the complement of the group")
	VALUE(not1.val) LOOKICON(Empty, bevel) SIZE(0.245, 0.245);
 BUTTON push SENDS(0)
	VALUE(not1.val) LOOKICON(exclamation, bevel) SIZE(0.245, 0.245);
}


grp1.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMFIELD (grp1.state) string VALUE(grp1.val) STRETCH(1, 0);
 grp1.menu VALUE(grp1.menuval)
	 SIZE(0.25, 0.25) LOOK(arrowright);
}


op1.gad = 
 op1.menu VALUE(op1.menuval) LOOKTEXT(select, op1.menuval, left_nowrap) SIZE(1.9, 0);


not2.gad = SWITCHER
{
 LOOK(plain) VALUE(not2.val)

 BUTTON push SENDS(1) HELP("click to take the complement of the group")
	VALUE(not2.val) LOOKICON(Empty, bevel) SIZE(0.245, 0.245);
 BUTTON push SENDS(0)
	VALUE(not2.val) LOOKICON(exclamation, bevel) SIZE(0.245, 0.245);
}


grp2.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMFIELD (grp2.state) string VALUE(grp2.val) STRETCH(1,0);
 grp2.menu VALUE(grp2.menuval)
	 SIZE(0.25, 0.25) LOOK(arrowright);
}


op2.gad = 
 op2.menu VALUE(op2.menuval) LOOKTEXT(select, op2.menuval, left_nowrap) SIZE(1.9, 0);


not3.gad = SWITCHER
{
 LOOK(plain) VALUE(not3.val)

 BUTTON push SENDS(1) HELP("click to take the complement of the group")
	VALUE(not3.val) LOOKICON(Empty, bevel) SIZE(0.245, 0.245);
 BUTTON push SENDS(0)
	VALUE(not3.val) LOOKICON(exclamation, bevel) SIZE(0.245, 0.245);
}


grp3.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMFIELD (grp3.state) string VALUE(grp3.val) STRETCH(1,0);
 grp3.menu VALUE(grp3.menuval)
	 SIZE(0.25, 0.25) LOOK(arrowright);
}


op3.gad = 
 op3.menu VALUE(op3.menuval) LOOKTEXT(select, op3.menuval, left_nowrap) SIZE(1.9, 0);


not4.gad = SWITCHER
{
 LOOK(plain) VALUE(not4.val)

 BUTTON push SENDS(1) HELP("click to take the complement of the group")
	VALUE(not4.val) LOOKICON(Empty, bevel) SIZE(0.245, 0.245);
 BUTTON push SENDS(0)
	VALUE(not4.val) LOOKICON(exclamation, bevel) SIZE(0.245, 0.245);
}


grp4.gad = 
{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMFIELD (grp4.state) string VALUE(grp4.val) STRETCH(1,0);
 grp4.menu VALUE(grp4.menuval)
	 SIZE(0.25, 0.25) LOOK(arrowright);
}


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

 PARMLABEL("Convert Type", "cnvtype") SIZE(1.5, 0);
 cnvtype.menu VALUE(cnvtype.menuval)
	    LOOKTEXT(select, cnvtype.menuval, left_nowrap) STRETCH(1, 0);
}



# Template: single
convertg.gad = 

{
 LAYOUT(horizontal) STRETCH(1, 0)

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


# Template: single
cnvtname.gad = 

{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("Convert Name", "cnvtname") SIZE(1.5, 0);
 PARMFIELD (cnvtname.state) string VALUE(cnvtname.val) STRETCH(1,0);
}


# Template: toggle
preserve.gad = PARMBUTTON("preserve") toggle LOOKTEXT(check, "Preserve Original")
		VALUE(preserve.val) STRETCH(1, 0);


# Template: single
oldname.gad = 

{
 LAYOUT(horizontal) STRETCH(1, 0)

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


# Template: single
newname.gad = 

{
 LAYOUT(horizontal) STRETCH(1, 0)

 PARMLABEL("New Name", "newname") SIZE(1.5, 0);
 PARMFIELD (newname.state) string VALUE(newname.val) STRETCH(1,0);
}


# Template: single
destroyname.gad = 

{
 LAYOUT(horizontal) STRETCH(1, 0)

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


switcher3.gad = 
{
 LAYOUT(vertical) STRETCH(1, 0) MARGIN(0, 0.05)

 {
	LAYOUT(vertical) MARGIN(0, 0.025) STRETCH(1, 0) SIZE(3.9, 0)

	{ LOOKTEXT(plain, "Convert:") }
	cnvtype.gad;
	convertg.gad;
	cnvtname.gad;
	preserve.gad;
 }

 { LOOK(underline) SIZE(0, 0.1) STRETCH(1, 0) }
 {
	LAYOUT(vertical) MARGIN(0, 0.025) STRETCH(1, 0) SIZE(3.9, 0)

	{ LOOKTEXT(plain, "Rename:") }
	oldname.gad;
	newname.gad;
 }

 { LOOK(underline) SIZE(0, 0.1) STRETCH(1, 0) }
 {
	LAYOUT(vertical) MARGIN(0, 0.025) STRETCH(1, 0) SIZE(3.9, 0)

	{ LOOKTEXT(plain, "Delete:") }
	destroyname.gad;
 }
}


buttons.gad =
{
LAYOUT(vertical) MARGIN(0.05, 0) STRETCH(1, 0)

 #switcher controller
 BUTTONSTRIP radio
 {
	LAYOUT(horizontal) STRETCH(1, 0) MARGIN(0, 0.04) LOOK(plain)
	VALUE(switcher2.gad.val)

	BUTTON push LOOKTEXT(radio, "Number") 	SIZE(0.95, 0);
	BUTTON push LOOKTEXT(radio, "Bounding") SIZE(0.95, 0);
	BUTTON push LOOKTEXT(radio, "Normal") 	SIZE(0.95, 0);
	BUTTON push LOOKTEXT(radio, "Edges") 	SIZE(0.95, 0);
 }

 #page enable buttons
 BUTTONSTRIP bitmap
 {
  LAYOUT(horizontal) STRETCH(1, 0) MARGIN(0, 0.04) LOOK(plain)
	VALUE(enable.val)

  BUTTON toggle LOOKTEXT(bevelcheck, "Enable") SIZE(0.95, 0);
  BUTTON toggle LOOKTEXT(bevelcheck, "Enable") SIZE(0.95, 0);
  BUTTON toggle LOOKTEXT(bevelcheck, "Enable") SIZE(0.95, 0);
  BUTTON toggle LOOKTEXT(bevelcheck, "Enable") SIZE(0.95, 0);
 }
}

switcher2.gad = 
{
 LAYOUT(vertical) STRETCH(1, 0) MARGIN(0, 0) LOOK(line)
 #WIDTH is 3.9 here

 buttons.gad;

 SWITCHER
 {
	LOOK(line) STRETCH(1, 0) LAYOUT(overlap!) MARGIN(0.05, 0)

	VALUE(switcher2.gad.val)
	{
	 LAYOUT(vertical) STRETCH(1, 0) MARGIN(0, 0.025)

	 ordered.gad;
	 groupop.gad;
	 filter.gad;
	 pattern.gad;
#	 transfer.gad;
	 range.gad;
	 select.gad;
	 }

	 {
	  LAYOUT(vertical) MARGIN(0, 0.025) STRETCH(1, 0)

	  boundtype.gad;
	  size.gad;
	  t.gad;
	 }

	 {
	  LAYOUT(vertical) MARGIN(0, 0.025) STRETCH(1, 0)

	  dir.gad;
	  angle.gad;
	  camerapath.gad;
	  nonplanartol.gad;
	 }

	 {
	  LAYOUT(vertical) MARGIN(0, 0.025) STRETCH(1, 0)

	  edgeangle.gad;
	  edgestep.gad;
	  point.gad;
	  unshared.gad;
	  boundarygroups.gad;
	 }

 }
}

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

 { LOOK(none) SIZE(0, 0.05) }	# Spacer

 BUTTONSTRIP radio
 {
	LAYOUT(horizontal!) MARGIN(0, 0) LOOK(none) STRETCH(1, 0)
	VALUE(stdswitcher.gad.val)

	BUTTON push LAYOUT(horizontal!) LOOKTEXT(folder, "Create") STRETCH(1, 0);
	BUTTON push LAYOUT(horizontal!) LOOKTEXT(folder, "Combine") STRETCH(1, 0);
	BUTTON push LAYOUT(horizontal!) LOOKTEXT(folder, "Edit") 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(stdswitcher.gad.val)
	 {
		LAYOUT(vertical) MARGIN(0, 0.02) STRETCH(1, 0)

		crname.gad;
		entity.gad;
		geotype.gad;
		{ SIZE(0, 0.05) }
		switcher2.gad;
	 }

	 {
		LAYOUT(vertical) MARGIN(0, 0.02) STRETCH(1, 0)

		{ LAYOUT(horizontal) STRETCH(1,0) MARGIN(0, 0.025)
		 grpequal.gad; not1.gad; grp1.gad; }
		{ LAYOUT(horizontal) STRETCH(1,0) MARGIN(0, 0.025)
		 op1.gad; not2.gad; grp2.gad;}
		{ LAYOUT(horizontal) STRETCH(1,0) MARGIN(0, 0.025)
		 op2.gad; not3.gad; grp3.gad; }
		{ LAYOUT(horizontal) STRETCH(1,0) MARGIN(0, 0.025)
		 op3.gad; not4.gad; grp4.gad; }
         }

	 {
		LAYOUT(vertical) MARGIN(0, 0.02) STRETCH(1, 0)

		switcher3.gad;
	 }

	}
 }
}

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

# { LOOK(none) SIZE(3, 0.01) STRETCH(0, 0) }	# This sets min width
# { LOOK(underline) SIZE(0, 0.01) STRETCH(1, 0) }

 stdswitcher.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;
