Skip to content

Add an API to render images with transparency #5232

@nibirubingus

Description

@nibirubingus

Currently, the textures module and widgets.makeButtonLabelText only allow for non-transparent assets to be rendered. If there are any transparent pixels in the sprite, they will be shown as black instead. That works good enough for most UI applications, but if we were to make a tool that draws custom graphics onto vanilla widgets, for example creature portraits or work detail icons, it would need to handle transparency in order to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions