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.
You 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.
kgpanels checks for LibSharedMedia-3.0 to access sharedmedia content.
I'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.
It should just be there, what version of shared media are you using?
I 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?
*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.
Could 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.
Anybody got any tips or suggestions so I can copy my layout into this new version please?
Many thanks.
Hi
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
Issue:
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?
I'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.
profiles only change which layout a particular character is using, the layouts are global.
Hello there :)
I have a little ... problem. In fact, I don't have access to differents profiles : all profiles are strictly the sames. If I modify one, all the others are modified the same way.