Git Product home page Git Product logo

geminiconfig's Introduction

GeminiConfig

This is a port of AceConfig-3.0 and AceGUI-3.0 to Wildstar. It's currently in partial working status. The most useful part, GeminiConfigDialog is mostly working but some items are still missing.

The notification code in Config Registry is also not working.

This addon requires the following libraries to be loaded:

  • Lib:GeminiGUI-1.0
  • GeminiColor (for color picker only)
  • Optionally LibError-1.0 for error reporting.

Simple usage

Registering a config table:

  local GeminiConfig = Apollo.GetPackage("Gemini:Config-1.0").tPackage
  GeminiConfig:RegisterOptionsTable(strAddonNAme, tConfigOptions[, strSlashName | tSlashNames])

Opening a config dialog:

  Apollo.GetPackage("Gemini:ConfigDialog-1.0").tPackage:Open(strAddonName)

For details on the option table format, please refer to the AceConfig documentation:

http://www.wowace.com/addons/ace3/pages/ace-config-3-0-options-tables/

geminiconfig's People

Contributors

tomvarga avatar neotron avatar sinaloit avatar

Watchers

Bryan McLemore avatar  avatar Johnnie Pittman avatar  avatar  avatar Rachel Blackman avatar James Cloos avatar Leosky avatar Hans Koch avatar  avatar Scriptorium avatar  avatar Jimmy Van Hecke avatar  avatar

Forkers

kowh

geminiconfig's Issues

Dropdown widget strata issues

As you can see in the image attached even with some of the frames using the New Window depth on some of the children it still does not quite behave as it should when the dropdown overlaps other GUI elements.

2014-07-25 - 04 23 56

path issues

If I put GeminiConfig inside a foldier of my addon, say: Libs, then GeminiConfigRegistry will fail to load with the following error:

...Addons\EsperH\Libs/GeminiConfig/GeminiConfig-1.0.lua:21: cannot open C:\Users\Calebzor\AppData\Roaming\NCSOFT\WildStar\Addons\EsperH\GeminiConfigRegistry-1.0\GeminiConfigRegistry-1.0.lua: Result too large
stack trace:
    [C]: in function 'assert'
    ...Addons\EsperH\Libs/GeminiConfig/GeminiConfig-1.0.lua:21: in function 'loadModule'
    ...Addons\EsperH\Libs/GeminiConfig/GeminiConfig-1.0.lua:31: in main chunk

...ata\Roaming\NCSOFT\WildStar\Addons\EsperH\EsperH.lua:27: attempt to index a nil value
stack trace:
    ...ata\Roaming\NCSOFT\WildStar\Addons\EsperH\EsperH.lua:27: in main chunk

toggle type untick does not call set

I have this code:

    self.myOptionsTable = {
        type = "group",
        args = {
            locked = {
                name = "Lock/Unlock",
                type = "toggle",
                get = function(info) return self.db.profile[info[1]] end,
                set = function(info, v) self.db.profile[info[1]] = v; Print(tostring(v)) end,
            },
        }
    }

And by the looks of it set is not called when you untoggle the button.

ScrollFrame container does not display bottom widget on non initial displays.

You can verify in the following example addon ( https://docs.google.com/file/d/0B5Hgmr1RAr3NcEZFVGdVUG5kaTg/edit ) that the two first groups have same amount of headers in them. When you scroll to the bottom of the initial one ( aka Group 1 when opening the config window ) you can see all, but if you switch to "Group 2" and scroll to the bottom, the last widget won't be displayed. Now if you go back to "Group 1" it will no longer have the bottom widget displayed either.

A workaround this bug is to always have an empty description widget at the bottom of every group.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.