Event Horizon "Anchor"!?

K

Kritze

Guest
Hai

Hab mir das Addon Event Horizon heruntergeladen und man kann das Addon ja nur mehr oder weniger über die config datei im Addon Ordner konfigurieren vom Aussehen.

Soweit hab ich das auch schon geschafft (Hab ja nur Scale genutzt hrhr) aber jetzt hängt das Addon iwie HINTER den Greifen die beim WoW UI vorkommen unten an der Actionbar.

Eigentlich - wenn ich das richtig übersetzt hab - soll man das ja auch ändern können, das also sozusagen in vordergrund stellen.

Bin mir sicher, dass das Fett markierte Relevant für solch eine veränderung ist aber durch meine geringe oder mehr gar keine LUA Kenntnisse
victory.gif
weiß ich echt net was ich da verändern muss.

Code:
local config = EventHorizon.config

-- Past and future determine the number of seconds displayed before and after the current time.
config.past = -3
config.future = 9

-- Width and height of a single bar.
config.width = 168
config.height = 18

-- The space between two bars.
config.spacing = 0

-- The overall scale of the main frame.
config.scale = 1.7

[b]-- By default, the main frame is parented to the handle to make it draggable.
-- The top-right of the frame is anchored to the top-left of the
-- handle, which makes the frame grow downwards. 
config.anchor = {"TOPRIGHT", "EventHorizonHandle", "BOTTOMRIGHT"}

-- Use the following line to anchor the bottom left of the frame to the top left of the handle, thus allowing the 
-- bars to grow upwards. You will only notice a difference on Druids, where bars are shown/hidden depending on stance.
--config.anchor = {"BOTTOMLEFT", "EventHorizonHandle", "TOPLEFT"}

-- Alternatively, set a fixed position for the main frame. The handle won't be created if the main frame is not going to be parented to it.
-- The following line will anchor the top of the main frame to the center of the screen, making the frame grow downwards.
--config.anchor = {"TOP","UIParent","CENTER",100,100}

-- When you anchor the bottom, the frame will grow upwards:
--config.anchor = {"BOTTOM","UIParent","CENTER",100,100}[/b]

-- Comment out or remove the following line if you want to keep bars with a solid color.
config.texturedbars = true
-- Most textures appear darker than a solid color because of the alpha value. To counteract this, 
-- the alpha value of the color is multiplied by the following value before it's applied to a texture.
config.texturealphamultiplier = 2

-- Create the backdrop frame and border.
config.backdrop = true
-- Set it to nil to remove it, like so:
--config.backdrop = nil

-- Use the default Blizzard icon border.
config.iconborder = true

-- Display the end of the GCD as a thin line.
config.gcdStyle = 'line'
-- Alternatively, display the GCD as bar from now to the end.
--config.gcdStyle = 'bar'
-- To disable the GCD indicator, clear the style.
--config.gcdStyle = false
-- Set the color of the GCD indicator.
config.gcdColor = {1,1,1,0.5}

-- Backdrop, border, and texture settings. These are the defaults, tweak to taste.
-- Individual bar background.
config.bartexture = "Interface\\Addons\\EventHorizon\\Smooth"
-- Individual bar background color.
config.barbgcolor = {1,1,1,0.1}

-- Frame background.
config.bg = "Interface\\ChatFrame\\ChatFrameBackground"
-- Border texture.
config.border = "Interface\\Tooltips\\UI-Tooltip-Border"
-- Frame background color.
config.bgcolor = {0,0,0,0.5}
-- Border color.
config.bordercolor = {1,1,1,1}

-- Advanced settings.
-- Use this to shrink or enlarge the background. Negative numbers move the background edges further from its center, positive numbers move it closer.
config.inset = {top = 2, bottom = 2, left = 2, right = 2}
-- Extra space between the EventHorizon bars and the border.
config.padding = 3
-- Thickness of the frame's border.
config.edgesize = 8
 
Zurück