#
#
# HELP: SYNOPSIS:
# HELP:     generic/menu/ovlsetup
# HELP:
# HELP: DESCRIPTION:
# HELP:     Set up variables needed for showing the overlay dialog
#

# Set up the path
cecho ${$root.func.var.new("struct","application",$root)}
cecho ${$root.func.var.new("struct","generic",$root.application)}
cecho ${$root.func.var.new("struct","overlay",$root.application.generic)}

# Set up the variables
cecho ${$root.func.var.new("int","hideovl",$root.application.generic.overlay)}
cecho ${$root.func.var.new("int","ovlmin",$root.application.generic.overlay)}
cecho ${$root.func.var.new("int","ovlmax",$root.application.generic.overlay)}

# Initialize them
cecho ${$root.application.generic.overlay.hideovl=1}
cecho ${$root.application.generic.overlay.ovlmin=-1}
cecho ${$root.application.generic.overlay.ovlmax=-1}
