144 Commits

Author SHA1 Message Date
40a25a3315 Apply Strata adjustment in a few more places 2023-08-02 17:38:47 -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
209fbe2b4e Trim whitespace off dogtags on upper/lower texts
This fixes an issue with strings getting clipped when newlines were
inadvertently included. wowace ticket #311
2021-06-10 22:29:30 -05:00
077f381adb Increased valid ranges by request (wowace ticket #280) 2020-10-14 12:57:34 -05:00
a18144aec0 9.0 compatibility updates - initial attempt 2020-10-13 08:46:41 -05:00
0f7a2ff4f1 Added Gap setting between upper and lower text
Partial merge of pull request #1 from lrds (https://github.com/parnic/ice-hud/pull/1). Removed the localization change because loc is managed on the wowace side.
2018-06-06 20:20:08 -05:00
c21fe96707 Moved Round down for other modules to use 2018-02-10 17:41:44 -06:00
46152e92f4 Fixed rotation not resetting on profile change
When the player had one profile with a bar rotated 90 degrees and another profile with the same bar not rotated, the non-rotated profile would fail to put the bar back in its original location. Thanks for the detailed report, spacegato!
2016-07-24 16:52:12 -05:00
2c93dbc365 Fixed lag indicator on cast bars set to 'reverse'
Apparently setting the castbar to 'reverse' mode has never set the lag indicator in the correct place. Now we instruct SetBarCoord to behave differently for lag indicators.
2015-12-20 16:11:23 -06:00
b58e6166a2 - added an oft-requested option to treat friendly targets the same as not having a target at all for alpha purposes. this allows people who want the HUD to be hidden when they don't have a target to stay hidden when they target a friendly, for example 2011-04-26 03:09:51 +00:00
e3e3d01583 - added custom upper/lower text coloring to custom buff/debuff bars and custom cooldown bars since they don't have any dogtag support
- fixed lower text to be visible on custom buff/debuff bars and custom cooldown bars
- fixed upper/lower text blocks in the text settings page to not be multi-line if the module doesn't support dogtags so that everything is laid out more cleanly
2010-12-14 06:55:15 +00:00
f4c098565d - re-arranged text settings page so that options are laid out more clearly/naturally 2010-12-14 06:16:02 +00:00
ea4ff748f3 - fixed an error when changing from a profile with markers on a module to one with fewer/no markers on the same module 2010-12-14 00:18:40 +00:00
b7d2e407d8 - never register disabled bars for updates 2010-11-22 18:01:42 +00:00
32f58e18d6 - fixed markers generating errors or just misbehaving when changing profiles (ticket #102) 2010-11-10 02:41:20 +00:00
fa8b895214 - mana modules animate regardless of 'predictedPower' setting now
- fixed occasional flickering in the cast bar and threat bar when they are first displayed
- minor code cleanup
2010-11-06 03:03:46 +00:00
74b9ace21d - better fix for cast bars getting stuck sometimes
- reinstated the code that was shutting off updates when a bar reached its desired scale
2010-11-06 02:31:35 +00:00
668aa19a14 - reverted r761 2010-11-05 05:32:40 +00:00
c221371d8b - disabled an optimization that was overstepping its bounds and causing issues 2010-11-05 05:31:19 +00:00
b5dd925ca4 - fixed markers not updating when a bar's inverse mode is changed
- fixed markers not rotating with a bar when the rotation option is set at runtime
2010-11-05 04:35:05 +00:00
4f4c892306 - Suppress bar animations if update rate is less than 15/sec 2010-11-05 04:12:37 +00:00
29085ebd29 - markers are now created at the proper alpha instead of 100% 2010-11-05 00:57:45 +00:00
1fb57acba1 - fixed text staying hidden when disabling and re-enabling a module 2010-11-05 00:42:37 +00:00
74d759bc99 - removed check for shouldHideBarRotation, since all bars can now be rotated. 2010-11-03 20:25:18 +00:00
99e8b651d3 - Fixed Threat module's aggro bar positioning incorrectly
- Fixed combining expand & reverse modes causing bars to position incorrectly.
- All empty bars now skip resizing calculations and just Hide() immediately.
- Threat & SnD modules now use the new bar resizing system.
- Enabled expanding fill for SnD module
2010-11-03 17:23:31 +00:00
2b3f606f20 - Added support for rotated markers.
- Enabled bar rotation for the Eclipse module.
2010-11-02 19:28:09 +00:00
18332f70f7 - Added support for rotation in the new bar resizing system.
- Enabled bar rotation for the CastBar module.
2010-11-02 16:05:13 +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
7609b37812 - Fixed: Markers stuck in inverted mode. 2010-11-02 13:19:37 +00:00
fa74303411 - better fix to make sure modules always re-register for updates if they need to when they're shown 2010-10-30 15:48:54 +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
c8de97e7b7 - fixed bars that don't support dogtags in their text blocks to say so in the tooltip instead of telling the user that they can use dogtags when they can't 2010-10-26 00:53:35 +00:00
bc4deff6fd - fixed the Eclipse bar not showing up since 1.7.2 2010-10-26 00:07:36 +00:00
1a00681356 - hid the "rotate 90 degrees" option on cast bars and eclipse bars since it just doesn't work very well and looks bad. users keep reporting that these are broken when rotating and since i don't have a good fix, i'm disabling the feature for now 2010-10-25 04:20:22 +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
e003fab854 - removed most of the rest of the garbage that was being generated during combat or when changing targets
- reduced cpu usage by 33%-50% across the board (and more in some cases) by changing how updates are registered and how often they run. now the 'update period' slider actually matters. it defaults to 0.033 meaning that frames update about 30 times a second instead of every frame
- fixed the "always" display mode for cooldown bars to respect alpha settings (ooc/with target/in combat/etc.)
2010-10-25 02:05:58 +00:00
04a885b123 - fixed a bug causing bar font size adjustments to not take effect/display until a ui reload 2010-10-21 01:42:35 +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
3cc7b1b1fb - fixed SetBottomText1 to propertly set text colors on the upper text line
- eclipse bar now colors the numerical value to whatever direction the bar is heading
2010-10-20 03:49:34 +00:00
fa5246a27e - very minor perf gain by not doing the per-frame update on invisible modules
- nuked the primary offender of garbage generation. there is more to get rid of but finding it is a tedious process
2010-10-17 22:50:59 +00:00
cb77e8358b - fixed 'inverse' mode to work with potential SnD bar
- expanded range of class power counters (shards, holy power) by request
- fixed lacerate and sunder count modules to work with 3 max charges instead of 5 as per the new patch (these *really* need to go away and be auto-replaced by custom counters...)
- yet another fix for text sometimes displaying the unit name for PetHealth
- fixed how the 'second highest threat' bar is drawn so that it actually works with all textures
2010-10-17 20:20:00 +00:00
eefedd6a93 - only create the fontstring for upper/lower text if it doesn't already exist. (sigh, garbage generation) 2010-10-16 15:43:57 +00:00
88a309ef8c - fixed "bar visible" checkbox to also hide/show the solar portion of the eclipse bar 2010-10-16 15:40:37 +00:00
dc85c43a3e - fixed lower text popping back up when it shouldn't 2010-10-16 14:45:25 +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
998ff6167f - fixed scaling to affect the text and icons again like it used to 2010-10-15 13:02:33 +00:00
6e97485333 - attempt to fix ticket #81 2010-10-14 01:56:14 +00:00
272f0fd42d - fixed text getting rotated along with bars when choosing the "rotate 90 degrees" option 2010-10-14 01:31:47 +00:00
3a68ef1a61 - fixed rotation of inverted bars to draw the bar correctly
- better method of turning the player and pet casting frames back when enabling the "show default cast bar" option in the player cast bar
2010-10-11 05:50:10 +00:00