GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

[ENH] Allow binding to a LAB "Page" for Actionbar Overrides - (ElvUI/BT4/ConsolePort)

TimothyLuke opened this issue ยท 4 comments

commented

๐ŸŸข How does GSE currently work
One fo the limitations of GSE's Actionbar Overrides currently is that mods like ElvUI, Bartender4 and ConsolePort use LibActionButton as a proxy to the actionbar buttons. These mods use a concept of "paging" to determine which state the button is in. Currently GSE caters to the default state of the button but doesn't cater to different pages.

๐ŸŸข What would this Change
Allowing to bind to the page would allow you to bind into stance bars like Stealth and different Druid forms like Bear / Cat etc.

It would require changing the binding page to allow for LAB States, referred to in user land as "Pages".

๐ŸŸข Files needing to change

  • GSE\API\Events.lua: need to accommodate the different states
  • GSE_GUI\KeyBinding.lua: need to present the new possible states.

๐ŸŸข Design Considerations
This would require that people know the value of the State of the button. While this is possible with a /run print(BT4Button2:GetAttribute("State")) command it does increase the things a user has to "know". From this example BT4Button2 was the name of the button.

commented

A lot of progress. States are now supported:

image
This ConsolePort bind is bound to the Shift-CPB_PAD2 bind.

This means druid/rogue paging with ElvUI and Bartender4 can now be accomplished
image

commented

Bartender4 a user configures pages via
image

commented

For ConsolePort this is configured via
image

Also found that console port doesn't use the state attribute