Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Matthieu Saint Aubin
VuhDo
Commits
48c1f60c
Commit
48c1f60c
authored
4 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Migrated backdrops to BackdropTemplate and BackdropTemplateMixin
parent
34db511e
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
259 additions
and
252 deletions
+259
-252
VuhDo.lua
VuhDo.lua
+10
-0
VuhDo.xml
VuhDo.xml
+4
-14
VuhDoBuffWatch.lua
VuhDoBuffWatch.lua
+19
-0
VuhDoBuffWatch.xml
VuhDoBuffWatch.xml
+8
-26
VuhDoOptions/VuhDoLookAndFeel.lua
VuhDoOptions/VuhDoLookAndFeel.lua
+83
-0
VuhDoOptions/VuhDoLookAndFeel.xml
VuhDoOptions/VuhDoLookAndFeel.xml
+40
-121
VuhDoOptions/VuhDoNewColorPicker.lua
VuhDoOptions/VuhDoNewColorPicker.lua
+10
-0
VuhDoOptions/VuhDoNewColorPicker.xml
VuhDoOptions/VuhDoNewColorPicker.xml
+4
-12
VuhDoOptions/VuhDoNewOptionsTabbedFrame.lua
VuhDoOptions/VuhDoNewOptionsTabbedFrame.lua
+10
-0
VuhDoOptions/VuhDoNewOptionsTabbedFrame.xml
VuhDoOptions/VuhDoNewOptionsTabbedFrame.xml
+4
-12
VuhDoPanel.lua
VuhDoPanel.lua
+20
-0
VuhDoPanel.xml
VuhDoPanel.xml
+46
-67
changelog.txt
changelog.txt
+1
-0
No files found.
VuhDo.lua
View file @
48c1f60c
...
...
@@ -47,6 +47,16 @@ VUHDO_PLAYER_NAME = nil;
VUHDO_PLAYER_RAID_ID
=
nil
;
VUHDO_PLAYER_GROUP
=
nil
;
-- Backdrops
BACKDROP_VUHDO_TOOLTIP
=
{
bgFile
=
"Interface\\Tooltips\\UI-Tooltip-Background"
,
edgeFile
=
"Interface\\Tooltips\\UI-Tooltip-Border"
,
tile
=
true
,
tileSize
=
8
,
edgeSize
=
8
,
insets
=
{
left
=
3
,
right
=
3
,
top
=
3
,
bottom
=
3
},
};
-- BURST CACHE ---------------------------------------------------
local
VUHDO_CONFIG
;
local
VUHDO_PET_2_OWNER
;
...
...
This diff is collapsed.
Click to expand it.
VuhDo.xml
View file @
48c1f60c
...
...
@@ -101,7 +101,10 @@
</Scripts>
</Frame>
<Frame
name=
"VuhDoTooltip"
frameStrata=
"TOOLTIP"
movable=
"true"
parent=
"UIParent"
hidden=
"true"
>
<Frame
name=
"VuhDoTooltip"
frameStrata=
"TOOLTIP"
movable=
"true"
parent=
"UIParent"
hidden=
"true"
inherits=
"BackdropTemplate"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_TOOLTIP"
type=
"global"
/>
</KeyValues>
<Layers>
<Layer
level=
"ARTWORK"
>
<FontString
name=
"$parentTextL1"
inherits=
"GameFontNormalSmall"
hidden=
"true"
>
...
...
@@ -322,19 +325,6 @@
</FontString>
</Layer>
</Layers>
<Backdrop
tile=
"true"
bgFile=
"Interface\Tooltips\UI-Tooltip-Background"
edgeFile=
"Interface\Tooltips\UI-Tooltip-Border"
>
<EdgeSize>
<AbsValue
val=
"8"
/>
</EdgeSize>
<TileSize>
<AbsValue
val=
"8"
/>
</TileSize>
<BackgroundInsets>
<AbsInset
left=
"3"
right=
"3"
top=
"3"
bottom=
"3"
/>
</BackgroundInsets>
</Backdrop>
<Scripts>
<OnMouseDown>
VuhDoTooltipOnMouseDown(self,arg1)
</OnMouseDown>
<OnMouseUp>
VuhDoTooltipOnMouseUp(self,arg1)
</OnMouseUp>
...
...
This diff is collapsed.
Click to expand it.
VuhDoBuffWatch.lua
View file @
48c1f60c
...
...
@@ -29,6 +29,25 @@ VUHDO_BUFF_ORDER = { };
local
sEmpty
=
{
};
local
sCooldownAliases
=
{
};
-- Backdrops
BACKDROP_VUHDO_BUFF_SWATCH_PANEL_8_8_0000
=
{
bgFile
=
"Interface\\Tooltips\\UI-Tooltip-Background"
,
edgeFile
=
"Interface\\Tooltips\\UI-Tooltip-Border"
,
tile
=
true
,
tileSize
=
8
,
edgeSize
=
8
,
insets
=
{
left
=
0
,
right
=
0
,
top
=
0
,
bottom
=
0
},
};
BACKDROP_VUHDO_BUFF_WATCH_MAIN_FRAME_16_16_5555
=
{
bgFile
=
"Interface\\Tooltips\\UI-Tooltip-Background"
,
edgeFile
=
"Interface\\Tooltips\\UI-Tooltip-Border"
,
tile
=
true
,
tileSize
=
16
,
edgeSize
=
16
,
insets
=
{
left
=
5
,
right
=
5
,
top
=
5
,
bottom
=
5
},
};
...
...
This diff is collapsed.
Click to expand it.
VuhDoBuffWatch.xml
View file @
48c1f60c
...
...
@@ -22,23 +22,13 @@
</Scripts>
</Button>
<Frame
name=
"VuhDoBuffSwatchPanelTemplate"
virtual=
"true"
>
<Frame
name=
"VuhDoBuffSwatchPanelTemplate"
virtual=
"true"
inherits=
"BackdropTemplate"
mixin=
"BackdropTemplateMixin"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_BUFF_SWATCH_PANEL_8_8_0000"
type=
"global"
/>
</KeyValues>
<Size>
<AbsDimension
x=
"75"
y=
"24"
/>
</Size>
<Backdrop
bgFile=
"Interface\Tooltips\UI-Tooltip-Background"
edgeFile=
"Interface\Tooltips\UI-Tooltip-Border"
tile=
"true"
>
<Color
r=
"0"
g=
"0"
b=
"0"
/>
<BackgroundInsets>
<AbsInset
left=
"0"
right=
"0"
top=
"0"
bottom=
"0"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"8"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"8"
/>
</EdgeSize>
</Backdrop>
<Frames>
<Button
name=
"$parentGlassButton"
setAllPoints=
"true"
inherits=
"SecureUnitButtonTemplate,SecureHandlerEnterLeaveTemplate,SecureHandlerShowHideTemplate"
>
...
...
@@ -242,18 +232,10 @@
</Frame>
<Frame
name=
"VuhDoBuffWatchMainFrameTemplate"
virtual=
"true"
toplevel=
"true"
frameStrata=
"MEDIUM"
movable=
"true"
parent=
"UIParent"
enableMouse=
"true"
>
<Backdrop
bgFile=
"Interface\Tooltips\UI-Tooltip-Background"
edgeFile=
"Interface\Tooltips\UI-Tooltip-Border"
tile=
"true"
>
<BackgroundInsets>
<AbsInset
left=
"5"
right=
"5"
top=
"5"
bottom=
"5"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"16"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"16"
/>
</EdgeSize>
</Backdrop>
movable=
"true"
parent=
"UIParent"
enableMouse=
"true"
inherit=
"BackdropTemplate"
mixin=
"BackdropTemplateMixin"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_BUFF_WATCH_MAIN_FRAME_16_16_5555"
type=
"global"
/>
</KeyValues>
<Frames>
<Frame
name=
"$parentInfoLabel"
hidden=
"true"
inherits=
"VuhDoLabelFrameTemplate"
>
<Size>
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoLookAndFeel.lua
View file @
48c1f60c
...
...
@@ -34,6 +34,89 @@ local VUHDO_NORMAL_LABEL_COLOR_DISA = {
-- Backdrops
BACKDROP_VUHDO_H_SLIDER_8_8_1111
=
{
bgFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\blue_lt_square_16_16"
,
edgeFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\panel_edges_3"
,
tile
=
true
,
tileSize
=
8
,
edgeSize
=
8
,
insets
=
{
left
=
1
,
right
=
1
,
top
=
1
,
bottom
=
1
},
};
BACKDROP_VUHDO_FRAME_16_16_1111
=
{
bgFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\blue_lt_square_16_16"
,
edgeFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\panel_edges_2"
,
tile
=
true
,
tileSize
=
16
,
edgeSize
=
16
,
insets
=
{
left
=
1
,
right
=
1
,
top
=
1
,
bottom
=
1
},
};
BACKDROP_VUHDO_PANEL_16_16_3333
=
{
bgFile
=
"Interface\\AddOns\\VuhDo\\Images\\white_square_16_16"
,
edgeFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\panel_edges_1"
,
tile
=
true
,
tileSize
=
16
,
edgeSize
=
16
,
insets
=
{
left
=
3
,
right
=
3
,
top
=
3
,
bottom
=
3
},
};
BACKDROP_VUHDO_WHITE_PANEL_16_16_3333
=
{
bgFile
=
"Interface\\AddOns\\VuhDo\\Images\\white_square_16_16"
,
edgeFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\panel_edges_2"
,
tile
=
true
,
tileSize
=
16
,
edgeSize
=
16
,
insets
=
{
left
=
3
,
right
=
3
,
top
=
3
,
bottom
=
3
},
};
BACKDROP_VUHDO_WHITE_SQUARE_16_16_0000
=
{
bgFile
=
"Interface\\AddOns\\VuhDo\\Images\\white_square_16_16"
,
tile
=
true
,
tileSize
=
16
,
edgeSize
=
16
,
insets
=
{
left
=
0
,
right
=
0
,
top
=
0
,
bottom
=
0
},
};
BACKDROP_VUHDO_PANEL_SCROLL_BAR_8_8_1111
=
{
bgFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\blue_dk_square_16_16"
,
edgeFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\panel_edges_3"
,
tile
=
true
,
tileSize
=
8
,
edgeSize
=
8
,
insets
=
{
left
=
1
,
right
=
1
,
top
=
1
,
bottom
=
1
},
};
BACKDROP_VUHDO_SCROLL_PANEL_16_16_0000
=
{
bgFile
=
"Interface\\AddOns\\VuhDo\\Images\\white_square_16_16"
,
edgeFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\panel_edges_4"
,
tile
=
true
,
tileSize
=
16
,
edgeSize
=
16
,
insets
=
{
left
=
0
,
right
=
0
,
top
=
0
,
bottom
=
0
},
};
BACKDROP_VUHDO_SCROLL_PANEL_2_16_16_0000
=
{
bgFile
=
"Interface\\AddOns\\VuhDo\\Images\\white_square_16_16"
,
edgeFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\panel_edges_1"
,
tile
=
true
,
tileSize
=
16
,
edgeSize
=
16
,
insets
=
{
left
=
0
,
right
=
0
,
top
=
0
,
bottom
=
0
},
};
BACKDROP_VUHDO_PANEL_APPEND_BOTTOM_16_16_1111
=
{
bgFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\blue_lt_square_16_16"
,
edgeFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\panel_edges_2_append_bottom"
,
tile
=
true
,
tileSize
=
16
,
edgeSize
=
16
,
insets
=
{
left
=
1
,
right
=
1
,
top
=
1
,
bottom
=
1
},
};
--
function
VUHDO_lnfCheckButtonOnLoad
(
aCheckButton
)
if
aCheckButton
:
GetText
()
then
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoLookAndFeel.xml
View file @
48c1f60c
...
...
@@ -1255,7 +1255,10 @@
<AbsDimension
x=
"140"
y=
"50"
/>
</Size>
<Frames>
<Slider
name=
"$parentSlider"
enableMouse=
"true"
minValue=
"0"
maxValue=
"100"
defaultValue=
"0"
valueStep=
"1"
orientation=
"HORIZONTAL"
>
<Slider
name=
"$parentSlider"
enableMouse=
"true"
minValue=
"0"
maxValue=
"100"
defaultValue=
"0"
valueStep=
"1"
orientation=
"HORIZONTAL"
inherits=
"BackdropTemplate"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_H_SLIDER_8_8_1111"
type=
"global"
/>
</KeyValues>
<Size>
<AbsDimension
x=
"128"
y=
"18"
/>
</Size>
...
...
@@ -1263,17 +1266,6 @@
<Anchor
point=
"LEFT"
/>
<Anchor
point=
"RIGHT"
/>
</Anchors>
<Backdrop
bgFile=
"Interface\AddOns\VuhDoOptions\Images\blue_lt_square_16_16"
edgeFile=
"Interface\AddOns\VuhDoOptions\Images\panel_edges_3"
tile=
"true"
>
<BackgroundInsets>
<AbsInset
left=
"1"
right=
"1"
top=
"1"
bottom=
"1"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"8"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"8"
/>
</EdgeSize>
</Backdrop>
<Layers>
<Layer>
<FontString
name=
"$parentTitle"
inherits=
"VuDoDefaultFontTemplate"
text=
""
>
...
...
@@ -1330,18 +1322,10 @@
<AbsDimension
x=
"18"
y=
"50"
/>
</Size>
<Frames>
<Slider
name=
"$parentSlider"
setallpoints=
"true"
enableMouse=
"true"
minValue=
"0"
maxValue=
"100"
defaultValue=
"0"
valueStep=
"1"
orientation=
"VERTICAL"
>
<Backdrop
bgFile=
"Interface\AddOns\VuhDoOptions\Images\blue_lt_square_16_16"
edgeFile=
"Interface\AddOns\VuhDoOptions\Images\panel_edges_3"
tile=
"true"
>
<BackgroundInsets>
<AbsInset
left=
"1"
right=
"1"
top=
"1"
bottom=
"1"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"8"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"8"
/>
</EdgeSize>
</Backdrop>
<Slider
name=
"$parentSlider"
setallpoints=
"true"
enableMouse=
"true"
minValue=
"0"
maxValue=
"100"
defaultValue=
"0"
valueStep=
"1"
orientation=
"VERTICAL"
inherits=
"BackdropTemplate"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_H_SLIDER_8_8_1111"
type=
"global"
/>
</KeyValues>
<Layers>
<Layer>
<FontString
name=
"$parentTitle"
inherits=
"VuDoDefaultFontTemplate"
text=
""
>
...
...
@@ -1393,21 +1377,13 @@
</Frame>
<Frame
name=
"VuhdoComboItemTemplate"
virtual=
"true"
>
<Frame
name=
"VuhdoComboItemTemplate"
virtual=
"true"
inherits=
"BackdropTemplate"
mixin=
"BackdropTemplateMixin"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_WHITE_SQUARE_16_16_0000"
type=
"global"
/>
</KeyValues>
<Size>
<AbsDimension
x=
"210"
y=
"16"
/>
</Size>
<Backdrop
bgFile=
"Interface\AddOns\VuhDo\Images\white_square_16_16"
tile=
"true"
>
<BackgroundInsets>
<AbsInset
left=
"0"
right=
"0"
top=
"0"
bottom=
"0"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"16"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"16"
/>
</EdgeSize>
</Backdrop>
<Frames>
<Frame
name=
"$parentLabel"
>
<Size>
...
...
@@ -2149,65 +2125,32 @@
</Scripts>
</Button>
<Frame
name=
"VuhDoFrameTemplate"
toplevel=
"true"
movable=
"true"
virtual=
"true"
>
<Backdrop
bgFile=
"Interface\AddOns\VuhDoOptions\Images\blue_lt_square_16_16"
edgeFile=
"Interface\AddOns\VuhDoOptions\Images\panel_edges_2"
tile=
"true"
>
<BackgroundInsets>
<AbsInset
left=
"1"
right=
"1"
top=
"1"
bottom=
"1"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"16"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"16"
/>
</EdgeSize>
</Backdrop>
<Frame
name=
"VuhDoFrameTemplate"
toplevel=
"true"
movable=
"true"
virtual=
"true"
inherits=
"BackdropTemplate"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_FRAME_16_16_1111"
type=
"global"
/>
</KeyValues>
</Frame>
<Frame
name=
"VuhDoPanelTemplate"
virtual=
"true"
>
<Backdrop
bgFile=
"Interface\AddOns\VuhDo\Images\white_square_16_16"
edgeFile=
"Interface\AddOns\VuhDoOptions\Images\panel_edges_1"
tile=
"true"
>
<BackgroundInsets>
<AbsInset
left=
"3"
right=
"3"
top=
"3"
bottom=
"3"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"16"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"16"
/>
</EdgeSize>
</Backdrop>
<Frame
name=
"VuhDoPanelTemplate"
virtual=
"true"
inherits=
"BackdropTemplate"
mixin=
"BackdropTemplateMixin"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_PANEL_16_16_3333"
type=
"global"
/>
</KeyValues>
</Frame>
<Frame
name=
"VuhDoWhitePanelTemplate"
virtual=
"true"
>
<Backdrop
bgFile=
"Interface\AddOns\VuhDo\Images\white_square_16_16"
edgeFile=
"Interface\AddOns\VuhDoOptions\Images\panel_edges_2"
tile=
"true"
>
<BackgroundInsets>
<AbsInset
left=
"3"
right=
"3"
top=
"3"
bottom=
"3"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"16"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"16"
/>
</EdgeSize>
</Backdrop>
<Frame
name=
"VuhDoWhitePanelTemplate"
virtual=
"true"
inherits=
"BackdropTemplate"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_WHITE_PANEL_16_16_3333"
type=
"global"
/>
</KeyValues>
</Frame>
<Slider
name=
"VuhDoPanelScrollBarTemplate"
virtual=
"true"
>
<Slider
name=
"VuhDoPanelScrollBarTemplate"
virtual=
"true"
inherits=
"BackdropTemplate"
mixin=
"BackdropTemplateMixin"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_PANEL_SCROLL_BAR_8_8_1111"
type=
"global"
/>
</KeyValues>
<Size>
<AbsDimension
x=
"16"
y=
"0"
/>
</Size>
<Backdrop
bgFile=
"Interface\AddOns\VuhDoOptions\Images\blue_dk_square_16_16"
edgeFile=
"Interface\AddOns\VuhDoOptions\Images\panel_edges_3"
tile=
"true"
>
<BackgroundInsets>
<AbsInset
left=
"1"
right=
"1"
top=
"1"
bottom=
"1"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"8"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"8"
/>
</EdgeSize>
</Backdrop>
<Frames>
<Button
name=
"$parentScrollUpButton"
inherits=
"UIPanelScrollUpButtonTemplate"
>
<Size>
...
...
@@ -2254,18 +2197,10 @@
</Slider>
<ScrollFrame
name=
"VuhDoScrollPanelTemplate"
virtual=
"true"
>
<Backdrop
bgFile=
"Interface\AddOns\VuhDo\Images\white_square_16_16"
edgeFile=
"Interface\AddOns\VuhDoOptions\Images\panel_edges_4"
tile=
"true"
>
<BackgroundInsets>
<AbsInset
left=
"0"
right=
"0"
top=
"0"
bottom=
"0"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"16"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"16"
/>
</EdgeSize>
</Backdrop>
<ScrollFrame
name=
"VuhDoScrollPanelTemplate"
virtual=
"true"
inherits=
"BackdropTemplate"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_SCROLL_PANEL_16_16_0000"
type=
"global"
/>
</KeyValues>
<Frames>
<Slider
name=
"$parentScrollBar"
inherits=
"VuhDoPanelScrollBarTemplate"
>
<Anchors>
...
...
@@ -2312,18 +2247,10 @@
</Scripts>
</ScrollFrame>
<ScrollFrame
name=
"VuhDoScrollPanelTemplate2"
virtual=
"true"
>
<Backdrop
bgFile=
"Interface\AddOns\VuhDo\Images\white_square_16_16"
edgeFile=
"Interface\AddOns\VuhDoOptions\Images\panel_edges_1"
tile=
"true"
>
<BackgroundInsets>
<AbsInset
left=
"0"
right=
"0"
top=
"0"
bottom=
"0"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"16"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"16"
/>
</EdgeSize>
</Backdrop>
<ScrollFrame
name=
"VuhDoScrollPanelTemplate2"
virtual=
"true"
inherits=
"BackdropTemplate"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_SCROLL_PANEL_2_16_16_0000"
type=
"global"
/>
</KeyValues>
<Frames>
<Slider
name=
"$parentScrollBar"
inherits=
"VuhDoPanelScrollBarTemplate"
>
<Anchors>
...
...
@@ -2512,18 +2439,10 @@
</Button>
<Frame
name=
"VuhDoPanelAppendBottomTemplate"
virtual=
"true"
>
<Backdrop
bgFile=
"Interface\AddOns\VuhDoOptions\Images\blue_lt_square_16_16"
edgeFile=
"Interface\AddOns\VuhDoOptions\Images\panel_edges_2_append_bottom"
tile=
"true"
>
<BackgroundInsets>
<AbsInset
left=
"1"
right=
"1"
top=
"1"
bottom=
"1"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"16"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"16"
/>
</EdgeSize>
</Backdrop>
<Frame
name=
"VuhDoPanelAppendBottomTemplate"
virtual=
"true"
inherits=
"BackdropTemplate"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_PANEL_APPEND_BOTTOM_16_16_1111"
type=
"global"
/>
</KeyValues>
</Frame>
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoNewColorPicker.lua
View file @
48c1f60c
...
...
@@ -5,6 +5,16 @@ local sIsTextEdit;
local
VUHDO_origColor
;
local
VUHDO_copyPasteColor
=
{
};
-- Backdrops
BACKDROP_VUHDO_COLOR_PICKER_SLIDER_8_8_1111
=
{
bgFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\blue_lt_square_16_16"
,
edgeFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\panel_edges_1"
,
tile
=
true
,
tileSize
=
8
,
edgeSize
=
8
,
insets
=
{
left
=
1
,
right
=
1
,
top
=
1
,
bottom
=
1
},
};
--
local
function
VUHDO_mayEditText
()
return
VUHDO_COLOR
.
TR
~=
nil
and
not
strfind
(
VUHDO_PROHIBIT
,
"T"
,
1
,
true
);
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoNewColorPicker.xml
View file @
48c1f60c
...
...
@@ -229,18 +229,10 @@
</Anchor>
</Anchors>
<Frames>
<Slider
name=
"$parentSlider"
setallpoints=
"true"
enableMouse=
"true"
minValue=
"0"
maxValue=
"100"
defaultValue=
"0"
valueStep=
"1"
orientation=
"VERTICAL"
>
<Backdrop
bgFile=
"Interface\AddOns\VuhDoOptions\Images\blue_lt_square_16_16"
edgeFile=
"Interface\AddOns\VuhDoOptions\Images\panel_edges_1"
tile=
"true"
>
<BackgroundInsets>
<AbsInset
left=
"1"
right=
"1"
top=
"1"
bottom=
"1"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"8"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"8"
/>
</EdgeSize>
</Backdrop>
<Slider
name=
"$parentSlider"
setallpoints=
"true"
enableMouse=
"true"
minValue=
"0"
maxValue=
"100"
defaultValue=
"0"
valueStep=
"1"
orientation=
"VERTICAL"
inherits=
"BackdropTemplate"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_COLOR_PICKER_SLIDER_8_8_1111"
type=
"global"
/>
</KeyValues>
<Layers>
<Layer>
<FontString
name=
"$parentTitle"
inherits=
"VuDoDefaultFontTemplate"
text=
"VUHDO_I18N_OPACITY"
>
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoNewOptionsTabbedFrame.lua
View file @
48c1f60c
...
...
@@ -15,6 +15,16 @@ VUHDO_OPTIONS_SETTINGS = nil;
VUHDO_IS_CONFIG
=
false
;
-- Backdrops
BACKDROP_VUHDO_H_SLIDER_8_8_1111
=
{
bgFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\blue_lt_square_16_16"
,
edgeFile
=
"Interface\\AddOns\\VuhDoOptions\\Images\\panel_edges_3"
,
tile
=
true
,
tileSize
=
8
,
edgeSize
=
8
,
insets
=
{
left
=
1
,
right
=
1
,
top
=
1
,
bottom
=
1
},
};
--
function
VUHDO_tabbedFrameOnMouseDown
(
aPanel
)
aPanel
:
StartMoving
();
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoNewOptionsTabbedFrame.xml
View file @
48c1f60c
...
...
@@ -295,18 +295,10 @@
</Anchors>
<Frames>
<Slider
name=
"$parentSlider"
setallpoints=
"true"
enableMouse=
"true"
minValue=
"0"
maxValue=
"100"
defaultValue=
"0"
valueStep=
"1"
orientation=
"VERTICAL"
>
<Backdrop
bgFile=
"Interface\AddOns\VuhDoOptions\Images\blue_lt_square_16_16"
edgeFile=
"Interface\AddOns\VuhDoOptions\Images\panel_edges_3"
tile=
"true"
>
<BackgroundInsets>
<AbsInset
left=
"1"
right=
"1"
top=
"1"
bottom=
"1"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"8"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"8"
/>
</EdgeSize>
</Backdrop>
<Slider
name=
"$parentSlider"
setallpoints=
"true"
enableMouse=
"true"
minValue=
"0"
maxValue=
"100"
defaultValue=
"0"
valueStep=
"1"
orientation=
"VERTICAL"
inherits=
"BackdropTemplate"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_H_SLIDER_8_8_1111"
type=
"global"
/>
</KeyValues>
<Layers>
<Layer>
<FontString
name=
"$parentTitle"
inherits=
"VuDoDefaultFontTemplate"
text=
""
>
...
...
This diff is collapsed.
Click to expand it.
VuhDoPanel.lua
View file @
48c1f60c
...
...
@@ -14,6 +14,26 @@ local tsort = table.sort;
local
_
;
-- Backdrops
BACKDROP_VUHDO_PLAYER_TARGET_FRAME
=
{
bgFile
=
"Interface\\AddOns\\VuhDo\\Images\\white_square_16_16"
,
tile
=
false
,
tileSize
=
16
,
edgeSize
=
1
,
insets
=
{
left
=
10
,
right
=
10
,
top
=
10
,
bottom
=
10
},
};
BACKDROP_BORDER_COLOR_VUHDO_PLAYER_TARGET_FRAME
=
CreateColor
(
0
.
6
,
0
.
6
,
0
.
6
);
BACKDROP_VUHDO_HEAL_PANEL
=
{
bgFile
=
"Interface\\AddOns\\VuhDo\\Images\\white_square_16_16"
,
edgeFile
=
"Interface\\Tooltips\\UI-Tooltip-Border"
,
tile
=
true
,
tileSize
=
8
,
edgeSize
=
8
,
insets
=
{
left
=
1
,
right
=
1
,
top
=
1
,
bottom
=
1
},
};
-- BURST CACHE ---------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
VuhDoPanel.xml
View file @
48c1f60c
...
...
@@ -131,20 +131,11 @@
</Scripts>
</StatusBar>
<Frame
name=
"VuhDoPlayerTargetFrameTemplate"
virtual=
"true"
>
<Backdrop
bgFile=
""
edgeFile=
"Interface\AddOns\VuhDo\Images\white_square_16_16"
tile=
"false"
>
<BackgroundInsets>
<AbsInset
left=
"10"
right=
"10"
top=
"10"
bottom=
"10"
/>
</BackgroundInsets>
<TileSize>
<AbsValue
val=
"16"
/>
</TileSize>
<EdgeSize>
<AbsValue
val=
"1"
/>
</EdgeSize>
<BorderColor
r=
"0.6"
g=
"0.6"
b=
"0.6"
/>
</Backdrop>
<Frame
name=
"VuhDoPlayerTargetFrameTemplate"
virtual=
"true"
inherits=
"BackdropTemplate"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_PLAYER_TARGET_FRAME"
type=
"global"
/>
<KeyValue
key=
"backdropBorderColor"
value=
"BACKDROP_BORDER_COLOR_VUHDO_PLAYER_TARGET_FRAME"
type=
"global"
/>
</KeyValues>
</Frame>
<Button
name=
"VuhDoButtonSecureTargetTemplate"
virtual=
"true"
inherits=
"SecureUnitButtonTemplate,SecureHandlerEnterLeaveTemplate,SecureHandlerShowHideTemplate,SecureHandlerMouseUpDownTemplate"
>
...
...
@@ -532,59 +523,47 @@
<Frame
name=
"VuhDoHealPanelTemplate"
toplevel=
"true"
parent=
"UIParent"
movable=
"true"
enableKeyboard=
"true"
virtual=
"true"
hidden=
"true"
inherits=
"SecureFrameTemplate"
>
<Backdrop
tile=
"true"
bgFile=
"Interface\AddOns\VuhDo\Images\white_square_16_16"
edgeFile=
"Interface\Tooltips\UI-Tooltip-Border"
>
<EdgeSize>
<AbsValue
val=
"8"
/>
</EdgeSize>
<TileSize>
<AbsValue
val=
"8"
/>
</TileSize>
<BackgroundInsets>
<AbsInset
left=
"1"
right=
"1"
top=
"1"
bottom=
"1"
/>
</BackgroundInsets>
</Backdrop>
enableKeyboard=
"true"
virtual=
"true"
hidden=
"true"
inherits=
"SecureFrameTemplate,BackdropTemplate"
mixin=
"BackdropTemplateMixin"
>
<KeyValues>
<KeyValue
key=
"backdropInfo"
value=
"BACKDROP_VUHDO_HEAL_PANEL"
type=
"global"
/>
</KeyValues>
<Frames>
<Frame
name=
"$parentGrpLbl"
>
<Size>
<AbsDimension
x=
"66"
y=
"20"
/>
</Size>
<Anchors>
<Anchor
point=
"TOPLEFT"
>
<Offset>
<AbsDimension
x=
"10"
y=
"20"
/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString
name=
"$parentLbl"
inherits=
"SystemFont_Tiny"
text=
""
>
<Anchors>
<Anchor
point=
"TOPLEFT"
/>
<Anchor
point=
"BOTTOMRIGHT"
/>
</Anchors>
<FontHeight>
<AbsValue
val=
"12"
/>
</FontHeight>
<Color
r=
"0"
g=
"1"
b=
"0"
/>
<Shadow>
<Color
r=
"0"
g=
"0"
b=
"0"
/>
<Offset>
<AbsDimension
x=
"1"
y=
"-1"
/>
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnMouseDown>
VUHDO_startMoving(self:GetParent())
</OnMouseDown>
<OnMouseUp>
VUHDO_stopMoving(self:GetParent())
</OnMouseUp>
</Scripts>
</Frame>
<Frame
name=
"$parentGrpLbl"
>
<Size>
<AbsDimension
x=
"66"
y=
"20"
/>
</Size>
<Anchors>
<Anchor
point=
"TOPLEFT"
>
<Offset>
<AbsDimension
x=
"10"
y=
"20"
/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString
name=
"$parentLbl"
inherits=
"SystemFont_Tiny"
text=
""
>
<Anchors>
<Anchor
point=
"TOPLEFT"
/>
<Anchor
point=
"BOTTOMRIGHT"
/>
</Anchors>
<FontHeight>
<AbsValue
val=
"12"
/>
</FontHeight>
<Color
r=
"0"
g=
"1"
b=
"0"
/>
<Shadow>
<Color
r=
"0"
g=
"0"
b=
"0"
/>
<Offset>
<AbsDimension
x=
"1"
y=
"-1"
/>
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnMouseDown>
VUHDO_startMoving(self:GetParent())
</OnMouseDown>
<OnMouseUp>
VUHDO_stopMoving(self:GetParent())
</OnMouseUp>
</Scripts>
</Frame>
<Frame
name=
"$parentNewTxu"
hidden=
"true"
>
<Size>
...
...
@@ -643,7 +622,7 @@
<OnMouseUp>
VUHDO_stopMoving(self);
</OnMouseUp>
</Scripts>
</Scripts>
</Frame>
</Ui>
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
48c1f60c
...
...
@@ -11,6 +11,7 @@ Known issues:
Bugfixes:
-- Removed deprecated event UNIT_HEALTH_FREQUENT
-- Migrated backdrops to BackdropTemplate and BackdropTemplateMixin
Improvements:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment