<?xml version="1.0" encoding="UTF-8"?>

<?context-directive job ctxfile x-setups.ctx ?>

<cd:interface xmlns:cd="http://www.pragma-ade.com/commands">

    <cd:command name="defineinteractionbar" level="style" category="pdf" file="scrn-bar.mkvi">
        <cd:arguments>
            <cd:resolve name="keyword-name"/>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupinteractionbar"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="setupinteractionbar" level="style" category="pdf" file="scrn-bar.mkvi">
        <cd:arguments>
            <cd:resolve name="keyword-name-list-optional"/>
            <cd:assignments list="yes">
                <cd:parameter name="alternative">
                    <cd:constant type="a" default="yes"/>
                    <cd:constant type="b"/>
                    <cd:constant type="c"/>
                    <cd:constant type="d"/>
                    <cd:constant type="e"/>
                    <cd:constant type="f"/>
                    <cd:constant type="g"/>
                </cd:parameter>
                <cd:parameter name="state">
                    <cd:constant type="start" default="yes"/>
                    <cd:constant type="stop"/>
                </cd:parameter>
                <cd:parameter name="command">
                    <cd:constant type="cd:csname"/>
                </cd:parameter>
                <cd:parameter name="width">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="height">
                    <cd:constant type="cd:dimension"/>
                    <cd:constant type="max"/>
                    <cd:constant type="broad"/>
                </cd:parameter>
                <cd:parameter name="depth">
                    <cd:constant type="cd:dimension"/>
                    <cd:constant type="max"/>
                </cd:parameter>
                <cd:parameter name="distance">
                    <cd:constant type="cd:dimension"/>
                </cd:parameter>
                <cd:parameter name="step">
                    <cd:constant type="small"/>
                    <cd:constant type="medium" default="yes"/>
                    <cd:constant type="big"/>
                </cd:parameter>
                <cd:parameter name="backgroundcolor">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
                <cd:parameter name="style">
                    <cd:resolve name="value-style"/>
                </cd:parameter>
                <cd:parameter name="color">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
                <cd:parameter name="contrastcolor">
                    <cd:constant type="cd:color"/>
                </cd:parameter>
                <cd:parameter name="symbol">
                    <cd:constant type="yes"/>
                    <cd:constant type="no" default="yes"/>
                </cd:parameter>
                <cd:inherit name="setupframed"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="interactionbar" level="style" category="pdf" file="scrn-bar.mkvi">
        <cd:arguments>
            <cd:resolve name="keyword-name-optional"/>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupinteractionbar"/>
            </cd:assignments>
        </cd:arguments>
    </cd:command>

    <cd:command name="interactionbuttons" level="style" category="pdf" file="scrn-bar.mkvi">
        <cd:arguments>
            <cd:assignments list="yes" optional="yes">
                <cd:inherit name="setupinteractionbar"/>
            </cd:assignments>
            <cd:keywords list="yes">
                <cd:constant type="page"/>
                <cd:constant type="subpage"/>
                <cd:constant type="cd:reference"/>
            </cd:keywords>
        </cd:arguments>
    </cd:command>

</cd:interface>
