Skip to content
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

AGS 4: Editor: Color Picker dialog with alpha selection #2656

Open
ivan-mogilko opened this issue Jan 14, 2025 · 0 comments
Open

AGS 4: Editor: Color Picker dialog with alpha selection #2656

ivan-mogilko opened this issue Jan 14, 2025 · 0 comments
Labels
ags 4 related to the ags4 development context: ui/ux what: editor related to the game editor

Comments

@ivan-mogilko
Copy link
Contributor

Since we have alpha component in color properties now, we need a new Color Picker dialog with alpha level selection.
Need to either develop one ourselves, or find an available control elsewhere.

Requirements:

  • Allows to select RGB on a color shape by clicking on it (color wheel or rectangle);
  • Allows to change Value (if HSV) or Brightness (if HSB) by dragging a slider;
  • Allows to change alpha by dragging a slider;
  • Allows to input all 4 ARGB values in text fields by hand.
  • Ideally, you should be able to copy/paste ARGB value in certain format from elsewhere (in (A,R,G,B) and (0xAARRGGBB) formats).
  • Optionally has both RGB and HSV inputs, but latter is not critical.
  • Optionally has a "Transparent Color" button for quickly selecting fully transparent color.

As a bonus task (may be split out into a separate ticket):

  • Allows to create a custom palette right in the picker dialog for quick color selection, similar to classic color picker in Windows. This palette is serialized as either project data, or workspace data (Game.agf.user file).
@ivan-mogilko ivan-mogilko added what: editor related to the game editor ags 4 related to the ags4 development context: ui/ux labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ags 4 related to the ags4 development context: ui/ux what: editor related to the game editor
Projects
None yet
Development

No branches or pull requests

1 participant