Commit Graph

131 Commits

Author SHA1 Message Date
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
shagu e1b60797bf actionbar: set button ids on event
This is in order to maintain compatibility to addons
like TheoryCraft that require a button ID via ":GetID()"
2019-04-11 20:38:12 +02:00
shagu 1d00a9297f actionbar: option to show animation on hidden bars 2019-04-11 20:16:28 +02:00
shagu 710aa73fb6 actionbar: differentiate pet and default grid 2019-04-10 22:01:55 +02:00
shagu bd4ace48c8 actionbar: make it work on tbc 2019-04-10 21:00:20 +02:00
shagu 1a81f57b46 actionbar: disable wordwrap on keybinds 2019-04-06 11:32:15 +02:00
shagu a0e7fb6e2a actionbar: abbreviate mouse button keybinds 2019-04-06 11:31:42 +02:00
shagu a9297c6af5 hoverbind: show grid when entering hoverbind mode 2019-04-06 10:57:04 +02:00
shagu c19b0f0e95 actionbar: hide keybinds on hidden buttons 2019-04-06 10:56:16 +02:00
shagu 0b24e42c31 core: fix code indentation 2019-04-05 09:29:37 +02:00
shagu 05929f07ec actionbar: fix small borders on main actionbar 2019-03-31 14:59:21 +02:00
shagu eb2c5810e4 actionbar: add option to set button spacing 2019-03-31 14:59:21 +02:00
Road-block e50fabfff9 core: global environment cleanup 2019-03-31 14:59:21 +02:00
dein0s dc34799475 actionbar: set macro text when option is enabled 2019-03-31 14:59:21 +02:00
Road-block 21d9c35de0 actionbar: fix custom button count layouts
* only show valid layout options for the actionbar size
* use fallback layout if necessary when bar size is changed
2019-03-31 14:59:21 +02:00
shagu 88cae50ac3 actionbar: disable animation on hidden bars 2019-03-31 14:59:20 +02:00