Commit Graph

146 Commits

Author SHA1 Message Date
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
shagu 88cd6dcf86 actionbar: treat auto-repeat actions as active 2019-06-13 18:34:59 +02:00
shagu e9237b59b2 core: use concrete string based client checks 2019-06-10 17:06:31 +02:00
shagu c939f8b322 core: use media mechanism for configurable paths 2019-06-10 13:35:48 +02:00
shagu 7632f92dd1 core: use new media mechanism for all textures 2019-06-10 13:35:48 +02:00
shagu e0ddf850b3 actionbar: use button highlight as keystate feedback 2019-06-06 19:58:31 +02:00
shagu 545be99fd7 api: only add shadow to specific frames 2019-06-02 20:43:56 +02:00
shagu 3abaf031bd actionbar: fix always alt-selfcast option 2019-05-12 22:13:37 +02:00
shagu 8426d7d7c1 actionbar: add translations 2019-05-01 15:47:29 +02:00
shagu 5fcd8b547c actionbar: update/save macros on button action 2019-04-27 12:20:55 +02:00
shagu d6e4b68012 actionbar: keep shapeshift button layout 2019-04-17 21:06:48 +02:00
shagu bdb277ced0 actionbar: add option to always allow drag via shift 2019-04-17 19:47:23 +02:00
shagu e52793de9b actionbar: only set button id for vanilla 2019-04-16 20:50:02 +02:00
shagu 151e28b025 actionbar: change button lock to original behaviour 2019-04-15 17:44:13 +02:00