pb2menu 1

command "set menu_profile_name $menu_profile_file;profile_get_login $menu_profile_file menu_profile_login"

widget 
	type pic	
	xcent 0
	halign center	
	yabs 16
	pic "m_setup1s"

widget
	yrel 32
	text "EDIT PROFILE"
	halign center

widget
	xcent 100
	ycent -16
	type field
	halign right
	text "Profile Name:"
	cvar "menu_profile_name"
	width 10

widget
	yrel 16
	type field
	halign right
	text "Login Name:"
	cvar "menu_profile_login"
	width 10

widget
	yrel 16
	xcent 0
	type text
	halign center
	text "   [Set to Name]   "
	command "set menu_profile_login $name;set menu_profile_name $name"

widget
	x 80
	yrel 32
	text "[Ok]"
	command "profile_edit2 $menu_profile_file $menu_profile_name $menu_profile_login"

widget
	xrel 100
	command "menu pop"
	text "[Cancel]"
