Skip to content

Resource Bar: custom colours, textures, and Maelstrom/Pain#134

Merged
DanderBot merged 2 commits into
DanderBot:mainfrom
Krathe82:pr/resource-bar-colours-textures
Jun 7, 2026
Merged

Resource Bar: custom colours, textures, and Maelstrom/Pain#134
DanderBot merged 2 commits into
DanderBot:mainfrom
Krathe82:pr/resource-bar-colours-textures

Conversation

@Krathe82

@Krathe82 Krathe82 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Three resource-bar additions covering several community requests:

  • Color Mode (Power Type / Class / Custom) with a custom-colour picker, replacing the old "Use Class Color" checkbox (migrated automatically from resourceBarClassColor).
  • A Texture dropdown so the fill can use any LibSharedMedia statusbar texture (defaults to the DF house texture).
  • Maelstrom (Shaman) and Pain (Vengeance DH) added to the per-power colour list, so those resources can be recoloured instead of always showing Blizzard's default.

Colour resolution is centralised in DF:GetResourceBarColor; both render paths call it. The legacy resourceBarClassColor boolean migrates to the new resourceBarColorMode.

Overlaps #56 (Maelstrom) — this also adds Pain plus the colour-mode and texture work.

Branches off main — independent.

Krathe82 added 2 commits June 7, 2026 01:08
Three resource-bar additions:
- Color Mode (Power Type / Class / Custom) with a custom-colour picker,
  replacing the old Use Class Color checkbox (migrated automatically).
- A Texture dropdown so the fill can use any statusbar texture.
- Maelstrom (Shaman) and Pain (Vengeance DH) added to the per-power colour
  list, so those resources can be recoloured instead of Blizzard's default.

Colour resolution is centralised in DF:GetResourceBarColor; both render paths
call it. The legacy resourceBarClassColor boolean migrates to resourceBarColorMode.
…tion

Mirror the Health Bar's layout — put the resource bar's Texture dropdown,
Orientation, Reverse Fill Direction and Smooth Bar Animation together in one
"Texture" section instead of scattering them across groups. Orientation and
Reverse Fill stay as two explicit controls (clearer than a combined
"Fill Direction" dropdown, where an option like "Bottom to Top" would also
silently change the orientation). UI-only; no settings or render changes.
@DanderBot DanderBot merged commit fc038dc into DanderBot:main Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants