Brues
d14d30b00b
revert PixelUtil usage
2026-06-22 11:31:27 -05:00
Brues
fa3f191eea
castbar: pixel-snap progress via PixelUtil.SetStatusBarValue
...
Routes player and nameplate castbar progress through
PixelUtil.SetStatusBarValue so a 1.4s cast on a narrow bar no longer
shimmers across fractional pixels as it ticks. Adds GetMinMaxValues /
GetValue handlers to pfUI's custom StatusBar so PixelUtil can read the
current range.
2026-06-22 10:11:33 -05:00
Brues
1fd7895ca7
move away from RAID_CLASS_COLORS dependency
2026-05-28 13:06:00 -05:00
Brues
ba566cdd53
phase 2 removing tbc
...
Strip dead pfUI.client > 11200 and pfUI.expansion == "tbc" branches now
that vanilla is the only supported client.
- pfUI.lua: hardcode expansion = "vanilla"; collapse force_region matrix
- compat/vanilla.lua, libs/{libcast,libdebuff,libtotem,libunitscan,
focus}: drop always-false early-returns
- api/unitframes.lua: delete TargetBuffOnUpdate poller + tbc visibility
and secure-template branches; click-cast keeps only vanilla path
- api/ui-widgets.lua: unconditional EffectiveScale divide
- env/tables.lua: drop unused focus/focustarget pfValidUnits entries
- modules/actionbar.lua: simplify EnablePaging, drop ButtonSwitch/
petvisibility, unwrap prowl block, single keybind-remap path
- modules/{castbar,chat,cooldown,loot,questitem,totems}: unwrap
always-true conditionals
- modules/nameplates.lua: cfg-only fake-cooldown gate, unwrap overlap/
clickthrough + mouselook blocks
- modules/friends.lua + skins/blizzard/friends.lua: maxtab = 4
- skins/blizzard/{help,game_menu,questlog}: drop tbc-only branches
2026-05-25 18:40:17 -05:00
Brues
1d27f7bed3
class color cleanup
2026-05-23 02:56:00 -05:00
Brues
b18e6ffa67
refresh buff durations on player
2026-05-21 02:35:46 -05:00
Meow
3ecc52e4cc
Revert "Fix for bar layout+alternatives+uneven orientation"
2026-03-30 18:53:48 +02:00
Player-Doite
c29b69d469
Added and fixed form layout+ uneven orientation
...
Stance/Form/Aura bar layout fix (before wrong), plus support for uneven rows.
2026-03-26 19:06:25 +01:00
Meow
4c1c4a5176
Reapply "Fix invisible frames intercepting mouse clicks"
...
This reverts commit e663a40460 .
2026-03-22 12:36:47 +01:00
Meow
e663a40460
Revert "Fix invisible frames intercepting mouse clicks"
...
This reverts commit 7d0898c563 .
2026-03-22 12:32:05 +01:00
Meow
7d0898c563
Fix invisible frames intercepting mouse clicks
...
Disable mouse on Turtle GroupUI frames and all children when pfUI replaces them
Re-enable mouse when Turtle frames become active again
Prevent combat screen overlay from blocking clicks
Use explicit EnableMouse(false) instead of nil for StatusBar widgets
2026-03-22 12:24:12 +01:00
shagu
deda19205f
ui-widgets: keep original text sizing on buttons
2025-07-21 15:30:22 +02:00
shagu
129e6c9bae
ui-widgets: give button texts the maximum space
2025-07-20 22:48:51 +02:00
shagu
774df9d09b
ui-widgets: normalize statusbar texture drawlayer
2025-06-05 19:30:46 +02:00
shagu
2406f34b04
ui-widgets: restore dropdown button border transparency
2025-05-25 19:44:31 +02:00
shagu
a034b8dc7c
ui-widgets: restore button border transparency values
2025-05-25 19:41:14 +02:00
shagu
07c123bc3e
ui-widgets: abort early on invalid frames
2024-11-06 10:32:17 +01:00
shagu
dc691b756b
ui-widgets: abort early on invalid frames
2023-11-10 19:20:56 +01:00
shagu
f8b2534f94
ui-widgets: properly display statusbar zero values
...
Set point to zero if value and max-value are both zero.
Previously, if both value and max-value were zero, it
displayed the statusbar as 100% due to a division by zero.
2022-11-12 15:03:29 +01:00
shagu
a32bccc7f7
ui-widgets: keep status bars in size limits
...
* make sure bar texture sizes are within 0-100%
* always set both bar positions on change
2022-09-25 14:02:33 +02:00
shagu
745665de43
ui-widgets: check for frame before accessing it
2022-06-18 15:33:08 +02:00
shagu
0214eebf36
core: switch from mousedown to drag functions
...
Due to crashes/freezes while moving some frames, one possible
reason could be that pfUI was using OnMouseDown and OnMouseUp
to run its frame-moving code. I have noticed better performance
when using the intended functions, OnDragStart and OnDragStop
to move frames.
This commit changes every occurrence of such functions and splits
drag and click into seperate functions where required.
2022-05-07 21:35:52 +02:00
shagu
f6708bb907
ui-widgets: use existing icon if available
2021-12-31 11:26:55 +01:00
shagu
af1c9d3de4
ui-widgets: increase statusbar strata to "high"
2021-09-04 19:00:09 +02:00
shagu
5987dd2b33
core: add option to use blizzard borders
2021-08-25 18:22:46 +02:00
shagu
8fa09f4c28
ui-widgets: adjust statusbar strata to background
2021-08-25 17:16:52 +02:00
shagu
54f65c0a8e
ui-widgets: only set checked textures if existing
2020-12-30 16:46:15 +01:00
shagu
40a41ee436
ui-widgets: set script if no other script is found
2020-12-30 13:05:19 +01:00
shagu
2d1619c3c6
ui-widgets: use native hook function for buttons
2020-12-30 13:04:44 +01:00
shagu
7a7ca5da82
ui-widgets: avoid ui taints of button skins
...
slightly changes the appearance of checked buttons from an
outline of active buttons to a glow effect using class colors.
2020-12-28 20:51:25 +01:00
shagu
f11782082d
ui-widgets: hook old function for button highlight
2020-12-27 00:47:29 +01:00
shagu
b968fffce6
ui-widgets: skip skin functions on invalid frames
2020-12-26 20:07:29 +01:00
shagu
605c928154
ui-widgets: only run animation on value change
2020-11-27 16:51:53 +01:00
shagu
c8691f7c0c
ui-widgets: correct line indentation
2020-10-18 12:43:44 +02:00
shagu
282989eeff
ui-widgets: only hook function outside combat
2020-10-03 15:11:23 +02:00
shagu
2b51e77831
ui-widgets: use proper hook for onhide prevention
2020-10-03 15:08:06 +02:00
shagu
892ef154b0
ui-widgets: use onupdate to determine button state
2020-10-03 15:01:18 +02:00
shagu
8d9dc563dd
ui-widgets: always update scroll slider
2020-08-28 11:47:40 +02:00
shagu
7669e64173
core: remove leftover semicolons
2020-08-15 19:29:24 +02:00
shagu
5e7d21ee24
ui-widgets: always recursions in dropdown select
2020-05-26 21:15:29 +02:00
shagu
1ef0f83974
ui-widgets: always run dropdown function on select
2020-05-26 19:32:10 +02:00
shagu
ea2e6cdb99
ui-widgets: always update displayed values on statusbars
2020-05-09 02:29:31 +02:00
shagu
1d901d39c1
ui-widgets: add dropdown api to select entry by text
2020-05-01 14:52:29 +02:00
shagu
2e53137bd9
ui-widgets: fix z-index of dropdown entries
2020-04-17 11:30:59 +02:00
shagu
8f2b690610
ui-widgets: cache all dropdown functions
2020-04-13 13:50:37 +02:00
shagu
b550efdd97
ui-widgets: keep checkbox visible during init
...
the SetPoint fails by having the wrong offsets, when being aligned to a
hidden texture. Due to this, keep the checkmark visible till the OnShow
happens and decide there wether to display the checkmark or not.
2020-04-13 12:48:48 +02:00
shagu
c7d777ec70
ui-widgets: implement own dropdown widgets
2020-04-08 09:58:41 +02:00
shagu
484ab887fb
ui-widgets: remove all hooks to keep thumb visible
2020-04-03 13:15:05 +02:00
shagu
228b6f09ad
ui-widgets: use better hooks to avoid ui tainting
2020-04-03 12:57:11 +02:00
Artur Morozov
ae99792b4e
buttons: fix PushedTexture
...
this fixes textures for buttons in MacroFrame, SpellBook (tab buttons) and professions
2020-03-23 23:59:48 +01:00