kgPanels

Create panels for customizing your UI, sucessor to eePanels

Wiki and FAQ

Sample Scripts

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 must login to post a comment. Don't have an account? Register to get one!

  • Avatar of toolkit toolkit Feb 05, 2009 at 23:16 UTC - 0 likes

    i know but, the texture is a circle created in a square frame, and it has worked in eepanels, but now i only get half a circle split into two and it is stacking on-top of one and another. any idea what i mean and what i should do?

  • Avatar of kagaro kagaro Feb 04, 2009 at 00:03 UTC - 0 likes

    wow only allows yo to make square frames.


  • Avatar of toolkit toolkit Feb 03, 2009 at 17:04 UTC - 0 likes

    Hi there, I have used eePanels and it still work but i thought that it is better to do the change before it stops working plus this looks like its easer to work with but anyway. i tried it last night and after some trail and error i finally added some new art work, in the preview it look good (a circle) but when i activated the round border it still in a square. cant find the right setting, please help.

    thanks

  • Avatar of kagaro kagaro Feb 03, 2009 at 13:35 UTC - 0 likes

    the change was to make sure the onload got called again.

  • Avatar of rakkarage rakkarage Feb 02, 2009 at 21:09 UTC - 0 likes

    ya it works if i go back to r275 before "updated repareting reinit of load scripts to execute the other scripts as well."

  • Avatar of rakkarage rakkarage Feb 01, 2009 at 20:07 UTC - 0 likes

    i have a panel (or two) with code only in onload and onevent

    when i first set the panel up i saw:

    Setting up scripts for LOAD
    Setting up scripts for EVENT

    when i (re)load the game or reloadui i see:

    Setting up scripts for EVENT
    Setting up scripts for EVENT

    and the scripts dont execute because i assume its missing the load?

    when i edit the scripts (just add a space and resave) to fix it i see:

    Setting up scripts for LOAD
    Setting up scripts for EVENT

    and then it works again... seems to have just recently started happening.... (last version?)

    any ideas? thanks

  • Avatar of kagaro kagaro Jan 21, 2009 at 15:18 UTC - 0 likes

    self.text:SetText("yada yday daya")

  • Avatar of Nathadir Nathadir Jan 20, 2009 at 13:09 UTC - 0 likes

    I 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?

  • Avatar of kagaro kagaro Jan 20, 2009 at 01:35 UTC - 0 likes

    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.

  • Avatar of kagaro kagaro Jan 20, 2009 at 01:32 UTC - 0 likes

    kgpanels checks for LibSharedMedia-3.0 to access sharedmedia content.

Facts

Date created
Sep 16, 2008
Category
Last update
Jul 19, 2016
Development stage
Release
Language
  • enUS
  • frFR
  • koKR
  • zhCN
License
All Rights Reserved
Curse link
kgPanels
Reverse relationships
1
Downloads
1,935,785
Recent files
  • A: r438 for 7.0.3 Jul 19, 2016
  • A: r437 for 6.2.0 Jun 23, 2015
  • A: r436 for 6.1.0 Feb 24, 2015
  • R: 1.20 for 6.0.2 Oct 24, 2014
  • R: 1.19 for 6.0.2 Oct 17, 2014

Authors