Go to Page... |
Compatibility: | Scions of Ithelia (9.3.0) Endless Archive (9.2.5) |
Updated: | 03/10/24 04:21 PM |
Created: | 02/14/14 10:28 PM |
Monthly downloads: | 80,270 |
Total downloads: | 4,676,598 |
Favorites: | 2,754 |
MD5: |
IMPORTANT In case you get an error that contains text like this: user:/AddOns/<some other addon>/Libs/LibAddonMenu-2.0 Some other addon you have installed likely contains an old version of LibAddonMenu which is loaded before the most current one. Make sure to search for LibAddonMenu-2.0 folders in your AddOns folder and delete all of them. Afterwards install the latest version of LibAddonMenu-2.0 separately. Check Kyzderp's guide for more detailed instructions |
## DependsOn: LibAddonMenu-2.0
## DependsOn: LibAddonMenu-2.0>=30
local LAM = LibAddonMenu2 local saveData = {} -- TODO this should be a reference to your actual saved variables table local panelName = "MyAddOnSettingsPanel" -- TODO the name will be used to create a global variable, pick something unique or you may overwrite an existing variable! local panelData = { type = "panel", name = "MyAddOn Settings", author = "me", } local panel = LAM:RegisterAddonPanel(panelName, panelData) local optionsData = { { type = "checkbox", name = "My First Checkbox", getFunc = function() return saveData.myValue end, setFunc = function(value) saveData.myValue = value end } } LAM:RegisterOptionControls(panelName, optionsData)
- use the callbacks "LAM-PanelControlsCreated", "LAM-PanelOpened" and "LAM-PanelClosed" instead- updated Brazilian translation (thanks FelipeS11)
- the panel control is returned by RegisterAddonPanel- added "translation", "feedback" and "donation" properties to panel (#88, thanks Baertram)
- all three (and also the "website" property) accept a function or a string- added "disabled" and "disabledLabel" property for submenus (#86, #90, thanks klingo)
- the function receives the value, min and max as arguments and has to return a clamped value- added optional support for LibDebugLogger
- in case it is loaded, it logs the full error when control creation failed- updated LibStub to r5
- when set to true it changes the text color of the button to red and opens a dialog which shows the label and the warning text before running the callback- added new options for sliders and fixed some bugs (#49)
- autoSelect (boolean): when set to true it makes the input field select all text when it gains focus- for other internal code changes take a look at the git history
- inputLocation (string): setting it to "right" will move the input field to the right side of the slider and make it slightly bigger. For aesthetic reasons this should only be used in custom panels and not in the addon menu
- clampInput (boolean): true by default and if set to false it allows the input values of the slider to exceed the min and max value
- NOTE: the menu is now a bit wider than before, if you created custom elements you might need to update them accordingly- added search box to addon list (thanks votan & merlight)
File Name |
Version |
Size |
Uploader |
Date |
2.0 r35 |
49kB |
sirinsidiator |
10/31/23 01:16 PM |
|
2.0 r34 |
48kB |
sirinsidiator |
06/06/22 05:35 AM |
|
2.0 r33 |
48kB |
sirinsidiator |
03/14/22 02:51 PM |
|
2.0 r32 |
48kB |
sirinsidiator |
12/17/20 02:04 PM |
|
2.0 r31 |
49kB |
sirinsidiator |
06/21/20 03:06 PM |
|
2.0 r30 |
48kB |
sirinsidiator |
10/21/19 03:23 AM |
|
2.0 r29 |
48kB |
sirinsidiator |
05/07/19 11:00 AM |
|
2.0 r28 |
47kB |
sirinsidiator |
05/01/19 09:33 AM |
|
2.0 r27 |
47kB |
sirinsidiator |
04/18/19 03:07 PM |
|
2.0 r26 |
45kB |
sirinsidiator |
05/21/18 02:36 AM |
|
2.0 r25 |
45kB |
sirinsidiator |
09/29/17 12:28 PM |
|
2.0 r24 |
45kB |
sirinsidiator |
07/14/17 01:00 PM |
|
2.0 r23 |
42kB |
sirinsidiator |
10/30/16 10:00 AM |
|
2.0 r22 |
39kB |
sirinsidiator |
08/06/16 07:42 AM |
|
2.0 r21 |
38kB |
sirinsidiator |
07/17/16 11:04 AM |
|
2.0 r20 |
41kB |
sirinsidiator |
03/26/16 10:45 AM |
|
2.0 r19 |
37kB |
sirinsidiator |
02/24/16 12:24 PM |
|
2.0 r18 |
36kB |
sirinsidiator |
06/14/15 01:12 PM |
|
2.0 r17 |
30kB |
sirinsidiator |
02/22/15 11:09 AM |
|
2.0 r16 |
27kB |
Seerah |
11/02/14 02:03 PM |
|
2.0 r14 |
26kB |
Seerah |
07/27/14 10:17 PM |
|
2.0 r13 |
26kB |
Seerah |
07/20/14 09:35 PM |
|
2.0 r12 |
26kB |
Seerah |
07/20/14 07:55 PM |
|
2.0 r11 |
26kB |
Seerah |
07/19/14 02:49 PM |
|
2.0 r10 |
25kB |
Seerah |
07/13/14 09:18 PM |
|
2.0 r9 |
25kB |
Seerah |
07/05/14 06:55 PM |
|
2.0 r8 |
25kB |
Seerah |
06/22/14 09:47 PM |
|
2.0 r7 |
25kB |
Seerah |
06/15/14 05:17 PM |
|
2.0 r6 |
25kB |
Seerah |
06/13/14 11:28 PM |
|
2.0 r5 |
25kB |
Seerah |
06/12/14 10:32 PM |
|
2.0 r4 |
25kB |
Seerah |
06/11/14 08:56 PM |
|
2.0 r3 |
25kB |
Seerah |
06/11/14 07:49 PM |
|
2.0 r2 |
24kB |
Seerah |
06/10/14 10:06 PM |
|
1.0 r8 |
6kB |
Seerah |
05/24/14 10:01 PM |
Comment Options |
tomtomhotep |
View Public Profile |
Send a private message to tomtomhotep |
Visit tomtomhotep's homepage! |
Find More Posts by tomtomhotep |
Add tomtomhotep to Your Buddy List |
p.walker |
View Public Profile |
Send a private message to p.walker |
Visit p.walker's homepage! |
Find More Posts by p.walker |
Add p.walker to Your Buddy List |
tomtomhotep |
View Public Profile |
Send a private message to tomtomhotep |
Visit tomtomhotep's homepage! |
Find More Posts by tomtomhotep |
Add tomtomhotep to Your Buddy List |
01/24/18, 01:45 PM | |||||
Re: Re: Re: colored sliders
But aside from that - and not having seen your menu - it honestly sounds like you should restructure it instead of changing the color of the slider. For example, have you considered using the half-width flag so you can put the first slider to the left and the second to the right in the same line? You could also make a visible break in between each material with title or line controls. I'd also suggest you use submenus for each crafting type so you don't have all of those sliders in a long list. |
|||||
|
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Visit sirinsidiator's homepage! |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
01/24/18, 12:17 PM | ||||
Re: Re: colored sliders
I need to add a second slider under each of those 100 or so existing ones, for the user to set the trade-in discount price (buying price). I would like them to stand out, since they will be interspersed (sell price, buy price, sell price, buy price, ..........) I can settle for coloring the slider label with a simple |c color code, but it would look even nicer if the sliders themselves were tinted as well.
|
||||
|
tomtomhotep |
View Public Profile |
Send a private message to tomtomhotep |
Visit tomtomhotep's homepage! |
Find More Posts by tomtomhotep |
Add tomtomhotep to Your Buddy List |
01/24/18, 10:09 AM | ||
Re: colored sliders
|
||
|
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Visit sirinsidiator's homepage! |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
01/23/18, 01:10 PM | |
colored sliders
Is there any way for me to change the color of a slider control (created by LAM in my Addon Settings) from the standard grey to a different color?
|
|
|
tomtomhotep |
View Public Profile |
Send a private message to tomtomhotep |
Visit tomtomhotep's homepage! |
Find More Posts by tomtomhotep |
Add tomtomhotep to Your Buddy List |
11/19/17, 02:51 AM | |
|
Heyhey, could you implement two new functions for iconselect?
- icon padding - iconselect size Setting both after creating the iconselect does not work and I just don't manage to find out why. Btw. you could add "AuraMastery" to the addons using LAM section on github, if u like /edit: Found another feature that would be nice: Colorpicker and iconpicker have a Getfunction that is called upon initialization. The update functions are local functions. In some cases it is neccessary to call the GetFunc in the middle of the game, so a public function that let's us make a preselection would be really handy. Implementing that thing can easily be done by the addon author, but i thought it would probably be nice to include it into the baseline functionality. Cheers, Letho
Last edited by Letho : 11/19/17 at 04:29 AM.
|
|
Letho |
View Public Profile |
Send a private message to Letho |
Visit Letho's homepage! |
Find More Posts by Letho |
Add Letho to Your Buddy List |
09/29/17, 06:51 AM | |
I settled for a variation on your first fix since there is a difference between using the LAM internal ScrollDataIntoView and ZO_ScrollList_ScrollDataIntoView with more than just a handful of addons enabled.
|
|
|
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Visit sirinsidiator's homepage! |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
09/26/17, 08:33 AM | |
Thanks. I haven't had the chance to log into PTS yet, but I'll put together an update as soon as I can.
|
|
|
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Visit sirinsidiator's homepage! |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
09/23/17, 01:22 PM | |
Update 16 PTS - Breaks LibAddonMenu - better fix
I verified the visual effect of LibAddonMenu's ScrollDataIntoView function with the effect of the standard ZO_ScrollList_ScrollDataIntoView function. I could not find any reason for not using the standard function.
This also drops the need of using ZO internal data structures that break on PTS. Therefore: Code:
#524 ScrollDataIntoView(addonList, selectedData) #602 ScrollDataIntoView(addonList, selectedData) Code:
#524 ZO_ScrollList_ScrollDataIntoView(addonList, selectedData.sortIndex) #602 ZO_ScrollList_ScrollDataIntoView(addonList, selectedData.sortIndex)
Last edited by Gandalf : 09/23/17 at 01:29 PM.
|
|
|
Gandalf |
View Public Profile |
Send a private message to Gandalf |
Visit Gandalf's homepage! |
Find More Posts by Gandalf |
Add Gandalf to Your Buddy List |
09/19/17, 06:01 AM | |
Update 16 PTS - Breaks LibAddonMenu - fix
3.2 Source says:
Lua Code:
Therefore Code:
#444 local controlHeight = list.controlHeight Code:
#444 local controlHeight = list.uniformControlHeight Code:
#444 local controlHeight = 28 And as for ZM: beauty has its own excuse for being
Last edited by Gandalf : 09/19/17 at 06:15 AM.
|
|
|
Gandalf |
View Public Profile |
Send a private message to Gandalf |
Visit Gandalf's homepage! |
Find More Posts by Gandalf |
Add Gandalf to Your Buddy List |
09/19/17, 04:28 AM | |
Update 16 PTS - Breaks LibAddonMenu
Opening Addon Settings cause:
user:/AddOns/SkyShards/Libs/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:445: operator * is not supported for nil * number stack traceback: user:/AddOns/SkyShards/Libs/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:445: in function 'ScrollDataIntoView' user:/AddOns/SkyShards/Libs/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:524: in function 'PopulateAddonList' user:/AddOns/SkyShards/Libs/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:886: in function 'panelData.callback' EsoUI/Common/ZO_GameMenu/ZO_GameMenu.lua:52: in function 'TreeEntryOnSelected' EsoUI/Libraries/ZO_Tree/ZO_Tree.lua:568: in function 'ZO_TreeNode:OnSelected' EsoUI/Libraries/ZO_Tree/ZO_Tree.lua:274: in function 'ZO_Tree:SelectNode' EsoUI/Libraries/ZO_Tree/ZO_Tree.lua:737: in function 'ZO_TreeEntry_OnMouseUp' ZO_CollectionsBookContentsCategoriesScrollChildZO_TreeStatusLabelSubCategory1_MouseUp:3: in function '(main chunk)' It seams that LibAddonMenu can't access addonList.controlHeight of the control ZO_ScrollList anymore. |
|
|
Gandalf |
View Public Profile |
Send a private message to Gandalf |
Visit Gandalf's homepage! |
Find More Posts by Gandalf |
Add Gandalf to Your Buddy List |
09/05/17, 11:02 PM | ||
Lua Code:
and a lot of: Lua Code:
when I try to open a scrollazble dropdown. It has 10~ items. And it pops up a really wide dropdownlist. screenshot:
Last edited by rockingdice : 09/06/17 at 10:32 AM.
|
||
|
rockingdice |
View Public Profile |
Send a private message to rockingdice |
Send email to rockingdice |
Visit rockingdice's homepage! |
Find More Posts by rockingdice |
Add rockingdice to Your Buddy List |
09/05/17, 11:45 AM | |
I'm testing r24, it seems if I enable the scrollable = true for dropdown control, choicesTooltips are not showing anymore, it's a bug or not supported yet?
|
|
|
rockingdice |
View Public Profile |
Send a private message to rockingdice |
Send email to rockingdice |
Visit rockingdice's homepage! |
Find More Posts by rockingdice |
Add rockingdice to Your Buddy List |