106 Commits

Author SHA1 Message Date
b17582afab Remove all the old right-click menu hackery
Evidently this isn't needed anymore on any current client, 11.x, Classic-era, et al.
2024-07-25 22:32:29 -05:00
e94138d201 Restore context menus for Health and Info modules
Apparently we don't have to do any of this anymore (and might not have had to do it for a long time, but I missed the memo) so if we can, just use the built-in menuing stuff. Setting focus doesn't trigger taint with this.
2024-07-25 22:25:55 -05:00
6cee8c738c Apply strata adjustment inside BarFactory instead of every callsite 2023-08-02 08:25:34 -05:00
40fc8187fd Add ability to adjust strata globally
Submitted by slowkerd from Curseforge (thanks!)
2023-08-02 08:16:12 -05:00
c5c44edf64 Fix several issues with low thresholds
This addresses a user-reported issue where Low Threshold was not usable with Color By Health/Mana % disabled, due to some internal technical reasons. This was exacerbated by the recent fix that allowed Low Threshold and Color By Health % to work together.

This also fixes the low threshold flash to apply immediately when changing the option, and fixes the Low Threshold % slider to be usable without the Low Flash option set.

Finally, it hides the Low Flash option for bars that don't support it (right now that's just PlayerMana, I think because it only sets the low threshold to the Min Mana Color even if the class uses a different power type...something for future me...).

Fixes wowace ticket #334
2022-12-13 20:48:02 -06:00
acc400de6e Fix error on Classic with Hide Party
I neglected to test the new party-hide implementation on pre-10.0. It was not fully implemented. This implementation is from Pitbull4 and is more complicated than I need, but certainly does the job and allows for some future usage if needed.

Fixes wowace ticket #330
2022-10-30 23:21:31 -05:00
86e40187a2 Update Party hide feature for 10.0 compatibility 2022-10-25 22:42:46 -05:00
52c9b51e8d Temp fix for error in 10.0
I need to find the new way to disable party frames, but this gets the addon loaded for now.
2022-10-25 21:43:13 -05:00
41ae17ba9a Continue replacement of WowVer checks 2022-09-18 17:50:37 -05:00
c804ba178b Convert a few more checks into feature flags 2022-09-18 08:30:06 -05:00
ee72cd1f33 Add feature flag for UnitGroupRolesAssigned 2022-09-02 14:31:51 -05:00
777cf01174 Add feature flag for Heal Prediction
And turn it on for Wrath Classic, because apparently it works there.
2022-09-02 14:27:33 -05:00
51e2debc4d Change method of hiding the player frame
This existing method worked fine for many years, but seems to have become inadequate in 9.2, likely due to this change that's restoring player frame visibility sometimes: 20f786e45b

Fixes #19 (Github)
2022-03-22 15:58:10 -05:00
e313e679ae Basic Classic-BC support
This has been tested on Classic PTR and Retail, but only with a Rogue
character. Don't have a ton of time to do more exhaustive tests right now.

Fixes #11
2021-05-09 12:04:23 -05:00
a18144aec0 9.0 compatibility updates - initial attempt 2020-10-13 08:46:41 -05:00
ba8748ecca First batch of WoW Classic compatibility updates
This has been tested on Classic with a Rogue up to level 5 using various modules and casually checked against a few level 1 classes. I'm sure there's a lot more to do here. I also made sure to test on Live.

Where possible I tried to check for API availability rather than specific client versions or program IDs. There are many cases where that's impractical, however, so version/program ID checks were used.

