Skip to content

Using simple math for color input #3900

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Gasparoken opened this issue May 30, 2023 · 3 comments
Closed

Using simple math for color input #3900

Gasparoken opened this issue May 30, 2023 · 3 comments
Assignees
Labels
feature Feature request, or something should be improved low priority time-5
Milestone

Comments

@Gasparoken
Copy link
Member

Example:
Screenshot 2023-05-30 at 09 02 54

@Gasparoken Gasparoken added feature Feature request, or something should be improved low priority time-5 labels May 30, 2023
@Gasparoken Gasparoken added this to the v1.3 milestone May 30, 2023
@LuckyTigerr
Copy link

LuckyTigerr commented Jun 6, 2023

@Gasparoken, Hello, i want to try make this issue, can you please give more information about what need to do and about file location?

@Gasparoken
Copy link
Member Author

Hi @LuckyTigerr, thank you in advance!
If you push a PR to the Aseprite project, we will ask for your consent regarding our Igara Studio Contributor License Agreements.
You can start in color_sliders.h in the struct item declaration. The ui::Entry correspond to the 'entry' on the old way:

    struct Item {
      bool show = false;
      ui::Label* label = nullptr;
      ui::Box* box = nullptr;
      ui::Slider* absSlider = nullptr;
      ui::Slider* relSlider = nullptr;
      ui::Entry* entry = nullptr;
    };

Some reference can be taken in the following commit (when the input expressions were implemented): f595cee

@Akylzhan
Copy link
Contributor

Hey @LuckyTigerr, are you still working on it? If not, I would like to do it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request, or something should be improved low priority time-5
Projects
Archived in project
Development

No branches or pull requests

4 participants