Commit Graph

709 Commits

Author SHA1 Message Date
Pizzahawaiii 0c337d0152 core: add option to change unit name font
Allows changing the font of the unit names, PvP ranks and guild names
(above players' heads) in the general settings. Requires game restart
to be applied.
2022-12-26 10:33:26 +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 81d5dafbd5 chat: remove obsolete alwaysshow option 2022-09-30 16:42:59 +02:00
shagu 93eaf082a1 config: remove duplicate entry 2022-09-29 15:54:33 +02: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 3f0ea09580 unitframes: update predictions on health change 2022-08-14 12:35:05 +02:00
shagu af2bb5212c unitframes: refresh portrait when frame gets shown 2022-08-06 15:20:54 +02:00
shagu 1ad87b0dae unitframes: only force-update portraits on events 2022-08-06 01:38:15 +02:00
shagu 28170cc5b7 config: add config migration for powerbar textures 2022-08-05 18:14:15 +02:00
Mr_Rosh b87a07bf3c unitframes: add option for power bar textures 2022-08-05 18:02:43 +02:00
shagu 50836a3cd0 unitframes: option to abbreviate unit names 2022-07-16 12:15:14 +02:00
shagu 1c980d3417 unlock: align mover frame levels to parent 2022-07-16 10:50:19 +02:00
shagu 3d9547c340 api: update time string comments 2022-07-02 14:29:14 +02:00
shagu 745665de43 ui-widgets: check for frame before accessing it 2022-06-18 15:33:08 +02:00
shagu 1bd358eb13 api: use correct combat events for autohide 2022-06-14 19:16:01 +02:00
shagu 1bc5d09327 api: clear events in autohide disable 2022-06-14 18:41:58 +02:00
shagu 34394d719e actionbar: option to only show during combat 2022-06-14 18:39:28 +02:00
shagu f13f132021 api: add combat based autohide to api call 2022-06-14 18:32:43 +02:00
shagu b233dc9e1a api: adjust autohide speed on high frame rates 2022-06-14 18:31:32 +02:00
shagu 15448e35d9 thirdparty: add skin and dock support for ShaguDPS 2022-05-27 19:24:11 +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 84c7dcf1c6 unitframes: remove custom fade color adjustments 2021-12-13 10:59:46 +01:00
shagu a4796e6c85 unitframes: option to fade health to custom color 2021-12-13 03:20:28 +01:00
shagu c38a55a89e unitframes: add new unitstring for raidframes 2021-12-13 03:15:13 +01:00
shagu 88af6b7e52 unitframes: buffer events and run them on update
Often events are sent more often than an actual frame is drawn.
This commit buffers those events to the next draw call, to avoid
useless updates for things that would never be drawn at all.
2021-12-13 01:33:35 +01:00
shagu 90dc763411 unitframes: add option for reverse unitstr text 2021-12-12 22:50:21 +01:00
shagu 7613d337a7 unitframes: align spacing of custom sized portrait 2021-10-24 14:41:25 +02:00
shagu ef3af4bc56 unitframes: adjust custom portrait code
* align indentation to codestyle
* remove option to enable custom size
* remove obsolete translations
2021-10-24 14:21:18 +02:00
Mr_Rosh c957fbe638 unitframes: add option for custom portrait size 2021-10-22 19:51:11 +03:00
shagu 9a9d659fa2 fonts: add option to use orignal game fonts 2021-10-11 21:01:57 +02: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 689aca82a1 mapreveal: add option to show exploration points 2021-02-24 17:41:56 +01:00
shagu 7a33a57e39 map: add option to set a static tooltip scale 2021-02-08 08:27:36 +01:00
shagu 15d7a445d9 unitframes: properly detect unset focus frame 2021-01-20 16:35:44 +01:00
shagu 69bbdcf8df unitframes: update virtual focus target visibility 2021-01-19 09:02:34 +01:00
shagu 8c2c234a1e unitframes: only scan focus on virtual unitstrings 2021-01-19 08:57:48 +01:00
shagu ffcda0b044 chat: add option to display chat history 2021-01-18 17:36:09 +01:00
shagu ab3d853f02 unitframes: add support for focus target frames 2021-01-18 16:15:45 +01:00
shagu 3043f2f085 unitframes: add option to use custom fonts 2021-01-07 17:57:11 +01:00
shagu 6433e24013 unitframes: add option to customize heal color 2021-01-07 17:32:40 +01:00
shagu 7780dfac21 nameplates: add several health text format options 2021-01-03 16:54:25 +01:00
shagu 2700f85283 nameplates: add option to set hp text position 2021-01-03 16:13:10 +01:00
shagu 1eaea3df1a nameplates: add option to define raidicon position 2021-01-03 15:18:44 +01:00
shagu 17c1933aa7 thirdparty: add sheepwatch (tbc) skin 2021-01-03 14:53:06 +01:00
shagu 98071ca86c unitframes: wait for stable unit before updating 2020-12-30 17:37:45 +01:00
shagu 3c3aaf3ee7 unitframes: ignore target update during range scan 2020-12-30 17:36:07 +01:00
shagu 54f65c0a8e ui-widgets: only set checked textures if existing 2020-12-30 16:46:15 +01:00