LibSnowflake-2.0

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

I searched for a dewdrop library on ace3 without autohide functionality.
At the end I created my own library.

Snowflake 2.0
My version 1.0 was to simple. :)
A library to provide a dropdown menu like dewdrop as ACE3 library.

Snowflake:CreateMain()
Create a new drop down main menu as a SnowflakeGroup.

local Snowflake = LibStub( 'Snowflake-2.0')
grp = Snowflake:CreateMain()

SnowflakeGroup:AddLine( array)
Add a new line into the SnowflakeGroup.

array

  • text .. visible text at new line (left align)
  • token .. for internal use (each line on a group need a unique identifiere) default == text
  • second .. second text (reight align)
  • hasArrow .. a arrow for submenus
  • func .. function for dynamic creation of submenus
  • args .. call parameter of func( args[1], args[2],.., parant)
  • action .. function for click action of the user
  • params .. call paramter of action( params[1], params[2], ...)
  • link .. for tooltip
  • disabled .. disabled the line
  • closeWhenClicked .. close on click
  • isTitle .. for title
  • isPlain .. for plane text
  • isEditbox .. for a edit box

grp:AddLine{ text = player, second = skill, action = 'CastSpellOf', params = { Producer, prof }, closeWhenClicked = true }
grp:AddLine{ text = Producer:GetProfessionName( n), func = CreateUsers, args = { names, n }, hasArrow = true }

Actual Using
Producer (release)
Splitter (alpha)

Plan
A future implementation should cowork with the AceConfigRegistry array system.

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Jul 21, 2009
Category
Last update
Nov 10, 2011
Development stage
Abandoned
Language
  • deDE
  • enUS
License
GNU Lesser General Public License version 3 (LGPLv3)
Reverse relationships
1
Downloads
1,016
Recent files

Authors