kgPanels
Create panels for customizing your UI, sucessor to eePanels
OnClick now provides a pressed and released variable you can check for.
if pressed then -- do mouse down actions elseif released then -- do mouse up actions end
This means your script will get called twice when someone clicks the panel.
Here is a youtube link to a video Tutorial
Ive created an Example Texture Pack.
This example pack is just a template. If you want to use it as a storage spot for your art, look at the read me file for directions on usage.
-
View User Profile
-
Send Message
Posted Oct 12, 2010-
View User Profile
-
Send Message
Posted Oct 12, 2010-
View User Profile
-
Send Message
Posted Oct 12, 2010-
View User Profile
-
Send Message
Posted Oct 13, 2010-
View User Profile
-
Send Message
Posted Oct 13, 2010-
View User Profile
-
Send Message
Posted Oct 12, 2010-
View User Profile
-
Send Message
Posted Oct 12, 2010-
View User Profile
-
Send Message
Posted Oct 3, 2010kgPanels: Background Texture None(Interface\None) failed to load.
Why can't I set the background texture to "None" anymore? Does anyone else have this problem?
-
View User Profile
-
Send Message
Posted Oct 7, 2010-
View User Profile
-
Send Message
Posted Sep 17, 2010-
View User Profile
-
Send Message
Posted Sep 7, 2010Alright so I finally got my grid script stuff working. And just decided to code the lua pet stuff by hand this way it will work consistently. You will need to figure out your own height values, and your own width values. These can be found by the following
or you can just play with it and see what you think looks good. Right now it is set for Bati's Grid UI scaling with a little space around the edge if you use that.
OnLoad:
OnEvent:
Seems to work perfect now. :) shows what happens at 5am.
Sanat
-
View User Profile
-
Send Message
Posted Aug 30, 2010You need to know the name of the frame, then you can do _G['name here'] or the name directly
-
View User Profile
-
Send Message
Posted Aug 30, 2010Hey Kagaro,
What is the script command to check if a non KG panel frame exists? It is the last piece I need for a growing grid background, which I can posts once it fully works.
Cheers
-
View User Profile
-
Send Message
Posted Sep 23, 2010-
View User Profile
-
Send Message
Posted Aug 29, 2010-
View User Profile
-
Send Message
Posted Aug 29, 2010local _, class = UnitClass("player");
if class == "WARRIOR" then
self:SetWidth(100)
elseif class == "PRIEST" then
self:SetWidth(100)
elseif class == "MAGE" then
self:SetWidth(100)
elseif class == "DRUID" then
self:SetWidth(136)
elseif class == "PALADIN" then
self:SetWidth(200)
elseif class == "HUNTER" then
self:SetWidth(100)
elseif class == "ROGUE" then
self:SetWidth(100)
elseif class == "SHAMAN" then
self:SetWidth(100)
elseif class == "WARLOCK" then
self:SetWidth(100)
end
-
View User Profile
-
Send Message
Posted Aug 29, 2010Probably a stupid question here, but I'm going to plow ahead anyway:
After several ui changes over the years, and always using someones uploaded art, I've decided to make my own. I've got some background textures that I really like but whenever I save them as TGA files and put them in my textures folder, when I pull them up in KGpanels, they always have a white background. I've created them in photoshop with a transparent background and saved them as such, but it always loads with the white.
Anyone able to point out my stupidity there, please?
-
View User Profile
-
Send Message
Posted Aug 29, 2010-
View User Profile
-
Send Message
Posted Aug 29, 2010Quartz - Quartz3CastBarPlayer
Bartender4 - BT4BarPetBar
Shadowed UnitFrames - SUFUnittarget, SUFUnittargettarget
-
View User Profile
-
Send Message
Posted Aug 29, 2010