diff options
Diffstat (limited to 'tex/context/interface/mkiv/i-button.xml')
-rw-r--r-- | tex/context/interface/mkiv/i-button.xml | 187 |
1 files changed, 187 insertions, 0 deletions
diff --git a/tex/context/interface/mkiv/i-button.xml b/tex/context/interface/mkiv/i-button.xml new file mode 100644 index 000000000..1f6dfd5bf --- /dev/null +++ b/tex/context/interface/mkiv/i-button.xml @@ -0,0 +1,187 @@ +<?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="definebutton" file="scrn-but.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-name"/> + <cd:resolve name="keyword-name-optional"/> + <cd:assignments list="yes" optional="yes"> + <cd:inherit name="setupbutton"/> + </cd:assignments> + </cd:arguments> + </cd:command> + + <cd:command name="setupbutton" file="scrn-but.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-name-list-optional"/> + <cd:assignments list="yes"> + <cd:parameter name="state"> + <cd:constant type="start" default="yes"/> + <cd:constant type="stop"/> + </cd:parameter> + <cd:parameter name="samepage"> + <cd:constant type="yes" default="yes"/> + <cd:constant type="no"/> + <cd:constant type="empty"/> + <cd:constant type="none"/> + <cd:constant type="normal"/> + <cd:constant type="default"/> + </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="alternative"> + <cd:constant type="hidden"/> + </cd:parameter> + <cd:inherit name="setupframed"/> + </cd:assignments> + </cd:arguments> + </cd:command> + + <!-- + + <cd:command name="setupbuttons" file="scrn-but.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-name-list-optional"/> + <cd:assignments list="yes"> + <cd:inherit name="setupbutton"/> + </cd:assignments> + </cd:arguments> + </cd:command> + + --> + + <cd:command name="button" generated="yes" variant="generated" file="scrn-but.mkvi"> + <cd:sequence> + <cd:variable value="button"/> + </cd:sequence> + <cd:arguments> + <cd:assignments list="yes" optional="yes"> + <cd:inherit name="setupbutton"/> + </cd:assignments> + <cd:resolve name="argument-text"/> + <cd:resolve name="keyword-reference"/> + </cd:arguments> + </cd:command> + + <cd:command name="button" file="scrn-but.mkvi"> + <cd:arguments> + <cd:assignments list="yes" optional="yes"> + <cd:inherit name="setupbutton"/> + </cd:assignments> + <cd:resolve name="argument-text"/> + <cd:resolve name="keyword-reference"/> + </cd:arguments> + </cd:command> + + <cd:command name="overlaybutton" variant="1" file="scrn-but.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-reference"/> + </cd:arguments> + </cd:command> + + <cd:command name="overlaybutton" variant="2" file="scrn-but.mkvi"> + <cd:arguments> + <cd:resolve name="argument-reference"/> + </cd:arguments> + </cd:command> + + <cd:command name="MPmenubuttons" file="scrn-but.mkvi"> + <cd:arguments> + <cd:resolve name="argument-name"/> + </cd:arguments> + </cd:command> + + <cd:command name="overlayrollbutton" file="scrn-fld.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-reference"/> + <cd:resolve name="keyword-reference"/> + </cd:arguments> + </cd:command> + + <cd:command name="definepushbutton" file="scrn-fld.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-name"/> + <cd:assignments list="yes" optional="yes"> + <cd:inherit name="setupfieldcontentframed"/> + </cd:assignments> + </cd:arguments> + </cd:command> + + <cd:command name="pushbutton" file="scrn-fld.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-name"/> + <cd:resolve name="keyword-reference"/> + </cd:arguments> + </cd:command> + + <cd:command name="definepushsymbol" file="scrn-fld.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-name"/> + <cd:keywords> + <cd:constant type="n"/> + <cd:constant type="r"/> + <cd:constant type="d"/> + </cd:keywords> + </cd:arguments> + </cd:command> + + <cd:command name="psh" variant="button" file="scrn-fld.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-reference"/> + <cd:resolve name="string-text"/> + <cd:delimiter name="\"/> + </cd:arguments> + </cd:command> + + <cd:command name="psh" type="environment" variant="button" file="scrn-fld.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-reference"/> + </cd:arguments> + </cd:command> + + <cd:command name="rollbutton" variant="1" file="scrn-fld.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-name-optional"/> + <cd:assignments list="yes" optional="yes"> + <cd:inherit name="setupinteractionmenu"/> + </cd:assignments> + <cd:resolve name="string-text"/> + <cd:resolve name="keyword-reference"/> + </cd:arguments> + </cd:command> + + <cd:command name="rollbutton" variant="2" file="scrn-fld.mkvi"> + <cd:arguments> + <cd:assignments list="yes"> + <cd:inherit name="setupbutton"/> + </cd:assignments> + <cd:resolve name="string-text"/> + <cd:resolve name="keyword-reference"/> + </cd:arguments> + </cd:command> + + <cd:command name="rob" variant="button" file="scrn-fld.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-reference"/> + <cd:resolve name="string-text"/> + <cd:delimiter name="\"/> + </cd:arguments> + </cd:command> + + <cd:command name="rob" variant="button" type="environment" file="scrn-fld.mkvi"> + <cd:arguments> + <cd:resolve name="keyword-reference"/> + </cd:arguments> + </cd:command> + +</cd:interface>
\ No newline at end of file |