statistics
People Online: 13
Today's Visitors: 286
Total Visitors: 4,050,145
June 18, 2013, 03:57:35 PM
Shoutbox
   
 
[DevTeam] [lothaer]: Posted a new download in the skins forum check it out
[DevTeam] [lothaer]: Zeke, Maziel, Pazza, Nachonut, sylvanaar, Kaidenn, Astaldo where are you?
[DevTeam] [lothaer]: It would be a real shame if WIM was left to die.
[DevTeam] [lothaer]: i think these forums are dead, Sylvanaar dosnt post on them as he only bug fixes when possible. WIMs future isnt very bright
[Guest] [justgiz]: Yea, its rather sad.
[Guest] [silvercola]: I wish it had skype
[DevTeam] [lothaer]: noy possible for a addon to do.
[DevTeam] [lothaer]: ...........
[Guest] [elzershark]: where is the download file?
lothaer beckons everyone over to you.
[DevTeam] [lothaer]: has anyone been able to take WIM to the beta yet?
[DevTeam] [lothaer]: PTR*
[DevTeam] [Maziel]: *sticks head up and looks around*
lothaer cries.
[DevTeam] [lothaer]: who the hell flagged my post as spam?
[Guest] [primalforce]: Hey guys
[DevTeam] [lothaer]: hello Primalforce.
[DevTeam] [lothaer]: PAZZA COME BACK!!!
[DevTeam] [Nachonut]: Ahhh memories
[Guest] [Ignis]: wtb update
[DevTeam] [lothaer]: soooo.....
Pazza starts to complain... Kinda reminds you of Sloans dont it?
[Guest] [Hentaya]: No more wiki?
[Guest] [Hentaya]: All the wiki links seem to bring me to the forums.
[Guest] [menace97]: the latest wim (3.5.9) i download still reads in-game as 3.4.2. ?
[Guest] [Hentaya]: Good thing the shoutbox doesn't have timestamps.
[Guest] [ravensong]: Is WIM going to be updated for the new patch? It gets a LUA error every time people log on bnet or pst me, because "
[Guest] [ravensong]: "surname" is now a nil value.
[Guest] [Dethedrus]: Since WiM is obviously quite dead, is there ANYTHING else out there that even comes close to replicating it's functionality?
[Guest] [Harshmage]: So the "surname" can be removed from the realID detection, in WIM.lua
[Guest] [Harshmage]: but fixing the tutorial popup and other errors is probably not going to happen without a major rework
[Guest] [menace97]: quite dead?
[Guest] [Nytetears]: I am trying out tell track I wish WIM would update I much prefer it but there are too many errors to try and use it now
[Guest] [Erudan]: Wim is being updated on Curse.
[Guest] [Chiaki]: Hello guys! I'm the one who did the German translation of WIM. The translation is somewhat old so tell me where to provide a new version .
[DevTeam] [lothaer]: Check out my new post in the General Discussion. Please report any errors as I can't check them myself.
lothaer pokes Pazza. Hey!
lothaer is overcome with boredom. Oh the drudgery!
lothaer roars with bestial vigor. So fierce!
lothaer cries.
lothaer falls asleep. Zzzzzzz.
lothaer , in quiet contemplation, mourns the loss of the dead.
lothaer tells a joke.
lothaer yawns sleepily.
[DevTeam] [lothaer]: Sylvanaar
[DevTeam] [lothaer]: 22/10/12
[DevTeam] [lothaer]: updated the download
[DevTeam] [lothaer]: check out my new post in the Skin thread
[DevTeam] [lothaer]: 11/11/12
[DevTeam] [lothaer]: 23/2/13
 
   
   
News: World of Warcraft v4.0.1
 
Pages: [1]
Print
Author Topic: Problem with the Flat skin.  (Read 1881 times)
Snoogiloo
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
« on: March 13, 2010, 02:14:04 PM »

Me and my friend just looked for some very "small" ui instead of the original one, and then we found the "Flat" one in the sticky.

Our problem now is that when were using the "Group whisper" settings the tabs aint correctly placed.

so we tried to understand how we can fix this in the .lua file but none of really understood which we need to change, therefore were asking for some help here.

any1 that can fix this for us and link us the code u changed and were to put it ? Smiley

Logged
Pazza
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« Reply #1 on: March 13, 2010, 10:07:22 PM »

im away from my computer with the source on it, i will look at it on monday...
Logged

My hobbies consume way too much time :-).
Snoogiloo
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
« Reply #2 on: March 14, 2010, 05:55:06 AM »

awesome Smiley looking forward to it Smiley
Logged
Snoogiloo
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
« Reply #3 on: March 17, 2010, 12:30:19 PM »

You found anything in the source that will help us out Pazza? Smiley
Logged
Pazza
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« Reply #4 on: March 31, 2010, 08:58:16 AM »

Inside of your skin table, you need to create a new entry called tab_strip. You may include any of the properties below to modify the tabs of a window. Propper usage would be to include only the entries you wish to modify from the original skin.

Code:
tab_strip = {
        textures = {
            tab = {
                NormalTexture = "Interface\\AddOns\\MyWimSkin\\tab_normal",
                PushedTexture = "Interface\\AddOns\\MyWimSkin\\tab_selected",
                HighlightTexture = "Interface\\AddOns\\MyWimSkin\\tab_flash",
                --HighlightTexture = "Interface\\PaperDollInfoFrame\\UI-Character-Tab-Highlight",
                HighlightAlphaMode = "ADD"
            },
            prev = {
                NormalTexture = "Interface\\MoneyFrame\\Arrow-Left-Up",
                PushedTexture = "Interface\\MoneyFrame\\Arrow-Left-Down",
                DisabledTexture = "Interface\\MoneyFrame\\Arrow-Left-Disabled",
                HighlightTexture = "Interface\\AddOns\\MyWimSkin\\TabArrowLeft",
                HighlightAlphaMode = "ADD",
                height = 20,
                width = 20,
            },
            next = {
                NormalTexture = "Interface\\MoneyFrame\\Arrow-Right-Up",
                PushedTexture = "Interface\\MoneyFrame\\Arrow-Right-Down",
                DisabledTexture = "Interface\\MoneyFrame\\Arrow-Right-Disabled",
                HighlightTexture = "Interface\\AddOns\\MyWimSkin\\TabArrowRight",
                HighlightAlphaMode = "ADD",
                height = 20,
                width = 20,
            },
        },
        height = 26,
        points = {
            {"BOTTOMLEFT", "window", "TOPLEFT", 38, -4},
            {"BOTTOMRIGHT", "window", "TOPRIGHT", -20, -4}
        },
        text = {
            font = "ChatFontNormal",
            font_color = {1, 1, 1},
            font_height = 12,
            font_flags = ""
        },
        vertical = false,
    }

In your case, you'd be looking at the points property where the two numerical values in an entry represent the x and y offsets.

Here is an example for what you want to do.

Code:
tab_strip = {
        points = {
            {"BOTTOMLEFT", "window", "TOPLEFT", 38, -4},  -- shift bottomleft of tabstrip right 38px and move it up 4px
            {"BOTTOMRIGHT", "window", "TOPRIGHT", -20, -4} -- shift bottomright of tabstrip right 38px and move it up 4px
        }
    }

Just a note, this does not get added to the message_window table. it gets added to the root of your skin table.

Hope that helps.
Logged

My hobbies consume way too much time :-).
Pages: [1]
Print
Jump to:  

You must be logged in to send a message to the shout box.
     
  test stamp