-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPARMmenu.xml
76 lines (69 loc) · 2.21 KB
/
PARMmenu.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="UTF-8"?>
<menuDocument>
<menu>
<subMenu id="rampage">
<label>Rampage</label>
<context>
<expression>
<![CDATA[
from rampage.rampage import should_display_rampage_menu
return should_display_rampage_menu(kwargs)
]]>
</expression>
</context>
<scriptItem id="rampage.add_preset">
<label>Add preset to rampage</label>
<scriptCode>
<![CDATA[
from rampage.rampage import add_ramp_preset_menu_callback
add_ramp_preset_menu_callback(kwargs)
]]>
</scriptCode>
</scriptItem>
<scriptItem id="rampage.replace_preset">
<label>Ovewrite rampage preset</label>
<scriptCode>
<![CDATA[
from rampage.rampage import replace_preset
replace_preset(kwargs)
]]>
</scriptCode>
</scriptItem>
<scriptItem id="rampage.rename_preset">
<label>Rename rampage preset</label>
<scriptCode>
<![CDATA[
from rampage.rampage import rename_preset_menu_callback
rename_preset_menu_callback(kwargs)
]]>
</scriptCode>
</scriptItem>
<scriptItem id="rampage.remove_preset">
<label>Remove rampage preset</label>
<scriptCode>
<![CDATA[
from rampage.rampage import remove_preset
remove_preset(kwargs)
]]>
</scriptCode>
</scriptItem>
<subMenu id="rampage.presets">
<label>Presets</label>
<scriptMenuStripDynamic id="rampage.preset_strip">
<contentsScriptCode>
<![CDATA[
from rampage.rampage import create_menu_strip
return create_menu_strip(kwargs)
]]>
</contentsScriptCode>
<scriptCode>
<![CDATA[
from rampage.rampage import set_ramp_parm_from_chosen_ramp_preset
set_ramp_parm_from_chosen_ramp_preset(kwargs)
]]>
</scriptCode>
</scriptMenuStripDynamic>
</subMenu>
</subMenu>
</menu>
</menuDocument>