Quantcast
Download
(3 Kb)
Download
Updated: 11-29-12 04:40 AM
Pictures
File Info
Updated:11-29-12 04:40 AM
Created:08-14-11 06:37 AM
Downloads:8,480
Favorites:14
MD5:

qChatBar  Popular! (More than 5000 hits)

Version: 1.1
by: Qulight [More]

qChatBar - button Bar for opening chat messages of each type.
Its is simple, lightweight and cpu-friendly addon

Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
1.0a
3kB
Qulight
11-29-11 08:49 AM
1.0
3kB
Qulight
08-14-11 06:37 AM


Post A Reply Comment Options
Unread 03-25-16, 06:06 AM  
dartraiden
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Make horizontal: replace all occurrences of
Code:
"RIGHT", 0, -13.2
by
Code:
"RIGHT", 13, 0

Moving:
Code:
s:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", 4, 133).
'4' is distance from left screen border and '133' is distance from bottom. Change it and type /reload into chat.


Buttons size: find
Code:
local height, width =
two numbers after '=' is buttons height and width


Shadow:
Code:
shadow:SetPoint("TOPLEFT", -2, 2)
shadow:SetPoint("BOTTOMRIGHT", 2, -2)
less values means less shadows


Distance between buttons:
every button has it's position relative to previous button
Code:
w:SetPoint("RIGHT", s, "RIGHT", 0, -13.2)
first number is X coordinate, second is Y coordinate. So button 'w' is lower (-13.2) than button 's'. If you make horizontal buttons, this code will looks like
Code:
w:SetPoint("RIGHT", s, "RIGHT", 13, 0)
so button 'w' is right of 's' (by 13 pixels) on the same horizontal (0 shift).


Rearrange buttons:
every button has it's position relative to previous button. For example, this code describes button 'o' (officer channel):

Code:
	o = CreateFrame('Button', 'o', qChatBar)
	o:ClearAllPoints()
	o:SetParent(qChatBar)
	o:SetPoint("RIGHT", g, "RIGHT", 0, -13.2)
	o:SetWidth(width)
	o:SetHeight(height)
	framechat(o)
	CreateShadow(o)
	o:SetBackdropColor(0,.54,0, 1) 
	o:RegisterForClicks('AnyUp')
	o:SetScript('OnClick', addon.O)
'"RIGHT", g' means that 'o' is next from button 'g' (guildchat). Just replace it with '"RIGHT", s' and 'o' will be next to 's'. Don't forget check other buttons sequence, so that the two buttons are not occupied the same place.


Adding /4 channel: find
Code:
function addon:D(button)
ChatFrame_OpenChat("/3 ", SELECTED_DOCK_FRAME);	
end
add after it

Code:
function addon:L(button)
ChatFrame_OpenChat("/4 ", SELECTED_DOCK_FRAME);
end
then find
Code:
d:SetScript('OnClick', addon.D)
add white line after it and also add

Code:
        l = CreateFrame('Button', 'l', qChatBar)
	l:ClearAllPoints()
	l:SetParent(qChatBar)
	l:SetPoint("RIGHT", d, "RIGHT", 0, -13.2)
	l:SetWidth(width)
	l:SetHeight(height)
	framechat(l)
	CreateShadow(l)
	l:SetBackdropColor(.7,.7,0, 1)
	l:RegisterForClicks('AnyUp')
	l:SetScript('OnClick', addon.L)
Last edited by dartraiden : 03-25-16 at 06:35 AM.
Report comment to moderator  
Reply With Quote
Unread 11-12-12, 01:54 PM  
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 614
File comments: 168
Uploads: 13
Great add on, would like to ask how to get rid of frame texture, and just have buttons, if possible. My thanks, in advance, for any/all help~
__________________
Report comment to moderator  
Reply With Quote
Unread 07-25-12, 09:15 PM  
ShadowForces
A Defias Bandit

Forum posts: 3
File comments: 12
Uploads: 0
Can we have a MoP beta compatible update?! pretty please?!
Report comment to moderator  
Reply With Quote
Unread 12-28-11, 02:05 PM  
shinchih2001
A Defias Bandit

Forum posts: 3
File comments: 199
Uploads: 0
can not see private channel button??
Report comment to moderator  
Reply With Quote
Unread 08-14-11, 10:07 AM  
liverson34
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Originally posted by Gristadar
How do you move it where you want it??
the first tab,“say”
s:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", 2, 121)
Report comment to moderator  
Reply With Quote
Unread 08-14-11, 07:42 AM  
Gristadar
A Wyrmkin Dreamwalker
 
Gristadar's Avatar

Forum posts: 57
File comments: 19
Uploads: 0
How do you move it where you want it??
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: