Commit Graph
25 Commits
Author SHA1 Message Date
omicron 76851011fe Fix font and status bars to use new API arguments 2026-10-29 09:28:49 +01:00
omicron 14aeb2c43e Fixed typos and logic error in UnitFrame:Disable
This function is currently unused so these changes are not tested. The
Disable function now always hides the UnitFrame and calls
UnregisterUnitWatch with the correct parameters.
2026-10-29 09:28:47 +01:00
omicron f181c0022c Apply stylua to the entire codebase 2025-08-24 12:28:06 +02:00
omicron c56b847710 Add IconIndicator
Similar functionality to a SquareIndicator but uses an icon instead of a
solid color.
2025-08-24 12:28:06 +02:00
omicron ec7e2c74ff Update range check API to for TWW 2025-08-24 12:28:06 +02:00
omicron b1dca1639d Properly update unit frames on GROUP_ROSTER_UPDATE 2025-08-24 12:28:06 +02:00
omicron 1fce6017bd Add bar overlays for absorb and heal absorb 2025-08-24 12:27:56 +02:00
omicron e20887d46b Implement fade and flash behavior for square indicators 2023-07-28 14:15:50 +02:00
omicron b201ef789a Partially fix unicode name truncation.
This fix ensures that name truncation always happens on codepoint
boundaries and that a name has exactly 5 visible codepoints. This should
cover all possible cases unless names can have grapheme clusters, afaik
this is not the case.
2023-07-26 03:15:13 +02:00
omicron 3a1cc35a1e Add Trigger.CreateFromConfig function to help initialize new triggers 2023-04-10 15:51:20 +02:00
omicron 275f0c4b23 Add BorderIndicator 2023-04-10 15:51:20 +02:00
omicron d66989297c Add a new trigger type statustrigger
StatusTrigger will trigger if a status activates (or reaches a certain
activation # of auras). This is an abstraction provided by AuraList
which keeps track of which auras belong to which statuses.

Added type annotations to all touched files
2023-04-07 10:15:51 +02:00
omicron 8c4cc405aa Move ivert logic and trigger logic into Trigger
The base Trigger class is now responsible for inverting the trigger
state and also for signaling trigger activation to the target/indicator.

In addition the following non-function changes also occured:
 - The triggers moved into their own directory
 - The trigger code has been annotated to help lua-language-server
   deduce type information
 - AuraTrigger was moved into its own file

All these changes should make future development of other triggers easier
2023-04-04 06:40:29 +02:00
omicron d85a1c3579 Allow triggers/indicators to be configured.
Also adds priest test config and expands shaman test config.
2023-04-03 08:45:39 +02:00
omicron 464fcbb1df Allow mouse keybinds to be configured 2023-04-01 05:19:03 +02:00
omicron e72c4b3e3f Allow size and range check features to be configured.
This also improves the range check to fall back to UnitInRange if no
friendly spell is available
2023-04-01 01:20:39 +02:00
omicron 825738a040 Rework the way triggers and indicators work
Triggers are now a link between link between a datasource (for now only
AuraList) and an indicator (for now only SquareIndicator).
2023-03-19 06:54:02 +01:00
omicron f14ffbe0bd Handle characters that aren't fully loaded yet in UpdateName 2023-03-18 16:36:09 +01:00
omicron 7d1e3b933d Fix incorect Runic Power enum 2023-03-18 16:34:16 +01:00
omicron 16da36d353 Add power bars for healers and blood deathknights 2023-03-18 06:25:25 +01:00
omicron d6e3a968c1 Add class colored names to the unit frames 2023-03-18 05:57:43 +01:00
omicron b87aea2f9e Change UpdateRange to always show dead units as opaque 2023-03-18 05:57:43 +01:00
omicron 8271092d42 Fix the menu action on non-player frames 2023-03-16 05:18:30 +01:00
omicron c0446ad8be Add support for hiding unit frames in raid groups 2023-03-16 04:54:34 +01:00
omicron 86825dd6e5 Initial commit 2023-03-15 17:13:01 +01:00