vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | DART_VERSION = "1.52"; |
2 | DART_DL_VERSION = 1.48; |
||
3 | |||
4 | BINDING_HEADER_DART = "Discord Art v"..DART_VERSION; |
||
5 | BINDING_HEADER_DART_TEXTURES = "Texture Bindings"; |
||
6 | BINDING_NAME_DART_OPTIONS = "Toggle Options Window"; |
||
7 | DART_ANCHORHEADER = "ANCHORS"; |
||
8 | DART_ANCHORHEADER_FRAME = "Frame"; |
||
9 | DART_ANCHORHEADER_POINT = "Point"; |
||
10 | DART_ANCHORHEADER_TO = "To"; |
||
11 | DART_ANCHORHEADER_X = "X"; |
||
12 | DART_ANCHORHEADER_Y = "Y"; |
||
13 | DART_CLICKTOSET = "Click to Set Texture"; |
||
14 | DART_COORDSHEADER = "Coords:"; |
||
15 | DART_COPYTEXT = "COPY"; |
||
16 | DART_PASTETEXT = "PASTE"; |
||
17 | DART_TEXTUREBROWSERHEADER = "TEXTURE BROWSER"; |
||
18 | |||
19 | DART_TEXT = { |
||
20 | Action = "Action", |
||
21 | AddCondition = "Add Condition", |
||
22 | AddTexture = "Add Texture", |
||
23 | Alpha = "Alpha", |
||
24 | Amount = "Amount", |
||
25 | Appearance = "APPEARANCE", |
||
26 | AutoLock = "Auto-Lock Dragging", |
||
27 | Backdrp = "Backdrop", |
||
28 | BackgroundAlpha = "Background Alpha", |
||
29 | BackgroundColor = "Background Color", |
||
30 | BackgroundTexture = "Background Texture", |
||
31 | BlendMode = "Blend Mode:", |
||
32 | BorderAlpha = "Border Alpha", |
||
33 | BorderColor = "Border Color", |
||
34 | BorderTexture = "Border Texture", |
||
35 | BuffName = "Buff/Debuff", |
||
36 | CantDeleteCurrent = "You cannot delete the profile currently in use.", |
||
37 | CantDeleteDefault = "You cannot delete the default profile.", |
||
38 | ChooseCondition = "Choose Condition:", |
||
39 | ChooseResponse = "Choose Response:", |
||
40 | Color = "Color", |
||
41 | Comparison = "Comparison", |
||
42 | Conditions = "CONDITIONS", |
||
43 | Control = "Control", |
||
44 | Create = "CREATE", |
||
45 | CurrentProfile = "Curent Profile: |cFFCCCC00", |
||
46 | Custom = "Custom", |
||
47 | Default = "Default", |
||
48 | Delete = "DELETE", |
||
49 | Delete2 = "Delete", |
||
50 | DisableMouse = "Disable Mouse", |
||
51 | DisableMousewheel = "Disable Mousewheel", |
||
52 | DragWarning = "Textures anchored to 2 or more points cannot be dragged.", |
||
53 | DrawLayer = "Draw Layer:", |
||
54 | EdgSize = "Edge Size", |
||
55 | Edit = "Edit", |
||
56 | File = "File", |
||
57 | Font = "Font:", |
||
58 | FontSize = "Font Size", |
||
59 | Form = "Form", |
||
60 | FrameFinder = "|cFFCCCC00Mouse Is Over This Frame:\n|cFFFFFFFF", |
||
61 | FrameLevel = "Frame Level Offset", |
||
62 | Height = "Height", |
||
63 | Hide = "Hide", |
||
64 | HideBackground = "Hide Background", |
||
65 | HideText = "Hide Text", |
||
66 | Highlight = "Highlight on Mouseover", |
||
67 | HighlightAlpha = "Highlight Alpha", |
||
68 | HLColor = "Highlight Color", |
||
69 | HLTexture = "Highlight Texture", |
||
70 | IgnoreGlobal = "Ignore Global Cooldown", |
||
71 | InsetBottom = "Inset Bottom", |
||
72 | InsetLeft = "Inset Left", |
||
73 | InsetRight = "Inset Right", |
||
74 | InsetTop = "Inset Top", |
||
75 | JustifyH = "Horizontal Justification", |
||
76 | JustifyV = "Vertical Justification", |
||
77 | LockDragging = "Lock Dragging", |
||
78 | MiscOptions = "Misc Options", |
||
79 | MoveAnchor = "Move Anchor", |
||
80 | Name = "Name:", |
||
81 | NewProfile = "New Profile:", |
||
82 | NewProfileCreated = "New profile created: ", |
||
83 | Number = "Number", |
||
84 | OptionsScale = "Options Scale", |
||
85 | Overrides = "Overridden By:", |
||
86 | Padding = "Padding", |
||
87 | Parameters = "PARAMETERS:", |
||
88 | Parent = "\n|cFFCCCC00Parent: |cFFFFFFFF", |
||
89 | ParentFrame = "Parent Frame", |
||
90 | ParentsParent = "\n|cFFCCCC00Parent's Parent: |cFFFFFFFF", |
||
91 | PresetBackdrops = "Preset Backdrops", |
||
92 | ProfileDeleted = "Profile deleted: ", |
||
93 | ProfileLoaded = "Profile loaded: ", |
||
94 | Response = "Response:", |
||
95 | Scale = "Scale", |
||
96 | Scripts = "SCRIPTS", |
||
97 | SelectTexture = "Select Texture:", |
||
98 | Set = "LOAD", |
||
99 | SetProfile = "Set Profile:", |
||
100 | Strata = "Frame Strata:", |
||
101 | Text = "Text:", |
||
102 | Text2 = "Text", |
||
103 | TextAlpha = "Text Alpha", |
||
104 | TextColor = "Text Color", |
||
105 | TextHeight = "Text Height", |
||
106 | Texture = "Texture ", |
||
107 | Texture2 = "Texture", |
||
108 | TextureColor = "Texture Color", |
||
109 | TextureOptions = "Texture Options", |
||
110 | TextWidth = "Text Width", |
||
111 | Tile = "Tile", |
||
112 | TileSize = "Tile Size", |
||
113 | Type = "Type", |
||
114 | Unit = "Unit", |
||
115 | UnlockDragging = "Unlock Dragging", |
||
116 | UpdatesPerSec = "Updates Per Second", |
||
117 | Width = "Width", |
||
118 | X1 = "ULx or X1", |
||
119 | X2 = "ULy or X2", |
||
120 | Y1 = "LLx or Y1", |
||
121 | Y2 = "LLy or Y2", |
||
122 | URX = "URx", |
||
123 | URY = "URy", |
||
124 | LRX = "LRx", |
||
125 | LRY = "LRy", |
||
126 | CoordX1 = "X1", |
||
127 | CoordX2 = "X2", |
||
128 | CoordY1 = "Y1", |
||
129 | CoordY2 = "Y2", |
||
130 | DefaultUI = "Default UI", |
||
131 | MacroIcons = "Macro Icons", |
||
132 | TextureTip = "Left-click to select.\nRight-click to 'sticky' texture stats.", |
||
133 | CustomTextureTip = "\nMiddle-click or shift + right-click to delete." |
||
134 | } |
||
135 | |||
136 | DART_ANCHORS = { |
||
137 | { text = "TOPLEFT", value = 1 }, |
||
138 | { text = "TOP", value = 2 }, |
||
139 | { text = "TOPRIGHT", value = 3 }, |
||
140 | { text = "LEFT", value = 4 }, |
||
141 | { text = "CENTER", value = 5 }, |
||
142 | { text = "RIGHT", value = 6 }, |
||
143 | { text = "BOTTOMLEFT", value = 7 }, |
||
144 | { text = "BOTTOM", value = 8 }, |
||
145 | { text = "BOTTOMRIGHT", value = 9 } |
||
146 | } |
||
147 | |||
148 | DART_NUDGE_INDICES = { |
||
149 | { text=1, value=1 }, |
||
150 | { text=2, value=2 }, |
||
151 | { text=3, value=3 }, |
||
152 | { text=4, value=4 }, |
||
153 | { text="Text", value=5 } |
||
154 | } |
||
155 | |||
156 | DART_JUSTIFY_H = { |
||
157 | { text="LEFT", value=4 }, |
||
158 | { text="CENTER", value=5 }, |
||
159 | { text="RIGHT", value=6 } |
||
160 | } |
||
161 | |||
162 | DART_JUSTIFY_V = { |
||
163 | { text="TOP", value=2 }, |
||
164 | { text="CENTER", value=5 }, |
||
165 | { text="BOTTOM", value=8 } |
||
166 | } |
||
167 | |||
168 | DART_BACKDROPS = { |
||
169 | { text="Plain", value=1 }, |
||
170 | { text="Tooltip", value=2 }, |
||
171 | { text="Dialogue", value=3 }, |
||
172 | { text="Slider", value=4 }, |
||
173 | { text="Glue Tooltip", value=5 } |
||
174 | } |
||
175 | |||
176 | -- Globals, do not translate |
||
177 | DART_INDEX = nil; |
||
178 | DART_NUDGE_INDEX = 1; |
||
179 | DART_NUMBER_OF_SCRIPTS = 14; |
||
180 | DART_PROFILE_INDEX = nil; |
||
181 | DART_STICKY_TEXTURE = {file="", x1="0", x2="1", y1="0", y2="1", height="256", width="256"}; |
||
182 | DART_TEXTURE_INDEX = 1; |
||
183 | |||
184 | DART_ATTACH_POINTS = { "TOPLEFT", "TOP", "TOPRIGHT", "LEFT", "CENTER", "RIGHT", "BOTTOMLEFT", "BOTTOM", "BOTTOMRIGHT" } |
||
185 | DART_NUDGE_TEXT = { "<", ">", "^", "v" } |
||
186 | |||
187 | DART_OPTIONS_SCALES = { |
||
188 | { text=100, value=1 }, |
||
189 | { text=90, value=.9 }, |
||
190 | { text=80, value=.8 }, |
||
191 | { text=70, value=.7 }, |
||
192 | { text=60, value=.6 }, |
||
193 | { text=50, value=.5 }, |
||
194 | { text=40, value=.4 }, |
||
195 | { text=30, value=.3 }, |
||
196 | { text=20, value=.2 }, |
||
197 | { text=10, value=.1 } |
||
198 | } |
||
199 | |||
200 | DART_SCRIPT_LABEL = { |
||
201 | "OnUpdate", |
||
202 | "OnEvent", |
||
203 | "OnEnter", |
||
204 | "OnLeave", |
||
205 | "OnShow", |
||
206 | "OnHide", |
||
207 | "OnClick", |
||
208 | "OnMouseUp", |
||
209 | "OnMouseDown", |
||
210 | "KeybindingDown", |
||
211 | "KeybindingUp", |
||
212 | "OnMouseWheel", |
||
213 | "OnReceiveDrag", |
||
214 | "OnLoad" |
||
215 | } |
||
216 | |||
217 | DART_RESPONSES = { |
||
218 | { text="No Response", value=0, desc="No effect when the condition activates."}, |
||
219 | { text="Hide", value=1, desc="Hides the texture."}, |
||
220 | { text="Show", value=2, desc="Shows the texture."}, |
||
221 | { text="Hide Other Texture", value=3, desc="Hide a texture besides this one."}, |
||
222 | { text="Show Other Texture", value=4, desc="Show a texture besides this one."}, |
||
223 | { text="Hide Text", value=5, desc="Hides the texture's text."}, |
||
224 | { text="Show Text", value=6, desc="Shows the texture's text."}, |
||
225 | { text="Move Down", value=7, desc="Moves the texture down the screen by the specified amount."}, |
||
226 | { text="Move Left", value=8, desc="Moves the texture left on the screen by the specified amount."}, |
||
227 | { text="Move Right", value=9, desc="Moves the texture right on the screen by the specified amount."}, |
||
228 | { text="Move To", value=10, desc="Moves the texture to the specified x, y offset relative to its first anchor point."}, |
||
229 | { text="Move Up", value=11, desc="Moves the texture up the screen by the specified amount."}, |
||
230 | { text="Set Alpha", value=12, desc="Sets the transparency of the texture."}, |
||
231 | { text="Set Background Alpha", value=13, desc="Sets the transparency of the texture's background."}, |
||
232 | { text="Set Background Color", value=14, desc="Sets the color of the texture's background."}, |
||
233 | { text="Set Background Padding", value=15, desc="Sets the distance between a texture's border and the main part of the texture."}, |
||
234 | { text="Set Border Alpha", value=16, desc="Sets the transparency of the texture's border."}, |
||
235 | { text="Set Border Color", value=17, desc="Sets the color of the texture's border."}, |
||
236 | { text="Set Color", value=18, desc="Sets the texture's color."}, |
||
237 | { text="Set Font Size", value=19, desc="Sets the font size of the texture's text."}, |
||
238 | { text="Set Height", value=20, desc="Sets the texture's height."}, |
||
239 | { text="Set Highlight Alpha", value=21, desc="Sets the transparency of the texture's highlight."}, |
||
240 | { text="Set Highlight Color", value=22, desc="Sets the color of the texture's highlight."}, |
||
241 | { text="Set Scale", value=23, desc="Sets the scale of the texture."}, |
||
242 | { text="Set Text Alpha", value=24, desc="Sets the transparency of the texture's text."}, |
||
243 | { text="Set Text Color", value=25, desc="Sets the color of the texture's text."}, |
||
244 | { text="Set Text", value=26, desc="Sets the texture's text."}, |
||
245 | { text="Set Texture", value=27, desc="Set a texture file for this texture to use."}, |
||
246 | { text="Set Width", value=28, desc="Sets the texture's width."}, |
||
247 | { text="Start Flashing", value=29, desc="Starts the texture blinking on and off."}, |
||
248 | { text="Stop Flashing", value=30, desc="Stops the texture blinking on and off."}, |
||
249 | } |