shagu
451c18ced8
api: add spacing parameter to position alignment
2020-04-18 12:49:52 +02:00
shagu
d5cc370e9d
api: move AlignToPosition into global api
2020-04-18 12:46:14 +02:00
shagu
a7000449e9
api: allow movables to not have a parent frame
2020-04-03 00:26:12 +02:00
shagu
968fef0f98
api: restore custom parents on movables
2020-04-02 16:10:34 +02:00
shagu
2c729c8a75
api: new api call to delay functions to ooc
...
A new function that allows to register functions to a queue,
that is processed as soon as the combat lockdown fades.
2020-03-22 14:08:51 +01:00
shagu
2587d6449d
api: fix bug in border detection caching
2020-03-15 11:45:15 +01:00
shagu
2993ed03d8
api: reduce memory load by caching backdrop locals
2020-03-15 11:44:48 +01:00
shagu
eb42c831fc
api: fix real pixel backdrop offsets
2020-03-05 22:52:56 +01:00
shagu
c85f4b1849
api: use default border size in case of inherit
2020-02-28 17:03:41 +01:00
shagu
4d076dbac2
api: reload borders on backdrop updates
2020-02-28 17:03:41 +01:00
shagu
149339839d
api: use backported getiteminfo for all versions
2020-01-06 11:15:38 +01:00
shagu
6de221188a
api: also show silver when gold is visible
2020-01-02 23:04:08 +01:00
shagu
ba7f75416b
api: precalculate cooldown switches
2019-12-28 10:14:25 +01:00
shagu
a75204540e
api: add hidpi detection in pixel calculation
2019-12-18 18:54:00 +01:00
shagu
bcadf4b2d9
api: use proper backdrop sizes on small borders
2019-12-18 18:53:50 +01:00
shagu
1cf0d24fcd
api: add function to query configured bordersizes
2019-12-18 18:53:41 +01:00
shagu
40c6bf704a
api: preparation to use perfect pixels on borders
...
Add some preparation to allow perfect sized borders on all backdrops.
There's no option set yet to avoid broken borders on other elements.
An option that is enabled by default will be added as soon as all modules
are prepared to use pfUI.border instead of reading the config on their own.
2019-12-18 18:53:31 +01:00
shagu
687d75f8a0
api: add function that calculates a real pixel
2019-12-13 20:59:57 +01:00
shagu
84a1bd1052
api: don't set hit insets during combat lockdown
2019-07-19 16:36:14 +02:00
shagu
798500d6d2
api: use same shadow conditions as for backdrop
2019-07-18 20:40:21 +02:00
shagu
b3bebe922a
api: remove debug parameter
2019-06-16 15:06:35 +02:00
shagu
3832b9151e
api: add functions to determine best frame anchors
2019-06-09 22:16:58 +02:00
shagu
545be99fd7
api: only add shadow to specific frames
2019-06-02 20:43:56 +02:00
shagu
ef9f4519f1
api: fix cache and limits in gradient color
2019-05-21 22:46:57 +02:00
Road-block
cf4c9ac361
api: add and use rgbhex function
...
* A memoizing method to cache and return hex colorstrings from rgb input.
* Refactor all occurences of adhoc rgb to hex string concatenation to use the new method
* Refactor chat module to use it
2019-05-01 15:23:05 +02:00
shagu
6c6aaacd83
unlock: cache zoom onupdate function
2019-04-22 13:26:43 +02:00
shagu
7fd1ae5489
api: cache mouse-drag functions
2019-04-21 17:43:50 +02:00
shagu
ca2cf71d04
api: handle escaping within the function
2019-04-21 15:02:14 +02:00
shagu
f9b84600b7
api: use global defines for gfind
2019-04-14 19:34:12 +02:00
shagu
7a07737379
api: handle new bag classes introduced in tbc
2019-04-14 17:31:58 +02:00
shagu
597f19dd55
api: add HookScript back to the core api
2019-04-14 15:15:10 +02:00
shagu
8c95917817
api: adjust thin legacy backdrop appearance
2019-04-13 14:13:03 +02:00
shagu
747b895db2
api: pass init to next movable function
2019-04-08 21:58:52 +02:00
shagu
70649f3a59
api: replace varargs in function queue
...
Get rid of var-args as the handling of those changed alot
during different api iterations. Therefore using static-args
instead that can be handled the same way in all expansions.
2019-04-07 14:35:51 +02:00
shagu
417c5b8129
api: combine movable functions and set anchors
2019-04-07 13:23:56 +02:00
shagu
d7c64d7d0a
core: replace remaining getglobals in favor of _G
2019-04-06 14:30:31 +02:00
shagu
4237a26b6a
api: escape all magic chars in sanitize pattern
2019-04-04 15:15:06 +02:00
shagu
05349d475e
api: return when no subject was given to strsplit
2019-04-02 22:42:19 +02:00
shagu
e561d09447
api: remove obsolete code-path in bar layout
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
Artur Morozov
74fa9df790
api: add GetNoNameObject
2019-03-31 14:59:21 +02:00
shagu
7e3e86ead4
api: add checkversion to public api
2019-03-31 14:59:21 +02:00
shagu
497a053e60
api: run lurker on addon event if config exists
2019-03-31 14:59:20 +02:00
shagu
281ddf09d5
api: only hook on addons after config is loaded
2019-03-31 14:59:20 +02:00
shagu
8b39968db9
api: remove autohide eventhandler
2019-03-31 14:59:20 +02:00
shagu
26a9fff578
actionbar: entire rewrite of the actionbars
...
Final squashed commit of the actionbars. Ready for master.
Config migration is now armed, you can't go back without backups.
2019-03-31 14:59:20 +02:00
shagu
874487bde9
api: use already cached backdrop tables
2019-01-11 10:28:25 +01:00
shagu
bce7fb0be1
api: let sanitize pattern prioritize numbers
2019-01-10 12:45:10 +01:00
shagu
bf8bb3163e
api: fix capture index on strings with brackets
2018-12-02 17:16:31 +01:00
shagu
3a6140224b
api: add capture index aware matcher
...
* optimize/reduce regexes
* add cache to SanitizePattern
* add function to determine capture indexes
* add capture index aware string.match function
2018-12-02 14:46:59 +01:00