Glamour

Glamour Sample Static

5.4 update pending

I have been away from WOW for some time but am now working to resolve the issues with my addons. This one in particular is a large project as Blizzard made significant changes to the code base it relies on when MOP was introduced. It therefore required a complete rewrite to get working properly again.

Please Support My Work

If you find this addon useful please consider using the Donate button to buy me a cup of coffee. You can also support my efforts on this addon by visiting the link below from time to time. You must wait the 6 seconds for the skip button to appear in the upper right hand corner and click it for me to get credit. You will then be returned back to this page. The more clicks here, the more encouragement I'll have to update more often.

Click Here To Support This Addon

If you like my work you should visit and bookmark my WOW Blog: http:cjworlds.com/wow

BETA STATUS

This project has reverted back to a beta status since 5.0.4. The addon still works as a library for addons which call it for custom alerts and Seems todo okay with normal achievement alerts but there are some issues that i'll be working to resolve over time when I can. If you do not subscribe to using beta software, I would ask you opt out of using Glamour at this time.

BUG REPORTS

Please report all bugs on the Glamour CuseForge website here: http://wow.curseforge.com/addons/glamor/tickets/

Please do NOT make bug reports in the comments on this page. Lengthy, inconclusive bug reports posted as comments will simply be deleted and ignored. Bug reports need to include the following:

  • What was happening when you encountered the error.
  • What region is your client.
  • What is the error text/description of the error you are experiencing.
  • Please include the names of any/all other Achievement related addons had enabled at the time of the error.

Glamour

Glamour is a stand-alone replacement for the default Blizzard Achievement Alert frame. It currently offers the following improvements over the Blizzard built-in alert interface:

  • draggable anchor for relocating where your achievements are shown on your screen.
  • increases the amount of alerts from 2 to 24 allowing your screen to really pop when you fire multiple achievements together.
  • adds the ability to instantly hide an alert frame by right-clicking it.
  • left-clicking the alert frame will now open the achievement interface without closing all other open windows.
  • Captures Blizzard Achievement Alerts (Personal and Guild)
  • Captures Blizzard Dungeon Completion Alerts
  • Captures Blizzard battle.net Toast Alerts
  • Full set of slash commands to operate and test alerts.

In addition Glamour allows other addons to send customized alerts to its' frame, mirroring the fun and attention grabbing nature of the original Blizzard Achievement Alert frame. I created this interface to have a shared frame to hold alerts for when multiple addons fire alerts together. Developers are welcome to plugin to the alert interface for their own addons as well.

Suggested Addons

For an example of addons that utilize this interface see:

Plugging-in Details

Functions:

  • GlamourShowAlert(size, data, glow, shine)
	-- size: numeric
	--  	width of the alert frame with the following predefinded values
	--  	0 : Shows just the Icon and IconFrame along with ttext and bttext from the data fields. This mode also hides the shine effect.
	--  	1 : Default size (width 300);
	--  	* : any other number will be used as a specific size to resize the width too. 300 is the default size, use this as a starting point.
	-- data: keytable: 
	-- 	Text = Text to display
	-- 	Title = Title to display
	-- 	bTitle = text to display on the border of the guild alert frame.
	-- 	Icon = icon path to display
	-- 	tText = text to display at the top of the icon
	-- 	bText = text to display at the bottom of the icon
	-- 	Points = numeric value to display ontop of the shield icon (0 for nothing)
	--  	ShieldHide = Boolean (true or false ) hides the shield icon on the right of the frame. (This does not Hide shieldPoints).
	--	ShieldIcon = String containing the path to a custom Icon/Texture to use in place of the regular shield.
	--  	FrameStyle = String to identify the type of frame to use for your alert.
	--  		nil: Use the default Blizzard Achievement style.
	--  		GuildAchievement: Use the Blizzard Guild Achievement style.
	--  		Notice: A small alert that handles a single line/short sentence of text.
	--  	HideBanner = Boolean (true or false ) hides the banner and banner border textures when useGuildAch is active
	--  	BannerColor = keytable: {r,g,b} or nil for default - the rgb values to use for the banner color when useGuildAch is active.
	--  	HideGlow = Boolean (true or false) hides the glow effect on the alert window.
	--  	HideShine = Boolean (true or false) hides the shine effect on the alert window.
	-- glow: keytable: {r,g,b} or nil for default - the rgb values to use for the glow animation
	-- shine: keytable: {r,g,b} or nil for default - the rgb values to use for the shine animation<</code>>
Sample Function Call:
<<code lua>>
function GlamourAlertSample()
	local MyData = {};
	MyData.Text = "General Text";
	MyData.Title = "Title";
	MyData.bTitle = "bTitle";
	MyData.Icon = "Interface\\Icons\\INV_Misc_QuestionMark";
	MyData.tText = "tText";
	MyData.bText = "bText";
	MyData.FrameStyle = FrameStyle;
	MyData.ShieldHide = false;
	MyData.ShieldIcon = false;
	MyData.ShieldText = "shieldText";
	MyData.HideGlow = false;
	MyData.HideShine = false;
	MyData.ShowBanner = true;
	MyData.BannerColor = {r=.2,g=.2,b=.8};
	local green = {r=0,g=1,b=0};
	local red = {r=1,g=0,b=0 };
	
	 GlamourShowAlert(1, MyData, nil, nil);
	 GlamourShowAlert(1, MyData, red, green);
	--
	 GlamourShowAlert(0, MyData, nil, nil);
	 GlamourShowAlert(0, MyData, red, green); 
	--
	 GlamourShowAlert(400, MyData, green, red); 
	 GlamourShowAlert(200, MyData, red, green); 
	--
	 GlamourShowAlert(1, MyData, nil, nil);
	 GlamourShowAlert(1, MyData, red, green);
end

Future Plans

  • Multiple Styles
  • Passing a Function to be called OnClick of the GlamourAlertFrames

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Nov 10, 2010
Categories
Last update
Feb 20, 2014
Development stage
Release
Language
  • enUS
License
Public Domain
Curse link
Glamour
Downloads
430,165
Recent files

Authors