Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(11 Kb)
Download
Updated: 05-26-14 04:28 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:05-26-14 04:28 PM
Created:05-18-14 02:37 PM
Downloads:345
Favorites:6
MD5:

DBM Template CalaiUI

Version: 2.0
by: TheGeek [More]

Newest version of DBM changed how DBM-Template file worked; took me some time but I managed to get mine back to how I had it in CalaiUI. If you recall; it was a copy of the original DBM Template plug-in listed here.

You will have to replace two files, copy the texture file, and make some changes to DBM GUI settings.

1. Overwrite your DBT.lua and DBT-Template.xml files in Addons\DBM-StatusBarTimers

2. Copy the frameborder.tga to Addons\DBM-Core\Textures

3. Open DBM GUI by typing /dbm

4. Click Options > Bar Setup

5. Change font size to 12, and bar height to 10

6. Set "Small Bar Options" (scroll down) Offset Y to 20 (otherwise bars will be on top of each other

That is it; your bars should look like screenshot.

For those interested; the DBT-Template.xml file only changes position of certain components. The actual size of icons and placement of text is controlled in DBT.lua; a royal pain compared to previous versions.


Original Lines

function barPrototype:ApplyStyle()

Code:
name:SetPoint("LEFT", bar, "LEFT", 3, 0)

Modified Lines - this allowed me to have the timer name start right at edge of bar.

function barPrototype:ApplyStyle()

Code:
name:SetPoint("LEFT", bar, "LEFT", 0, 0)

Original Lines

function barPrototype:ApplyStyle()

Code:
icon1:SetWidth(self.owner.options.Height)
icon1:SetHeight(self.owner.options.Height)

Modified Lines - this allowed me to set the icon size.

function barPrototype:ApplyStyle()

Code:
icon1:SetWidth(27, self.owner.options.Height)
icon1:SetHeight(27, self.owner.options.Height)

[Rev 2.0]

- Forgot to include the frame border texture.
Archived Files (1)
File Name
Version
Size
Author
Date
1.0
10kB
TheGeek
05-18-14 02:37 PM


Post A Reply Comment Options
Unread 05-28-14, 09:11 AM  
Ruven
A Kobold Labourer
 
Ruven's Avatar

Forum posts: 0
File comments: 33
Uploads: 0
Originally Posted by TheGeek
Originally Posted by Ruven
One thing that I did notice, is that the very first time the bar shows up on the timer list, you can see the icon for half a second then it goes black.
I'm an idiot; I forgot to include the frameborder.tga file to the zip; I just uploaded an updated file -- wait for the mods to approve it and then download it. You just need to copy the frameborder.tga file to Addons\DBM-Core\Textures

I am sorry for that mate.
Yep it works now.
Ruven is online now Report comment to moderator  
Reply With Quote
Unread 05-26-14, 04:29 PM  
TheGeek
A Firelord
 
TheGeek's Avatar
AddOn Author - Click to view AddOns

Forum posts: 494
File comments: 197
Uploads: 8
Originally Posted by Ruven
One thing that I did notice, is that the very first time the bar shows up on the timer list, you can see the icon for half a second then it goes black.
I'm an idiot; I forgot to include the frameborder.tga file to the zip; I just uploaded an updated file -- wait for the mods to approve it and then download it. You just need to copy the frameborder.tga file to Addons\DBM-Core\Textures

I am sorry for that mate.
__________________
TheGeek is offline Report comment to moderator  
Reply With Quote
Unread 05-25-14, 05:11 AM  
Ruven
A Kobold Labourer
 
Ruven's Avatar

Forum posts: 0
File comments: 33
Uploads: 0


Higher height


One thing that I did notice, is that the very first time the bar shows up on the timer list, you can see the icon for half a second then it goes black.
Ruven is online now Report comment to moderator  
Reply With Quote
Unread 05-22-14, 01:48 PM  
TheGeek
A Firelord
 
TheGeek's Avatar
AddOn Author - Click to view AddOns

Forum posts: 494
File comments: 197
Uploads: 8
Originally Posted by Ruven
The icons for the abilities and whatnot aren't showing...just a big black square. If I set the bar height to higher values I can start seeing the icons partially.
Interesting; can you screen shot it?

I didn't change anything that dealt with the ability icons.
__________________
TheGeek is offline Report comment to moderator  
Reply With Quote
Unread 05-19-14, 11:36 AM  
Ruven
A Kobold Labourer
 
Ruven's Avatar

Forum posts: 0
File comments: 33
Uploads: 0
The icons for the abilities and whatnot aren't showing...just a big black square. If I set the bar height to higher values I can start seeing the icons partially.
Ruven is online now Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: