Shestak UI
Go Back   Shestak UI > Interface Forums > Other Community > Skinning

Skinning Share your custom skins with ShestakUI or others AddOns.

Advertising

 
Thread Tools
Old 08.09.2010, 15:25   #1
 Assistant User Information

nanjiqq's Avatar
The next modify plan and question

hi,guys
i have been something modify about Shestak UI 1.6.3 version,and want to continue , about:

Nameplates:reset style and add the threat function,very bad shestak,1.6.3 version caelnameplates addons did this function,

Unit Frame style:i like the border style of 2.5version,you give me the Link is about delete frame border yesterday,and i‘m not find the"SetTemplate(self.FrameBackdrop)"code at ouf_main of 1.6.3 version, the Kisulicious’s version is 2.0.

I hope you can tell me their realization,THX。

caelNamePlates.lua oUF_Main.lua

OK,This is my reset show.

Click image for larger version

Name:	minimap.jpg
Views:	43
Size:	41.1 KB
ID:	182

Click image for larger version

Name:	actionbar.jpg
Views:	48
Size:	55.7 KB
ID:	183

Click image for larger version

Name:	player.jpg
Views:	52
Size:	53.2 KB
ID:	184

Click image for larger version

Name:	moren.jpg
Views:	55
Size:	180.3 KB
ID:	185

i like the ui and very happy to reset it , i must to say:good job! shestak.
Old 08.09.2010, 15:25   #1.5 - Disable Ads

Advertise on this site

Old 08.09.2010, 15:44   #2
Shestak
 Junior Member User Information

Shestak's Avatar
What kind of questions?
Old 08.09.2010, 15:49   #3
nanjiqq
 Assistant User Information

nanjiqq's Avatar
i must use picture to express again, my english so bad
Old 08.09.2010, 16:11   #4
nanjiqq
 Assistant User Information

nanjiqq's Avatar
Click image for larger version

Name:	border show.jpg
Views:	44
Size:	157.1 KB
ID:	188

the ouf_main.lua file at 1# If you have forgotten the 1.6.3 code
Old 08.09.2010, 16:19   #5
Shestak
 Junior Member User Information

Shestak's Avatar
For !aSettings:
Code [Select]:
function CreateTemplate(f)
	f:SetBackdrop({
		bgFile = YOUR_BLANK_TEXTURE, 
		edgeFile = YOUR_BLANK_TEXTURE, 
		tile = false, tileSize = 0, edgeSize = 1, 
		insets = {left = -1, right = -1, top = -1, bottom = -1}
	})
	f:SetBackdropColor(YOUR_BACKDROP_COLOR)
	f:SetBackdropBorderColor(YOUR_BORDER_COLOR)
end
For oUF_Shestak:
Code [Select]:
self.FrameBackdrop = CreateFrame("Frame", nil, self)
CreateTemplate(self.FrameBackdrop)
self.FrameBackdrop:SetFrameStrata("BACKGROUND")
self.FrameBackdrop:SetPoint("TOPLEFT", -2, 2)
self.FrameBackdrop:SetPoint("BOTTOMRIGHT", 2, -2)
Old 08.09.2010, 16:43   #6
nanjiqq
 Assistant User Information

nanjiqq's Avatar
THX,I'll to try
Old 08.09.2010, 17:22   #7
Shestak
 Junior Member User Information

Shestak's Avatar
nanjiqq, updated code.
Old 08.09.2010, 20:54   #8
nanjiqq
 Assistant User Information

nanjiqq's Avatar
I'm sorry,i can't use these code, the wow show me something error Message.
i don't think not way to Complete,so I decided to use the LitePanels addons, yes,This is not a wise choice,but it's fit me.
i have been some set,and show you the picture


Click image for larger version

Name:	border.jpg
Views:	33
Size:	125.1 KB
ID:	192

that's ok, but this's begin,I met a lot of problems behind,look the picture

Click image for larger version

Name:	pet.jpg
Views:	27
Size:	50.5 KB
ID:	193

the Partypet can't to add the board, this's the set code
Code [Select]:
--PartyPetborder--TOP
{   name = "PartyPetTborderback", parent = "oUF_PartyPet",
    anchor_to = "TOP", x_off = 0, y_off = 3,
    width = "107%", height = 3,
    bg_color = "0 0 0", bg_alpha = 1,
},
{   name = "PartyPetTbordercolor", parent = "PartyPetTborderback",
    anchor_to = "CENTER", 
    width = "100%", height = 1,
    bg_color = "0.36 0.3 0.306", bg_alpha = 1,
},
--PartyPetborder--BOTTOM
{   name = "PartyPetBborderback", parent = "oUF_PartyPet",
    anchor_to = "BOTTOM", x_off = 0, y_off = -3,
    width = "107%", height = 3,
    bg_color = "0 0 0", bg_alpha = 1,
},
{   name = "PartyPetBbordercolor", parent = "PartyPetBborderback",
    anchor_to = "CENTER", 
    width = "100%", height = 1,
    bg_color = "0.36 0.3 0.306", bg_alpha = 1,
},
--PartyPetborder--RIGHT
{   name = "PartyPetRborderback", parent = "oUF_PartyPet",
    anchor_to = "RIGHT", x_off = 3, y_off = 0,
    width = 3, height = "115%",
    bg_color = "0 0 0", bg_alpha = 1,
},
{   name = "PartyPetbordercolor", parent = "PartyPetRborderback",
    anchor_to = "CENTER", 
    width = 1, height = "100%",
    bg_color = "0.36 0.3 0.306", bg_alpha = 1,
},
--PartyPetborder--LEFT
{   name = "PartyPetLborderback", parent = "oUF_PartyPet",
    anchor_to = "LEFT", x_off = -3, y_off = 0,
    width = 3, height = "115%",
    bg_color = "0 0 0", bg_alpha = 1,
},
{   name = "PartyPetLbordercolor", parent = "PartyPetLborderback",
    anchor_to = "CENTER", 
    width = 1, height = "100%",
    bg_color = "0.36 0.3 0.306", bg_alpha = 1,
},
----------------------------------
keep going,look this picture

Click image for larger version

Name:	party.jpg
Views:	29
Size:	90.2 KB
ID:	195

the border always show here,when i left the party,please tell me how to do.

------------------------------------
this is the raid picture

Click image for larger version

Name:	raid.jpg
Views:	36
Size:	255.3 KB
ID:	196

i can't to set the raid border, this's my set code
Code [Select]:
--Raidborder--TOP
{   name = "Raidtopborderback", parent = "oUF_Raid",
    anchor_to = "TOP", x_off = 0, y_off = 3,
    width = "107%", height = 3,
    bg_color = "0 0 0", bg_alpha = 1,
},
{   name = "Raidtopbordercolor", parent = "Raidtopborderback",
    anchor_to = "CENTER", 
    width = "100%", height = 1,
    bg_color = "0.36 0.3 0.306", bg_alpha = 1,
},
--Raidborder--BOTTOM
{   name = "Raidbottomborderback", parent = "oUF_Raid",
    anchor_to = "BOTTOM", x_off = 0, y_off = -3,
    width = "107%", height = 3,
    bg_color = "0 0 0", bg_alpha = 1,
},
{   name = "Raidbottombordercolor", parent = "Raidbottomborderback",
    anchor_to = "CENTER", 
    width = "100%", height = 1,
    bg_color = "0.36 0.3 0.306", bg_alpha = 1,
},
--Raidborder--RIGHT
{   name = "RaidRborderback", parent = "oUF_Raid",
    anchor_to = "RIGHT", x_off = 3, y_off = 0,
    width = 3, height = "115%",
    bg_color = "0 0 0", bg_alpha = 1,
},
{   name = "Raidbordercolor", parent = "RaidRborderback",
    anchor_to = "CENTER", 
    width = 1, height = "100%",
    bg_color = "0.36 0.3 0.306", bg_alpha = 1,
},
--Raidborder--LEFT
{   name = "RaidLborderback", parent = "oUF_Raid",
    anchor_to = "LEFT", x_off = -3, y_off = 0,
    width = 3, height = "115%",
    bg_color = "0 0 0", bg_alpha = 1,
},
{   name = "RaidLbordercolor", parent = "RaidLborderback",
    anchor_to = "CENTER", 
    width = 1, height = "100%",
    bg_color = "0.36 0.3 0.306", bg_alpha = 1,
},
i can‘t to solve these problems by myself,At least for now,if i keep use the LitePanels addons and i'll how to do,shestak?
Old 09.09.2010, 01:24   #9
Shestak
 Junior Member User Information

Shestak's Avatar
Quote:
Originally Posted by nanjiqq View Post
something error Message.
What error?
Quote:
Originally Posted by nanjiqq View Post
the Partypet can't to add the board, this's the set code
Yes, party frame hidden, but there are.
How to make a border for the frames I already said above. Do not reinvent the wheel, it is necessary to make borders in the code oUF, but not LitePanels.
And I repeat: What error?
Old 09.09.2010, 01:37   #10
Shestak
 Junior Member User Information

Shestak's Avatar
oUF_Shestak from ShestakUI 1.6.3 with borders.

Check the code and you will see that everything is the same code that I wrote above.
Attached Files
File Type: rar oUF_Shestak.rar (15.1 KB, 26 views Who downloaded?)
Say Thank:
nanjiqq (10.09.2010)

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mini-map question jennerz Technical Support 2 11.04.2011 01:49
The question about the arena frame hhjk9901 General Discussion 2 18.02.2011 19:33
Question about shestak_ui_v.2.6.7 popo Technical Support 0 16.10.2010 07:23
How perfect modify their Chinese fonts lnkdszm Technical Support 3 22.08.2010 06:56
[Fixed] A question about teksloot in ShestakUI~ JunE Bugs Reports 5 30.06.2010 12:48


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