
[Feature] Implement Totem Bar widget for Player frame
Nikyou opened this issue ยท 0 comments
Describe the feature
It would be good if there was a totem bar that allows to dismiss totems. This is an example from Shadowed Unit Frames with fixed segments on a bar. It can be either inside the Player's frame or as a separate bar like Power Bar.
Also, depending on the class, the totem bar can have different names and number of segments:
Shaman: "Totem bar" with 4 segments
DK until lvl 29: "Ghoul bar" with 1 segment
Druid: "Mushroom bar" with 1 segment
Monk: "Statue bar" with 1 segment
Mage: "Rune of Power bar" with 1 segment
Warlock: "Imp & Dreadstalker bar" with 2 segments
Regular
With background
Icon example
Inverted colors
Describe the implementation
These are some options from SUF:
- Show background: Always show background color depending on the totem slot. For shamans, it is Fire, Earth, Water and Air. For other classes, it can be a different color. Color examples from SUF: Shaman - #00ff64, #ff0064, #0064ff, #e6e6e6; DK, Druid, Warlock - #32e632; Monk, Mage - #5a739b; Would be great if users can change these colors in "Colors" tab
- Show Icons: Adds a totem icon in the segment.
- Dismissable Totems: Allows you to right-click a segment to dismiss a totem. Makes the totem bar always present. This option can appear only to shamans as other classes don't need to dismiss their "totems".
- Orientation: Same as with power bar - top-down, left-right, etc.
- Invert colors: background color is shown as foreground and vice versa.
- Text options for timer
- Anchor points, Frame Level, Height, Width, Same Height as Health Bar, Same Width as Health Bar
- Hide if Empty (does not work if Dismissable Totems is enabled)