Commit Graph

159 Commits

Author SHA1 Message Date
shagu 587f20a66b actionbar: skip macro scanning on native detection 2020-07-26 11:04:01 +02:00
shagu 9b8c113561 actionbar: skip macro scan on special actionbars 2020-06-29 21:36:59 +02:00
shagu 09cd6478e3 actionbar: add option to set custom cooldown size 2020-06-21 18:49:23 +02:00
shagu 3efb00c4ca actionbar: use spell cooldowns for macros 2020-06-16 18:31:56 +02:00
shagu a2aa9e9f1a actionbar: use spell textures for macros 2020-06-16 18:31:31 +02:00
shagu b1634a3d7a actionbar: scan macros before updating textures 2020-06-16 18:30:38 +02:00
shagu e4d6b555d3 actionbar: add spell tooltip to macros 2020-06-16 18:22:30 +02:00
shagu f5b63a4fae actionbar: add function to parse macro contents 2020-06-16 18:20:55 +02:00
shagu 53c83019db actionbar: write all page conditions 2020-06-06 12:33:00 +02:00
shagu d05c93f38e actionbar: enable all possible pages 2020-06-06 12:32:46 +02:00
shagu d8763a15bb actionbar: only update vertex colors when required 2020-06-02 00:18:12 +02:00
shagu a0fa943ca4 actionbar: move state updates to own function 2020-06-02 00:17:28 +02:00
shagu bcb11e03bb actionbar: manually reset backdrop border colors 2020-06-02 00:16:47 +02:00
shagu 8af72f17b4 actionbar: add option to use druid stealth page
- rewrite pagemaster and integrate it into the actionbar code
- add securestate conditions for prowl on bar 8
- add function to detect druid stealth for vanilla
- manually swap bar to page 8 during druid stealth on vanilla
- add options to enable druid stealthbar (disabled by default)
2020-04-28 11:56:37 +02:00
shagu 637195059a actionbar: ignore keybind actions during chat
This fixes non-latin input methods, that get not properly
filtered out by the game while the chat input box is visible.
2020-04-18 16:05:49 +02:00
shagu 826e179c18 actionbars: don't rely on API calls due to shitty addons
NotGrid and other Grid forks add :SetAttribute to all frames that are created,
no matter if its their own or not. Since the :SetAttribute provided by those is
unfunctional, we need to ignore them and use client identifier checks instead.
2020-04-17 19:35:35 +02:00
shagu 5d084ef662 actionbar: call string format in a compatible way 2020-04-17 11:01:16 +02:00
shagu 25b6926d86 actionbar: click pet button to avoid macro updates 2020-03-30 17:51:44 +02:00
shagu f5c285753a actionbar: add option to change animation trigger 2020-03-28 12:52:39 +01:00
shagu 061f6393ba actionbar: gui update and tbc support for pagemaster 2020-03-28 12:21:20 +01:00
shagu 013dcdc4f8 actionbar: add option to selfcast on rightclick 2020-03-28 12:02:20 +01:00
shagu 27ab717482 actionbar: rewrite entire secure button handling
* highly reduce the amount SetAttribute is called
* move client specific paging code into a unified function
* move tbc functions to frame creation
* allow several states on all buttons
* use proper fallback to self.id in case no secure state is found
2020-03-28 11:45:58 +01:00
shagu 00e888b06a actionbar: use statedriver for pet visibility 2020-03-28 10:09:21 +01:00
shagu a0983863a3 actionbar: reduce memory load by caching locals 2020-03-15 11:47:50 +01:00
shagu 98ab7473af actionbar: align border offset of shared backdrop 2020-03-08 16:42:48 +01:00
shagu 46d66d3692 actionbar: add proper spacing to the shared panel 2020-03-05 19:29:45 +01:00
shagu 6905b31fa0 actionbar: use specific mouse button types
This is required to stay compatible with vanilla,
where AnyUp and AnyDown didn't exist.
2020-02-19 21:35:24 +01:00
shagu f3547bab82 actionbar: use static id for paging bar 2020-02-19 21:29:41 +01:00
shagu 459eac8ec8 actionbar: enable keydown triggers for tbc 2020-02-19 18:36:25 +01:00
shagu 308087ca5f actionbar: allow to hook into core functions 2019-12-31 11:30:17 +01:00
shagu a0143b2ccf actionbar: perform full update on state changes
* Add a unified full update function
* Use consistent names on update functions
* Bump version to 4.4.2
2019-12-29 09:01:26 +01:00
shagu fb2c3bad79 actionbar: update usable on range change 2019-12-23 02:11:05 +01:00
shagu f47cf6255e actionbar: update all on generic events 2019-12-21 10:34:53 +01:00
shagu 3334c7469f modules: make all modules aware of the new borders 2019-12-18 18:54:09 +01:00
shagu 7fa7f3b3dd actionbar: smoothen all events to a single update
Smoothen all events and limit the buttons to one full update per frame.
Rework the queue lists to be indexed by slots, so that one button can't
be included more than once. This will buffer bulk events, like during
shapeshifting and alike. This provides a massive performance boost on
event floods. Some events have also been entirely removed and some where
sorted to where they belong to.
2019-12-17 10:52:26 +01:00
shagu 1988c30675 actionbar: move usable update into own function
Don't trigger full updates on usable changes. Also removing the
`UPDATE_INVENTORY_ALERTS` event, as it is no longer in use.
2019-12-16 12:02:25 +01:00
shagu bf493645c1 actionbar: only refresh required slot changes 2019-12-16 10:43:04 +01:00
shagu 46133f54a9 actionbar: reduce time spent in update functions
* Introduce a list of buttons that need updates instead of iterating over all
* Introduce a list of all ever created buttons
* Move all (update/event/button)lists from bars into local space
* Replace integer button iterators with pairs iteration
* Rename ButtonUpdate to ButtonRangeUpdate as it no longer holds any other calls
2019-12-11 20:50:06 +01:00
shagu f3b704a082 actionbar: fix self and this variable scoping 2019-12-11 18:54:10 +01:00
shagu 61422e082d actionbar: buffer and separate frequent events 2019-12-11 08:04:01 +01:00
shagu 549f2b9456 actionbar: add option to disable reagent counter 2019-12-10 21:32:16 +01:00
shagu 2659f24bdb actionbar: assign scripts only once per bar 2019-12-10 21:32:15 +01:00
shagu 26d2eeb2c6 actionbar: unified button events and updates
Use a unified OnEvent and OnUpdate handler, in order to avoid
registering events for each of the 120 action-buttons.
2019-12-10 21:32:06 +01:00
shagu 8eb1f546bf actionbar: fix tbc filters for druid forms 2019-09-08 13:13:21 +02:00
shagu e31236535d actionbar: add custom secure frame page filters 2019-09-07 17:52:12 +02:00
shagu 06bc7bfdda actionbar: use regular settings table for paging 2019-09-07 17:51:36 +02:00
shagu 8f743ac527 actionbar: pass the new bar to ChangeActionBar 2019-07-22 22:41:16 +02:00
shagu e0a94af285 actionbar: only set attributes while not in combat 2019-07-19 16:36:53 +02:00
shagu 0fc6537950 actionbar: set tbc visibility states for pet bar 2019-07-18 20:55:08 +02:00
shagu 880655221a actionbar: fix pet button placement on clicks 2019-06-14 14:14:07 +02:00