-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmenudef.txt
63 lines (50 loc) · 1.37 KB
/
menudef.txt
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
// Entry point /////////////////////////////////////////////////////////////////
AddOptionMenu OptionsMenu
{
Submenu "$SA_MENU_TITLE", sa_Options
}
// Option menus ////////////////////////////////////////////////////////////////
OptionMenu sa_Options
{
Title "$SA_MENU_TITLE"
StaticText "$SA_ACHIEVEMENTS", 1
Submenu "$SA_UNLOCKED", sa_UnlockedAchievements
Submenu "$SA_LOCKED" , sa_LockedAchievements
StaticText ""
Option "$SA_NOTIFY" , sa_notification_enabled, OnOff
Option "$SA_HORIZONTAL", sa_horizontal_position, sa_HorizontalPositionValues
Option "$SA_VERTICAL" , sa_vertical_position, sa_VerticalPositionValues
Option "$SA_ANIMATION" , sa_animation_type, sa_AnimationValues
StaticText ""
Command "$SA_TEST", sa_test
StaticText ""
SafeCommand "$SA_CLEAR", sa_clear_achievements
}
OptionMenu sa_LockedAchievements
{
Class "sa_LockedAchievements"
Title "$SA_LOCKED_TITLE"
}
OptionMenu sa_UnlockedAchievements
{
Class "sa_UnlockedAchievements"
Title "$SA_UNLOCKED_TITLE"
}
// Option values ///////////////////////////////////////////////////////////////
OptionValue sa_HorizontalPositionValues
{
0, "$SA_LEFT"
1, "$SA_RIGHT"
}
OptionValue sa_VerticalPositionValues
{
0, "$SA_TOP"
1, "$SA_BOTTOM"
}
OptionValue sa_AnimationValues
{
0, "$SA_SLIDE_VERTICAL"
1, "$SA_SLIDE_HORIZONTAL"
2, "$SA_FADE_IN_OUT"
3, "$SA_DISABLED"
}