Commit Graph

87 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
9b063bed63 More TWW/11.0.2 compatibility
I don't have beta access so I can't test this yet, but this should catch everything in the Deprecated_11_0_0 file in wow's official ui source as well as some stuff not mentioned but reported by users.
2024-07-21 13:51:17 -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
ee72cd1f33 Add feature flag for UnitGroupRolesAssigned 2022-09-02 14:31:51 -05:00
53fdb48b05 Fix reported TBC issue of target health updates
For some reason, on TBC classic target health is not updating frequently. I waded through the official TBC source code, and it looks like if predictedHealth is enabled (which it is by default), then the default UI uses an OnUpdate handler to update the target's health bar. So now I'm doing the same.
2022-03-24 11:51:58 -05:00
eee20f17b4 Change method of hiding the target frame
See 51e2debc4d for the PlayerFrame version of this (and reasoning for this)
2022-03-22 22:57:36 -05:00
26fd86134b RealMobHealth addon compatibility
It will only work with DogTags disabled. Otherwise it will respect the DogTag (which doesn't support the RealMobHealth info).
2019-09-03 16:03:38 -03: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
c21fe96707 Moved Round down for other modules to use 2018-02-10 17:41:44 -06: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
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
095d6f2519 - fixed the elite (classification) icon for targets to respect the "lock all icons at 100% alpha" setting 2011-03-19 05:02:42 +00:00
34ca35cc59 - another attempt at fixing stack overflow related to dropdown menus for secure frames 2010-12-28 06:42:34 +00:00
022eb11678 - patched up the TargetHealth (+ToTHealth +CustomHealth) modules to create the raid icon during CreateFrame() instead of Enable() to ensure that nothing's called in an unexpected order 2010-11-18 19:45:36 +00:00
2acb931960 - added protection against potential nil access reported by a user. i can't reproduce it, though 2010-11-17 03:57:38 +00:00
a93bcaf190 - pedantically replaced sets of spaces with tabs. i'm that guy. 2010-11-05 01:48:46 +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
4ab939477f - fixed error caused by disabling click targeting on the targethealth frame 2010-10-17 22:26:53 +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
d315ee3e3c - fixed bar text not properly hiding on bars that use RegisterUnitWatch to control visibility 2010-10-16 03:07:19 +00:00
5c122c227d - fixed icons on the target health bar not always hiding when they should 2010-10-15 01:08:51 +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
99c45e7312 - fixed text on bars using RegisterUnitWatch to be hidden properly (more fallout from the change in r644 - this was specific to people that had dogtag support disabled) 2010-10-14 05:50:03 +00:00
051fa5822b - added new DHUD bar texture set and alternate elite/rare icons by request (ticket 80). the earliest place we found these textures was in the original DHUD which has no license at all, so it should be okay to use them. they are called DHUD in the mod, so it's clear that i'm not trying to pretend that we made them up or they are unique to IceHUD 2010-10-06 04:19:21 +00:00
d01d3587a0 - allowed pvp and party role icons to be offset more 2010-10-02 21:56:43 +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
7646dba873 - added party role icon to TargetHealth module (and CustomHealth by virtue of inheritance) 2010-09-19 06:27:54 +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
59344a134a - converted most of the mod to ace3. the only ace2 remaining is AceEvent-2 (probably easy to get away from) and AceOO-2 (not so easy)
- the ace3 conversion also broke the dependence on Waterfall and gave a much better configuration screen through AceConfigDialog; plus Waterfall is very broken in Cataclysm and it's unclear whether anyone will bother to fix it or not
- fixed a bug with the custom CD bar when changing profiles where it would generate endless errors until a reloadui
- removed DewDrop library as it was no longer in use
- temporarily removed FuBar plugin as it doesn't work as a mixin with AceAddon-3. i will eventually be bringing this back in some form (before the next full release version)
- removed an unused 'about' button on the config page and some empty headers...not sure why they were ever there
2010-09-05 20:11:33 +00:00
915e36af68 - fixed a few taint issues in the ToTHealth and CustomHealth modules
- removed some duplicated code in CustomHealth for click-targeting
2010-07-27 00:30:55 +00:00
b13ee96e8d - reverted r500 because it was causing taint 2010-04-24 14:49:46 +00:00
d6e3ae3cd9 - fixed up the clickable frame for player and target to be hidden/unclickable when the bar alpha is at 0 2010-04-12 05:26:46 +00:00
97db5aeb5e - added ArcHUD clickable area fixes to the target health bar as well 2010-04-10 21:27:06 +00:00
d104fcfb21 - updated every other reference to a bar's texture to use the accessor method instead. this allows overridden textures to work globally 2009-07-27 05:48:12 +00:00
10af4566d6 - added tons of divide-by-zero protection all over the place
- general cleanup of values passed to UpdateBar
2009-04-18 21:07:42 +00:00
a7c498b4d0 - added user-requested toggle to color the TargetHealth bar by hostility if the target is an NPC and the bar is set to use class coloring (instead of health % coloring)
- cleaned up the options and options dependencies a bit in the target health module
2009-01-19 04:57:53 +00:00
3fd5e59689 - fixed a bug introduced in 1.4 that was causing taint in the target health module 2009-01-10 23:33:08 +00:00
9936e94983 - re-added click-targeting on the target health bar (optionally). this time using RegisterUnitWatch so that it shows and hides properly even in combat 2009-01-07 06:33:48 +00:00
765ab7fa2b - unified icon configurations for the target health bar (pvp, raid, classification) and prettied up the options a bit 2009-01-06 06:35:09 +00:00
4992b5e3e3 - added pvp indicator to TargetHealth/TargetTargetHealth bars
- moved some icons into their own Icon Settings group for the TargetHealth/TargetTargetHealth bars configuration
2008-11-24 20:59:26 +00:00