Mercurial > wow > devian
comparison Devian.xml @ 50:c3166f700438
dock beacons and text fader cleaned up
fixed OnLeave ending at mouseOverDock false and causing beacons to stick
fixed a nil argument in dock framescript
| author | Nenue |
|---|---|
| date | Tue, 05 Jan 2016 01:37:29 -0500 |
| parents | 2bf7eb1844cb |
| children | 1b8c597dba44 |
comparison
equal
deleted
inserted
replaced
| 49:36290c315606 | 50:c3166f700438 |
|---|---|
| 237 <Anchor point="TOP" relativePoint="TOP" x="0" y="1" /> | 237 <Anchor point="TOP" relativePoint="TOP" x="0" y="1" /> |
| 238 </Anchors> | 238 </Anchors> |
| 239 <Size x="32" y="20" /> | 239 <Size x="32" y="20" /> |
| 240 <Layers> | 240 <Layers> |
| 241 <Layer level="ARTWORK"> | 241 <Layer level="ARTWORK"> |
| 242 <Texture name="$parentBar" parent="DevianDock" setAllPoints="true" parentKey="bar" alphaMode="BLEND"> | 242 <Texture name="$parentBar" parent="DevianDock" setAllPoints="true" parentKey="caption" alphaMode="BLEND"> |
| 243 <Color r="1" g="1" b="1" a="1" /> | 243 <Color r="1" g="1" b="1" a="1" /> |
| 244 <Gradient orientation="VERTICAL"> | 244 <Gradient orientation="VERTICAL"> |
| 245 <MaxColor r="0" g="0" b="0" a="1" /> | 245 <MaxColor r="0.15" g=".15" b="0.15" a="0.4" /> |
| 246 <MinColor r="0" g="0" b="0" a="0" /> | 246 <MinColor r="0" g="0" b="0" a="0" /> |
| 247 </Gradient> | 247 </Gradient> |
| 248 </Texture> | 248 </Texture> |
| 249 | 249 |
| 250 </Layer> | 250 </Layer> |
| 254 </Layers> | 254 </Layers> |
| 255 </Frame> | 255 </Frame> |
| 256 | 256 |
| 257 <Button name="DevianBeacon" hidden="true" inherits="DevianButton" virtual="true" enableMouse="true" alpha="1" frameStrata="MEDIUM"> | 257 <Button name="DevianBeacon" hidden="true" inherits="DevianButton" virtual="true" enableMouse="true" alpha="1" frameStrata="MEDIUM"> |
| 258 <Size x="64" y="32" /> | 258 <Size x="64" y="32" /> |
| 259 <TexCoords top="0" left="0" bottom="1" right="1" /> | |
| 260 | 259 |
| 261 <Scripts> | 260 <Scripts> |
| 262 <OnShow> | 261 <OnShow> |
| 263 if self.console.index ~= DevianDB.current_channel then | 262 Devian.UpdateBeacon(self) |
| 264 UIFrameFadeIn(self,DevianDB.dock_onshow_fade_time, DevianDB.dock_onshow_fade_from, DevianDB.dock_onshow_fade_to) | |
| 265 UIFrameFadeIn(self.caption,DevianDB.dock_onshow_fade_time, DevianDB.dock_onshow_fade_from, 0) | |
| 266 end | |
| 267 </OnShow> | 263 </OnShow> |
| 268 <OnMouseDown> | 264 <OnMouseDown> |
| 269 --print("click", self:GetName(), button, self.console.index) | 265 --print("click", self:GetName(), button, self.console.index) |
| 270 if button == "LeftButton" then | 266 if button == "LeftButton" then |
| 271 if IsShiftKeyDown() then | 267 if IsShiftKeyDown() then |
