Commit Graph

124 Commits

Author SHA1 Message Date
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
shagu 73eeaacf05 actionbar: show pet token tooltips 2019-03-31 14:59:20 +02:00
shagu 97d0b34789 actionbar: abort early on state updates 2019-03-31 14:59:20 +02:00
shagu d498d061f8 actionbar: cache reagent counter textures 2019-03-31 14:59:20 +02:00
shagu 2545823099 actionbar: remove redundant gametooltip show 2019-03-31 14:59:20 +02:00
shagu 7495516774 actionbar: give the stance bars proper names 2019-03-31 14:59:20 +02:00
shagu dd2fe578b4 actionbar: add highlight to active actions 2019-03-31 14:59:20 +02:00
shagu 11fa2112c3 actionbar: don't kill blizzard frames recursively 2019-03-31 14:59:20 +02:00