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 Jan 27, 2009-
View User Profile
-
Send Message
Posted Jan 22, 2009-
View User Profile
-
Send Message
Posted Jan 21, 2009self.text:SetText("yada yday daya")
-
View User Profile
-
Send Message
Posted Jan 20, 2009I updated LibSharedMedia, and the fonts now work as intended - thank you!
However, even after I have added Recount as a scriptdep, I don't get anything. I tried creating a new panel with the default settings, making the OnLoad script: self:SetText("TEST"); and even this does not result in anything being shown on the panel.
Is there anything else that could be wrong?
-
View User Profile
-
Send Message
Posted Jan 19, 2009You should also really check that Recount is there when you script runs. it may be erroring since Recount wasnt valid when you script runs and doing it on update means for every frame you pass your checking the title.
Add as a scriptdep Recount to be sure Recount has loaded before your script is launched.
-
View User Profile
-
Send Message
Posted Jan 19, 2009kgpanels checks for LibSharedMedia-3.0 to access sharedmedia content.
-
View User Profile
-
Send Message
Posted Jan 19, 2009I'm using r173, updated 1/4/09, so I think it's the latest I could get.
Another thing: When I try to use the SetText() function on one of my panels, I get no results. I would like to replace the default Recount title, so I set the following scripts:
<<code>>OnUpdate: if Recount.MainWindow.Title:IsVisible() then Recount.MainWindow.Title:Hide(); endlocal title=Recount.MainWindow.Title:GetText() if not title==self:GetText() then self:SetText(title) end<</code>>
I can't see there should be anything wrong with this script, at least not on the part of not being able to retrieve the text on the Recount title frame, since when I use
I get what I wanted just fine, even when the Title frame is hidden.
-
View User Profile
-
Send Message
Posted Jan 18, 2009It should just be there, what version of shared media are you using?
-
View User Profile
-
Send Message
Posted Jan 18, 2009I seem unable to change the font used in Text Options, since the selection bar is simply grayed out :/ I am aware that fonts used are imported from SharedMedia, but I have a multitude of fonts imported into that addon, which I used with great succes in both SLDataText and Chatter. I've tried resizing the frame, changing opacity and whatnot.
Any clues as to how I can fix this problem?
-
View User Profile
-
Send Message
Posted Jan 14, 2009-
View User Profile
-
Send Message
Posted Jan 9, 2009-
View User Profile
-
Send Message
Posted Jan 5, 2009-
View User Profile
-
Send Message
Posted Jan 5, 2009*Your border insets don't work as described, top and left are swapped as well as right and bottom being swapped. This also affects importing layouts.
*With longer lists of frames, if the side box is not all the way at the top it will disappear until it's moved to the top and something else is applied.
*After a frame is removed, if you attempt to add another frame with the same name it will not appear until you restart WoW.
-
View User Profile
-
Send Message
Posted Jan 4, 2009-
View User Profile
-
Send Message
Posted Dec 31, 2008-
View User Profile
-
Send Message
Posted Dec 29, 2008Could someone post instructions for a "hello world" that puts up a simple panel in the middle of the screen? I want to see if I can make that work, or if possibly there's a conflict with other mods, etc.
-
View User Profile
-
Send Message
Posted Dec 28, 2008Anybody got any tips or suggestions so I can copy my layout into this new version please?
Many thanks.
-
View User Profile
-
Send Message
Posted Dec 24, 2008Hi
I have no idea how to use kgPanels, but could you help me get this one here?
http://i227.photobucket.com/albums/dd85/origami_boulder/WoWScrnShot_101908_003152.jpg
-
View User Profile
-
Send Message
Posted Dec 14, 2008Issue:
Whenever I try to parent any frame to my target the frame goes off the screen...
Question:
Does anyone here know what is the name of the Chat frame?
-
View User Profile
-
Send Message
Posted Dec 18, 2008I've set PitBullUnitFrame3 & 4 (target & tot) for the panels and they seem to work for a while. As soon as I relog they don't seem to appear again anywhere.