Shestak UI
Go Back   Shestak UI > Interface Forums > English Community > Technical Support

Technical Support Ask for help or find solutions about ShestakUI.

Advertising

 
Thread Tools
Old 23.05.2011, 06:15   #1
 Senior Member User Information

anj's Avatar
How to make 3 x 4 Bar layout?

How do I make Bar 1 and Bar 2 be 3 x 4 and moveable? I have a Razer Naga mouse and this layout would be perfect.

Thank you.
Old 23.05.2011, 06:15   #1.5 - Disable Ads

Advertise on this site

Old 23.05.2011, 12:26   #2
Erratic
 Assistant User Information

Erratic's Avatar
As I know this mouse have a separate addon to display this panel
Old 23.05.2011, 14:53   #3
Shestak
 Junior Member User Information

Shestak's Avatar
Quote:
Originally Posted by anj View Post
... and moveable?
ShestakUI\Config\Positions.lua



Quote:
Originally Posted by anj View Post
How do I make Bar 1 and Bar 2 be 3 x 4?
Bar1(ShestakUI\Modules\ActionBars\Bar1.lua)(~65-76):
Code [Select]:
for i = 1, 12 do
	button = _G["ActionButton"..i]
	button:Size(T.buttonsize, T.buttonsize)
	button:ClearAllPoints()
	button:SetParent(Bar1Holder)
	if i == 1 then
		button:Point("BOTTOMLEFT", Bar1Holder, 0, 0)
	else
		local previous = _G["ActionButton"..i-1]
		button:Point("LEFT", previous, "RIGHT", T.buttonspacing, 0)
	end
end

Bar2(ShestakUI\Modules\ActionBars\Bar2.lua)(~11-20):
Code [Select]:
for i = 1, 12 do
	local b = _G["MultiBarBottomLeftButton"..i]
	local b2 = _G["MultiBarBottomLeftButton"..i-1]
	b:ClearAllPoints()
	if i == 1 then
		b:Point("BOTTOM", ActionButton1, "TOP", 0, T.buttonspacing)
	else
		b:Point("LEFT", b2, "RIGHT", T.buttonspacing, 0)
	end
end
And example of Bar5:
Code [Select]:
for i = 1, 12 do
	local b = _G["MultiBarBottomRightButton"..i]
	local b2 = _G["MultiBarBottomRightButton"..i-1]
	b:ClearAllPoints()
	if C.actionbar.split_bars == true and C.actionbar.rightbars < 3 then
		if i == 1 then
			b:Point("TOPLEFT", SplitBarLeft, "TOPLEFT", 0, 0)
		elseif i == 4 then
			b:Point("BOTTOMLEFT", SplitBarLeft, "BOTTOMLEFT", 0, 0)
		elseif i == 7 then
			b:Point("TOPLEFT", SplitBarRight, "TOPLEFT", 0, 0)
		elseif i == 10 then
			b:Point("BOTTOMLEFT", SplitBarRight, "BOTTOMLEFT", 0, 0)
		else
			b:Point("LEFT", b2, "RIGHT", T.buttonspacing, 0)
		end
	else
		if i == 1 then
			if C.actionbar.rightbars < 3 then
				b:Point("BOTTOM", ActionButton1, "TOP", 0, T.buttonsize + (T.buttonspacing * 2))
			else
				b:Point("TOPLEFT", RightActionBarAnchor, "TOPLEFT", 0, 0)
			end
		else
			if C.actionbar.rightbars < 3 then
				b:Point("LEFT", b2, "RIGHT", T.buttonspacing, 0)
			else
				b:Point("TOP", b2, "BOTTOM", 0, -T.buttonspacing)
			end
		end
	end
end
Say Thank:
anj (23.05.2011)
Old 23.05.2011, 15:20   #4
anj
 Senior Member User Information

anj's Avatar
Thanks for the info Shestak. Thanks also to a friend who helped me with this:

Code [Select]:
for i = 1, 12 do
	button = _G["ActionButton"..i]
	button:Size(T.buttonsize, T.buttonsize)
	button:ClearAllPoints()
	button:SetParent(Bar1Holder)
	if i == 1 then
		button:Point("BOTTOMLEFT", Bar1Holder, 0, 0)
	elseif i == 4 or i == 7 or i == 10 then
		button:SetPoint("TOPLEFT", _G["ActionButton"..i-3], "BOTTOMLEFT", 0, -3)
	else
		button:SetPoint("LEFT", _G["ActionButton"..i-1], "RIGHT", T.buttonspacing, 0)
	end
end
And then I used /moveui and Positions.lua to set everything.
Say Thank:
Shestak (23.05.2011)

Tags
razer naga actionbar

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Characters with the Same layout Hijinx Technical Support 1 28.07.2011 01:51
How to make the Pixel fonts look clean Poon Technical Support 5 06.07.2011 17:40
How to make cast bar vertical or remove it partxdeux Technical Support 1 05.03.2011 05:06
How to make it show my focus' debuffs? karltong General Discussion 3 17.10.2010 19:06
How to make my UF show focus frame's target ljs1984499 Technical Support 4 12.06.2010 07:29


Mobile Style Русский English Deutsch Italian Chinese