Skip to content

Allow ColorPicker to be used as a python module #2

@mookfist

Description

@mookfist

I have a plugin that would benefit from using the ColorPicker as a module so that it can be easily invoked from the settings screen as well as allow me to overload methods for custom functionality.

I have this working by exposing resources/lib as a python module extension in addons.xml, and replacing all global constants with class properties that default to those global constants.

This is working great. I can easily supply my own color palette from within my non-skin addon, and I overloaded save_color_setting so that it saves values to the addon's settings.

I can submit a pull request if interested.

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