This was tested with:
* Ace3 @r1225
* AceGUI-3.0-SharedMediaWidgets @r61
* LibDBIcon-1.0 @v8.2.0
* LibDogTag-3.0 @v80200.1
* LibDogTag-Unit-3.0 @v80200.1-2-g93a898d-alpha
* LibRangeCheck-2.0 @v4.2.3 (with a couple of local changes)
* LibSharedMedia-3.0 @r113-alpha
2019-08-11 23:21:06 -05:00
8469824f53 Fixed player health not updating to max health 2019-03-17 12:28:58 -05:00
08e8d3a087 Updated GetLFGProposal return values 2017-06-14 10:18:02 -05:00
d9bd5e3f36 Changed default DogTags to shorten values
This change is potentially contentious because it's a very old default, but with health and power values being so incredibly high in Legion, the shortened form of values is immensely more readable. This change will not affect those who have modified their text settings and the Short form only kicks in when values hit 10,000 or higher.
2016-11-06 14:17:37 -06:00
60a3293095 Added absorb display to the player health bar
The player health bar will now show a (by default) faded white bar above the health for the amount of absorption the player currently has. The incoming heal bar starts above both the player health and the absorb, if any is present.
Also disabled the PlayerAbsorb bar by default since it's redundant. It can still be enabled separately if desired.
2016-10-12 23:18:27 -05:00
9cebf8f085 - Adjusted min/max icon offset positions for icons on the PlayerHealth bar. (ticket #136) 2014-10-12 16:56:43 -05:00
c66aea12cc - Possibly fixed some NaN/divide-by-zero errors that have been cropping up sporadically lately. 2013-12-23 06:03:37 +00:00
2c3b1e57bd - Fixed PVP icon showing up as a green square for Pandaren who have not yet chosen a faction. This fix applies to TargetHealth and PlayerHealth, but not to DogTag text such as on the TargetInfo frame. 2012-11-01 05:55:27 +00:00
028658a2be - Fixed GetLFGMode() errors in 5.0 2012-07-03 04:30:50 +00:00
b5350965a7 - Round 1 of WoW 5.0 fixes. 2012-06-30 19:57:12 +00:00
34ca35cc59 - another attempt at fixing stack overflow related to dropdown menus for secure frames 2010-12-28 06:42:34 +00:00
4149d4e733 - fixed the player's health and mana bars monitoring the wrong unit whenever the player leaves an instance while in a vehicle 2010-11-05 04:55:25 +00:00
a93bcaf190 - pedantically replaced sets of spaces with tabs. i'm that guy. 2010-11-05 01:48:46 +00:00
286e413198 - Refactored how bars are created and resized.
- Enabled the "expand" bar fill for the PlayerHealth module.
2010-11-02 15:08:42 +00:00
52a0e26759 - Most modules now support a new bar filling mode: Expanding outwards from the middle. 2010-10-30 15:08:05 +00:00
fecfe8b586 - shamelessly ripped off code from pitbull4 to replace "set focus" with instructions on how to do so. begone, focus error reports! 2010-10-30 04:40:12 +00:00
673fb524ba - unified the behavior for configuration when a module is disabled. now the sub-configs (marker/text/icon settings) remain clickable but every element inside is disabled when the module is disabled. previously some sub-configs were not clickable at all and others were 2010-10-25 04:10:29 +00:00
af5574e4a6 - added local copy of _G.IceHUD to modules that reference it frequently for a minor lookup speed boost 2010-10-20 05:22:27 +00:00
3af07ee30d - removed ClickCastFrame unregistration to avoid problems with people who have the older version of clique (basically everyone) 2010-10-17 05:46:54 +00:00
f63c263669 - cleanup of mouse interaction for all modules 2010-10-16 20:00:35 +00:00
7bf4c9b56e - fixed "allow click-targeting in combat" option for the new version of clique 2010-10-16 19:49:39 +00:00
1f2738432b - more fixes for compatibility between clique and the info modules 2010-10-16 19:35:42 +00:00
86ee5ca6c1 - fixed icons rotating with bars incorrectly when setting bar to be rotated 90 degrees 2010-10-15 00:30:27 +00:00
6d3dcaa0dc - fixed incoming heal bar to display properly on 4.0 clients 2010-10-09 06:20:17 +00:00
f357dac2bf - don't auto-hide the incoming heal bar when LibHealComm isn't available if the user is on 4.0 2010-10-09 05:50:08 +00:00
08861ecfe7 - first shot at localization of all configuration settings in IceHUD using AceLocale. note that all of these conversions were generated programmatically so it's possible that something went awry...very casual testing seemed okay, however. 2010-09-26 05:14:42 +00:00
d677a04f1a - fixed a bug where the combat icon would get stuck if you went into combat when resting but had the resting icon display disabled
- made the combat icon replace the resting icon if you go into combat while resting and then switch back to the resting icon (if appropriate) when dropping combat
2010-09-18 07:26:50 +00:00
250adfc2db - removed the last remnants of Ace2 (AceOO-2.0 and AceLibrary) thanks to a huge amount of help from ckknight for metatables 2010-09-17 05:41:04 +00:00
fd6d570e0b - fixed up several "hide blizzard frame" options to re-display when the module is disabled and to call blizzard's OnLoad for the frame instead of manually entering every event to re-register
- fixed "show incoming heals" option to be properly toggleable on 4.0 (bad conditional on the 'disabled' option)
- hid "cooldown mode" option on the totems module since there was never more than one choice
2010-09-16 02:42:16 +00:00
1961b66f57 - big giant options screen usability cleanup:
- colorized the FAQ and Module Settings description text to be more readable
- removed custom coloring from certain options that didn't match the rest
- hid a few debug-only settings
- consolidated all the 'create custom module' buttons into a drop-down + create button
- clarified description of some options so that their intent/purpose is more clear
- moved around/cleaned up headers for consistency
- doubled the width of long options so that they don't get cut off and ...'d
2010-09-12 22:36:02 +00:00
e95db24dd0 - replaced AceEvent-2.0 with AceEvent-3.0/AceTimer-3.0 2010-09-10 06:30:56 +00:00
33bb0ba3cb - fixed reported taint issue from people joining or leaving a party in combat with the "hide blizzard party frames" option set on the PlayerHealth module 2010-09-10 03:07:10 +00:00
d09c91ab99 - modified last commit to use a new local variable for the UnitGroupRolesAssigned check in order to avoid stepping on a different usage of "role" in the surrounding code 2010-09-07 00:27:37 +00:00
83936af830 - updated UnitGroupRolesAssigned check for the new return value 2010-09-07 00:22:15 +00:00
aed00f0434 - added proper color for player focus (cataclysm hunters) on the PlayerMana module
- minor documentation fix for the incoming heal notification on the player health bar to indicate that it requires either libhealcomm-4 or cataclysm to function
2010-09-06 20:11:48 +00:00